java - Accessing custom fields in Outlook form and Exhange web services -
we have application has 2 parts, , want both able access same fields of outlook items. field, mean type of key-value type of data can stored on items, because apparently seems there multiple kind of them. 2 parts of application are:
- a java application using official ews library provided ms
- an outlook form using vbscript
we able access outlook items java app, , store , retrieve called extended properties. ones stored via same api. far know, code similar in c# too.
extendedpropertycollection epc = appointment.getextendedproperties(); (extendedproperty ep : epc) { // these not print anything, epc.getcount() returns 0 system.out.println(" extendedpropc: " + ep.getclass()); system.out.println(" extendedpropv: " + ep.getvalue()); } in outlook form, able store values of textboxes fields mapping textboxes fields way described here. after saving , reopening item, custom textboxes populated values fields. when trying access these values via ews, not there, , vice versa.
so there multiple 'slots' these extended properties multiple apis/languages?
or, broaden question, methods/apis use key-value type data outlook items, should somehow accessible java?
you can access mapi property using appointmentitem.propertyaccessor.getproperty.
you can see properties , dasl names (that need use when calling getproperty) in outlookspy: select appointment, click imessage button, select property in question, @ dasl edit box.
Comments
Post a Comment