Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2021 Release Wave 1Discover the latest updates and new features to Dynamics 365 planned April 2021 through September 2021.
Release overview guides and videos Release Plan | Preview 2021 Release Wave 1 Timeline
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I have entity Contact ( name = contact, type = Entity) in variable "entityObj".
I have array of attributes from Contact's metadata (based on type: AttributeMetadata) named "AttrArray"
I want to set values from entity Contact's attributes ( = fields) to AttrArray.
Something like that:
AttrArray.ForEach( atribute =>
var entityField=entityObj.Where ( g=>g.name = atribute.name );
atribute .value = entityField.value;
It works, BUT !!!
Some fields (in entity Attributes and metadata attributes) have MISMATCHED names! It's a problem.
Is there is a way to match that fields?
Mayby I have use othe objects ?
Entity Contact: attribute "lastname"
MetadataAttribue: attribute "address1_name" (example)
Is there any particular reason as to why you are using AttributeMetadata in your solution.
Business Applications communities