Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

HowTo solve Untitled contacts when creating contacts with EWS

$
0
0

I am writing some VB code to create contacts in public folders.  I am mostly finished.  However my created contacts come up as "Untitled" in the title bar.  I have set the "DisplayName" and "FileAs" properties as shown below.  However it doesn't change the title shown in the title bar.  I expect this has something to do with extended properties.  However I can't find a lot of documentation abou it.  Any help would be greatly appreciated.  Many thanks.

contact.GivenName = strGivenName
contact.Surname = strSurname
contact.FileAsMapping = FileAsMapping.SurnameCommaGivenName
contact.CompanyName = strCompanyName
contact.DisplayName = strGivenName & " " & strSurname
contact.FileAs = strGivenName & " " & strSurname


Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>