Hello.
I had to migrate my simple CRM code to Outlook 2016. Code was written in OL2010.
I my code, I am depending on linking contacts (in OL2016 I had to enable this function thru registry), and retrieving information from linked contacts.
But something changed in OL2016. In 2010 version, I could set object from links in current item
Sub getFromLinks(ByRef item As Object)
Dim tempObj As Object:
Set tempObj = item.Links(1) .Item
End Sub
When the tempObj is set in OL2010, the object's type is Object/ContactItem. But in 2016 it's Object/Recipient.
That means, that before I could read all UserProperties from tempObj, but now I cannot.
Can anyone help me understand what is happening?
What I can get from tempObj in OL2016, is EntryID. Which I thought, it will solve my problems. But when I try to use it with method GetItemFromID(EntryID), the contact cannot be found. Even with provided StoreID.
I need to be able to store link and retrieve that contact from that link in OL2016.
Please help me on this. Thanks in advance.
George.
I had to migrate my simple CRM code to Outlook 2016. Code was written in OL2010.
I my code, I am depending on linking contacts (in OL2016 I had to enable this function thru registry), and retrieving information from linked contacts.
But something changed in OL2016. In 2010 version, I could set object from links in current item
Sub getFromLinks(ByRef item As Object)
Dim tempObj As Object:
Set tempObj = item.Links(1) .Item
End Sub
When the tempObj is set in OL2010, the object's type is Object/ContactItem. But in 2016 it's Object/Recipient.
That means, that before I could read all UserProperties from tempObj, but now I cannot.
Can anyone help me understand what is happening?
What I can get from tempObj in OL2016, is EntryID. Which I thought, it will solve my problems. But when I try to use it with method GetItemFromID(EntryID), the contact cannot be found. Even with provided StoreID.
I need to be able to store link and retrieve that contact from that link in OL2016.
Please help me on this. Thanks in advance.
George.