cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sbonera
Advocate II
Advocate II

Dynamically build steps for web forms from collection of records

Any pointers, documentation, advise or acheiving the following:-

Web Form 

Step 1 Summary of an interview location, (entity form calling data displays fine)

Step 2- end of form load a record for the interview question, 1 for each record associated with the interview

 

Is this possible rather to define all the steps, i don't want to generate the steps from tabs in the entity form, but rather a step per associated records.

2 REPLIES 2
justinburch
Microsoft
Microsoft

Hi @sbonera,

 

You will likely want to leverage the new Web API for this and build in dynamic question retrieval and post. Trying to manipulate web form steps is extremely complicated, especially when dealing with the sessions - even using the back button of a browser can throw things off drastically.

 

If Web Forms are a must, possibly you can use server-side code to fill the GUID in a text field to a "next question" and use Condition steps to check if that field has a value, and if so redirect based on it.

 

I hope this helps,

Justin

Thank you for the information, just got back from annual leave,  I will take a look at the new web API.  I had already fetched the data using fetch xml and displayed it etc and that works well, so will dive into my ajax and javascript calls 😀to get the data back to the CDS.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

MPP IDEAS updated 768x460.png

Ideas

Discover ideas and concepts from users like you for how to use Power Pages and take your work to the next level.

Top Solution Authors
Users online (3,169)