![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
We have an app which creates new contacts in exchange server 2003 using WebDav for Exchange for different users. While creating these contacts it creates some custom properties.
In outlook 2007 addin we have added a form region to the contact details form where these properties are bound to winform controls. We are using ActiveInspector.ContactItem.ItemProperties["CustomPropertyName "] to read the values set to the custom properties. We are not using any outlook custom form. The problem is that we are not able to read the values of these custom properties from ContactItem, but using outlook spy we are able to see the value of the custom property. When we created User defined fields we were able to read the values using the same method. The WebDav request to create the property and user defined field are below: For Property: ?xml version="1.0" encoding="utf-8"? D ![]() ![]() D:set D ![]() ns0 ![]() ![]() ns1:givenNameJohn/ns1:givenName ns:CustomProperty1 xmlns:ns=" http://schemas.microsoft.com/mapi/string/{00020329-0000-0000 -C000-000000000046}/" xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/" b:dt="boolean"0/ns:CustomProperty1 /D ![]() /D:set /D ![]() For user defined field: ?xml version="1.0" encoding="utf-8"? D ![]() ![]() D:set D ![]() ns:UserDefinedField1 xmlns:ns=" http://schemas.microsoft.com/mapi/string/{00020329-0000-0000 -C000-000000000046}/" xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/" b:dt="boolean"1/ns:UserDefinedField1 /D ![]() /D:set /D ![]() We want to use custom property. So is there any thing we are missing while creating the custom property or while reading in outlook.. Submitted using http://www.outlookforums.com |
Ads |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Accessing contact's custom properties in a Outlook 2007 form region | Kiran[_2_] | Add-ins for Outlook | 1 | June 4th 09 03:12 PM |
Invoke custom Form Region from a click event | Ajay AKG | Outlook - Using Forms | 4 | February 25th 09 04:34 PM |
Accessing another custom form and the associated custom property | melon | Outlook - Using Forms | 1 | December 1st 08 02:41 PM |
Reading a Custom Appointment Item's Conflict Property in Item_Write Function | [email protected] | Outlook - Using Forms | 2 | August 9th 06 06:53 PM |
OL 2007 - Set custom form region as default | Fidget Brain | Outlook - Using Forms | 8 | July 6th 06 03:36 PM |