Re: reading user defined properties using EWS



You just need to use need to include something to retreive your custom
property unless you have set your own GUID they should be in the Public
Namespace so some thing like this should work in a GetItem or FindItem
request

PathToExtendedFieldType path = new PathToExtendedFieldType();
path.DistinguishedPropertySetId =
DistinguishedPropertySetType.PublicStrings;
path.DistinguishedPropertySetIdSpecified = true;
path.PropertyName = "fred";
path.PropertyType = MapiPropertyTypeType.String;
BasePathToElementType[] beAdditionproperteis = new
BasePathToElementType[1]{ path };

Cheers
Glen



"Bilal" <bilal@xxxxxxxxxxxxxxxx> wrote in message
news:1B768082-EC1D-451D-9EA7-088626020264@xxxxxxxxxxxxxxxx
We have designed a custom form with user defined fields. A process is
built
to read the custom form in inbox using exchange web service, read the
values
from email and update database. Still could not figure out how to read the
user defined field values in the email. Any help on this is very much
appreciated.


.



Relevant Pages

  • Re: how can I get the Role id (Guid)?
    ... unless you have created your own custom ... Gregory A. Beamer ... I wonder how to get the Guid id for a role, lets say I have created the ... I ask because I'm asked to create a message system on the website, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Shell Extension - Context Menu and GUID
    ... > I made a simple shell extension program, which adds custom item in ... > context menu. ... *have* read the documentation for IContextMenu, ... Each shell-extension COM object gets its own GUID. ...
    (alt.comp.lang.borland-delphi)

Quantcast