Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 release wave 1Discover the latest updates and new features to Dynamics 365 planned through September 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 Timeline
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 TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
I'm a bit lost when trying to set up an entity reference on creating an account. I hope somebody can help! I have a N:N relationship between account and contact, for example a "CEO" relationship.Now I want the CEO user to add an account, that will be related to him with this N:N relationship. So I go to the Entity Form tab "Entity reference" and select:- Logical name -> Contact- Relationship -> CEO (new_contact_account_CEO)- Reference Entity Source Type -> At here I only can select "Query string" and "Record linked to current portal user" (translated). So I'm missing "Current portal user" itself. Or did I miss an important previous step?By the way: the option "Record linked to current portal user" is also not in the MS documentation. Thanks!Elowy.
waiting for the answer
You're right, there doesn't seem to be a way to select the current contact using Entity Reference. Typically that would be done using the Associate Current Portal User on Insert area on the Form Definition tab, but that doesn't work on N:N.
You might need to create a "CEO" lookup field on the account, and then use a flow to setup the N:N relationship each time that field is updated.
Thanks Nicolas for your suggestion.
Unfortunately with a flow I don't find the added record right away in the N:N list after adding the record. That is because the N:N relation is defined in async in the flow, so after the page (and cache) are refreshed.
I've send this question to Microsoft, maybe they have a solution. The "Current user" option is described in there help pages, so it should be there...
Business Applications communities