Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Talent 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