Pff, entity references can be difficult in the Dynamics portal...
I have a N:N reference between contact and account ("account is managed by contact").
When a portal user is adding a new account record in the portal, I would like to have the newly created account linked to the portal user (the account is managed by the portal user from now).
Somehow I fail... (The portal user has all the necessary create and "add to" privileges.)
What I tried:
- Set Entity Reference On Save = Yes
- Entity Logical Name = Contact
- Relationship Name = "Owner of"
- Target Lookup Attribute Logical Name = Empty
- Populate Lookup Field = No
- Reference Entity Source Type = Current portal user
And now I have to select the entity related to the current portal user... Instead I want to relate *with* the current user.
Is there an other way? Or is it best practice to build a workflow that connects the new account to the portal user?
Thanks!
Elowy
*This post is locked for comments