I'm trying to get Contact ID from Email box using ResolveName method but it doesn't returns me the Contact ID Related with that contact.
MS reference https://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.emailaddress_properties(v=exchg.80).aspx
The Id only gets returned if the Contact is located in the users Contacts folder. For Global Address List objects that are returned the Id will always be null because you can't do any further operations on these objects (eg you can do a GetItem on GAL Contacts). The only other valid operation you could do on a GAL contact would be to Load to UserPhoto on 2013 and for this you would just pass the Email Addresss of the contact.
Cheers
Glen
Related
There is an Attribute called ParentId in CustomerAddress Entity. Will this contain the AccountId or ContactId?
If yes, if I create another Account or Contact with the exact same Address Details, a new record will be created anyway as the ParentId will be different?
Or if the AddressId is going to be stored in the Account Entity, can the same address be used by different accounts or even contacts?
Can Account1 and Account2 or Account1 and Contact2 have the same address?
The relationship between Address entity and Account or Contact entities is one-to-many. It means that one Account can have multiple Addresses, but one Address can be assigned to only one Account.
Answering to your question: no, multiple Account and Contact records can not share the same Address record.
Two different contacts had the same email address, after an automatic record creation rule was applied, CRM associated email activities to the wrong contact. I've updated the email address value in one of the contacts (the wrong contact) but it has activities that do not belong to it and I need to move them to the right contact.
How can move activities between two contacts? I cannot merge the contacts as they are legitimate contacts.
I did try to update the partyid field of the activityparty entity but I've got the error message: The update method does not support entities of type 'activityparty'.
What easy way can I use to accomplish this?
How can I build a Microsoft flow to pull a name from an email and place it into a todo list/excel file to check off if I viewed the person or not. Example: different email received from mother everyday to add someone new to the invitation list. And place that person in a todo list or excel file. Different person in each email. Is this possible?
Sure - create new flow with When a new email arrives trigger linked to your Outlook account. You can define specific e-mail address or e-mail subject to look for in your Inbox.
Then we assume that received e-mail contains only new person data which is triggerBody()?['Body'].
Crate some Excel sheet for eg. on your OneDrive account and put single column table inside.
Finally Add row into a table action is needed.
I want to see all fields of the contacts in outlook. Here the contacts are synchronized from D365. All fields that are coming from D365 will also be shown in outlook contacts (fields such as PrimaryId, CreatedBy, Owner, CreatedDate, modified By, modifiedDate etc.. )
When I open the contacts, not all fields are showing. How can I see all fields of the records?
Suggestions are appreciated.
You can open Advanced Find for Contacts and in there you can select additional columns.
Thanks Naveen. Except for ContactId, all the fields that you list should be available in a Contact Advanced Find view.
To get the ContactId for an individual record, you can get it from the URL of the record, or use the Chrome Level Up add-in, or bookmarklets.
To get a list of Contact ID's you can export a view to Excel with reimport to get the ID's in the hidden column A, or create a FetchXML query and run it in FetchXML Tester, among other ways.
In Outlook client for CRM, follow these steps to view the fields.
The EntryID is the unique identifier for each mail object in the user’s mailbox. This value is also used in the idMappingTable to relate the CRMID to the appropriate Outlook EntryID.
crmEntryID (*) corresponds to the Outlook EntryID of the object
Crmid corresponds to the created record’s unique GUID in CRM
Read more.
I have been creating a model where one of my assets have a reference to a specific participant.
When I retrieve my asset using the composer-client API I would like to retrieve the details of the participant being referenced.
In the CTO language document I saw this sentence:
"Relationships must be resolved to retrieve an instance of the object being referenced. The act of resolution may result in null, if the object no longer exists or the information in the relationship is invalid." but it does not describe how to do it.
Can someone please let me know what is the best way to resolve a relationship so that I can retrieve the instance of the object (in this case a participant) that I am pointing to?
You can resolve relationships a couple of ways
Lets say we have an asset Widget that is defined as:
namespace SO
participant Person identified by email {
o String email
}
asset Widget identified by assetId {
o String email
--> Person owner
}
Once you have a Widget asset, you can call Widget.owner.getFullyQualifiedType() which returns the name of the participant registry the owner is in. Then call Widget.owner.getIdentifier() to get the id of the owner in the PersonRegistry, then call PersonRegistry.get(identifier) to get the owner participant
When getting the Widget from the WidgetRegistry, you can call WidgetRegistry.resolve(identifier) to resolve all relationships