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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Multistep form and get...
Power Pages
Unanswered

Multistep form and get record id from previous step

(2) ShareShare
ReportReport
Posted on by 323

Hi,

 

We have an anonymous access multi step form that has three steps - 

 

The first step is allows the user to create a record in the Accounts table - 

prathyoo_0-1696337019877.png

On clicking Next, they enter the Focal Point details which then creates the Contact table record -

prathyoo_1-1696337075440.png

 

In the multi step form configuration, we have set the Associated Table Reference on the second step and hence when the contact record is created, the Parent Customer Id field is populated. This works as expected.

prathyoo_3-1696337206874.png

prathyoo_7-1696337891161.png

 

Now, the third step is an event registration step - 

prathyoo_4-1696337338922.png

This table in the last step has Lookup columns to both the Account table and to the Contact table ("Registrant" field) as shown below - 

prathyoo_5-1696337519630.png

 

We are able to populate the Account  ID column of this table using the same Associated Table Reference concept - 

prathyoo_6-1696337592633.png

 

 

But, we also want to populate the Registrant with the contact Id from the second step. But, since the setup only seems to allow a single "Associated Table Reference" config, we are unable to populate the Registrant field.

 

First question is why the Associated Table Reference is constrained to only one entry. 

 

Second question is, how can we get access to the record id of the contact record created in the second step in the third step. If we can get the Contact Id value, at least we can use custom js to update the value in the Registrant field.

prathyoo_8-1696338011125.png

 

Thanks

 

 

Categories:
I have the same question (0)
  • Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at

    If the Contact has a Lookup to the Account, then I would make your 3rd Step populate from the 2nd Step, then create a Realtime Dataverse Workflow to update the Account field on the registration (e.g. on Create of Registration use the Contact on Registration to Populate the Account on Registration from the Account on the Contact).

     

    You could also populate via JavaScript using the Portals Web API (but this may not be advisable as you are doing Anonymous and it would mean you need to set Global privileges - which can open security holes)

  • psreek Profile Picture
    323 on at

    I found a solution for this. We basically needed two Associated Table References on the third step. But, since this is not possible, we created a fourth step based on the same table as the third step (but now in Edit mode). We did this to just get another additional "Associated Table Reference" option. In this step, we then populated the "Registrant" -

    prathyoo_0-1697532037491.png

     

    prathyoo_1-1697532072450.png

     

    We got the Contact Id from the second step of the multi-step form to populate the Associated Table Reference.

  • shakirullah12 Profile Picture
    10 on at

    Hi @prathyoo ,

     

    If we added the 4th step its will be show 4th step in the form the Event will be twice, Do we have any specific configuration to hide one of the  step?

     

    Thanks

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 53

#2
DP_Prabh Profile Picture

DP_Prabh 40

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 28 Most Valuable Professional

Last 30 days Overall leaderboard