web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Populating more than one lookup on a record in web form step on entity save (Dynamics Portal)

(0) ShareShare
ReportReport
Posted on by 146

Hi,

I am using a web form with multiple steps for three custom entities. Entity A has a one to many relationship with Entity AB, Entity B has a one to many relationship with entity AB. I have created entity AB in CRM as a intersection entity instead of a many to many between A and B.

Step 1: I am creating entity A
Step 2: Creating another record (intersection entity AB) with entity A in the lookup
Step 3: Creating entity B
Step 4: Populating entity B in a lookup on entity AB created in step 2.

This works but if Portals allowed for two lookups to be populate on save in the webform (they can't be reached in entity metadata as they are not associated with the portal user) I should be able to do this:

Step 1: Create entity A
Step 2: Create entity B
Step 3: Create entity AB and populate both entity A from step 1 and entity B from step 2 on this entity.

Any suggestions?
Thanks

*This post is locked for comments

I have the same question (0)
  • RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi Davina,

    Could you please explain more on this "This works but if Portals allowed for two lookups to be populate on save in the webform (they can't be reached in entity metadata as they are not associated with the portal user) I should be able to do this:"

  • Davina Sungum Profile Picture
    146 on at

    Hi Ravi, 

    I meant this section of the web step form: 

    entityref.PNG

    You can only set one lookup here. 

    If I use Metadata I can only associate a field from the logged in user and not a value from the previous step. This section is the only place you can populate from a previous step but you can only set one lookup.

    Thanks

  • Dean Terry - FleXRM Profile Picture
    30 on at

    Hi Davina,

    Did you ever get an answer for this?

    Dean.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans