Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
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......

  • OOlashyn Profile Picture
    3,496 Most Valuable Professional on at
    Re: Portal Entity Record Creation Timing

    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.

  • SBT Profile Picture
    6 on at
    Re: Portal Entity Record Creation Timing

    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.

  • Verified answer
    OOlashyn Profile Picture
    3,496 Most Valuable Professional on at
    Re: Portal Entity Record Creation Timing

    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.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35