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 / Portal Entity Record C...
Power Pages
Answered

Portal Entity Record Creation Timing

(0) ShareShare
ReportReport
Posted on by 6

Question 1: I have a WebForms in Portal, first screen creates a record within CDS, there is a flow that Auto-creates 2 related records in another entity, defaulting some initial data from the first entity. The second screen is an edit form for that added related record that was created. THe problem is that the page comes back editing the second record, BEFORE the automate has a chance to create it. So it displays basically a blank record first, but if I hit previous then forward again, the data is there. I know its a timing issue between the two, whats the best way to get around it?

 

Question 2: IF I could do it on submit, and not have to use a Automate task to create the 2 records, assigning lookups,  I would. I'm more geared towards coding apps, not point and click setups...   ( I was always very comfortable writing apps with "CreateWindowEx(...)" anyone who understands that would know what I'm talking about). I seen pieces on Liquid that might work but cant find good resources , tutorials on how to hand write the forms pages calling the WebApi directly. 

 

Thanks Anyone......

Categories:
  • Verified answer
    OOlashyn Profile Picture
    3,498 Most Valuable Professional on at

    Hi @SBT,

     

    If you want to have almost immediate action I would recommend you to use Classic CDS Synchronous Workflows as they execute almost real-time (check this doc for an overview of classic CDS workflows and this doc for differences between Power Automate and classic workflow).

     

    Regarding your second question - there is no possibility, for now, to access WebApi from Portal. It will be available as part of public preview in April release wave (check here), but no GA date for now.

     

    Hope this will help.

  • SBT Profile Picture
    6 on at

    Thanks for the link to the RealTime run, this seems to work like Id like to.

     

    Followup on question 2, are there any good reading materials tutorials on the form templates, and how to construct a form pages by hand, displaying fields, whether from a single entity or related entities? Utilizing Javascript for functionality? Just looking to broaden scope of knowledge.

  • OOlashyn Profile Picture
    3,498 Most Valuable Professional on at

    Hi @SBT,

     

    If you would like to create a custom form as purely presentational one it is easy and straight forward - you can access all necessary data using liquid entity tag. However, if you would like to build create/edit form then you mostly stuck with standard form and would need to customize its appearance. 

     

    Regarding portal tutorials, I would advise you to check out a blog by Nicholas Hayduk, a blog by Colin Vermander and a blog by Nick Doelman. They all have a lot of interesting and practical posts about Portal that can be useful.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 43

#2
sannavajjala87 Profile Picture

sannavajjala87 30 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 20 Super User 2026 Season 2

Last 30 days Overall leaderboard