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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Web Form - Create New ...
Power Pages
Unanswered

Web Form - Create New Record on Submit Only

(0) ShareShare
ReportReport
Posted on by 10

Hello all,

 

is there a way to trigger the record creation in CDS only when the submit button on a web form is clicked?

 

I have a 5-step web form on my portal, the entity form is set to Insert Mode. When I complete the first step a record is created in CDS. Is there a way to stop this? I would liek to avoid ending up with records that are half-way compelted because the user abandoned the web form.

 

Thank you!

Categories:
I have the same question (0)
  • OOlashyn Profile Picture
    3,496 Most Valuable Professional on at

    Hi @j_andersen ,

    Unfortunately, if you are using web form with multiple steps this behaviour is unavoidable. The system will create a record after the first step and will use it as an input for the next steps.

  • StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    There is no way to avoid this. May be we can do, set the flag when the last step is completed and run the scheduler to delete the records which last step is not completed once a day or less frequency based on business decision.

  • Verified answer
    Fubar Profile Picture
    8,340 Super User 2025 Season 2 on at

    As already stated by others the first step always creates the the record.   To clean up, you can do something like the following:

    • On the first (Insert) step use metadata to set Status Reason to 'Draft'
    • On the last step use metadata to to set the Status Reason to Submitted etc
    • Create a bulk delete job to delete the records where created on is older than x days and the Status Reason = Draft

     

  • OmarZaarour Profile Picture
    35 on at

    It seems like what you need to do should be done with Entity Forms with Auto Generate Steps From Tabs option enabled. It will render a form tabs as steps but in the same time it will create the record at the end only.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard