Outlook 2013 VSTO: Determine which calendar an AppointmentItem is on? -
in outlook 2013 in calendar view, when appointmentitem selected, need able determine if item on current user's calendar, or if have selected item else's shared calendar. if john doe current user, need check if selected appointment on john's calendar, or on else's. (i need disable button on ribbon if have selected item on else's calendar) how check this?
the key folder object explorer.currentfolder via application.activeexplorer. shared folders have folder.entryid value duplicated in folder.folderpath, while non-shared folders have actual folder path value.
you can use namespace.getshareddefault if want proper reference shared folder.
Comments
Post a Comment