A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Accessing fields created from WebDAV through Outlook Object ModelUserProperties



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old January 24th 08, 03:33 PM posted to microsoft.public.outlook.program_addins
Jeff Van Boxtel
external usenet poster
 
Posts: 1
Default Accessing fields created from WebDAV through Outlook Object ModelUserProperties

Accessing fields created from WebDAV through Outlook Object Model
UserPropertiesHello,
I have an application that uses WebDAV to create and update fields for
contact items. One of the fields it creates is a custom field. i.e. it
is not defined as part of any namespace. Something like this:

g:set
grop

... real properties here ...

myproperty{$this-SyncID}/myproperty

/grop
/g:set

The field gets correctly saved and is readable by WebDAV in subsequent
queries and it is even visible from the "User-defined fields for this
folder" page in the contact properties on Outlook 2003. However, when
I try to use ContactItem.UserProperties to access this value it does
not exist and UserProperties.count is 0. If I manually set this field
with the same name from Outlook and save the contact, then my add-in
can read it from UserPropeties but it doesn't work if I set it from
WebDAV. Furthermore, when I use PROPFIND with allprop to compare the
fields from WebDAV on the working and not working contact, they look
identical in xml structure... It is only Outlook that seems to think
they are different.

Is there any way to access this field from my Outlook Addin?
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Object not found when accessing shared calendar in OUTLOOK 2007 Laura Rooke Outlook - General Queries 3 August 23rd 07 10:06 PM
Accessing named property using outlook object model AtulSureka Outlook - Using Forms 4 December 1st 06 05:06 PM
Slow performance while accessing Outlook item fields using VSTO Maxim Add-ins for Outlook 3 November 16th 06 03:08 PM
Accessing custom fields in Outlook with VBA netnews.comcast.net Outlook and VBA 2 October 20th 06 11:13 AM
Accessing custom fields in Outlook with VBA netnews.comcast.net Outlook and VBA 0 October 19th 06 06:50 PM


All times are GMT +1. The time now is 09:25 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.