How do i read field value from MS Word attached to Lotus Notes Document in XPages -
i have notes document attached ms word file. ms word file has fields defined bookmark in it. there way read fields values attached ms word file? ms word file created via poi bookmark option.
i know it's possibility...
regards c.a.
the short answer: don't in javascript.
the long answer (and save tons of time):
create java class has method taking notes document , attachment name parameter method, returning map<string,string> field names , values.
build inner function using poi. test whole thing command line (obviously need helper class init notes session , document). find plenty samples poi can use there.
when of working, can write in ssjs:
var extractor = new com.yourcorp.extractor(); var result = extractor.getfields(doc, attname); that ssjs part use. let know how going.
Comments
Post a Comment