Personalized Community is here!
Quickly customize your community to find the content you seek.
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 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
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...
Just had a third call with Microsoft. They really try to help with this problem. However, the "Current user" option isn't available (anymore) in the portal. They will change the help documentation.
A suggested workaround is to add a contact lookup field (or use portal contact owner) and add the current user in that field (that is possible in Additional Settings tab of the entity form). And from there create an entity permission for this relationship so the newly created record is shown right away to the user. That works fine!
However, be aware that the specific user will remain rights to show the record as long as his name is in the contact lookup field.
Business Applications communities