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 / Forms with steps : It ...
Power Pages
Unanswered

Forms with steps : It create a record in the model-driven app when i click next after the first step

(0) ShareShare
ReportReport
Posted on by 242

Hi,

I don't know what's going on.

 I have a multiple steps form and a model driven apps that i use to store the data from the form.

The form has 4 steps. When i click next, to go to the 2nd step,  a record is created in the model driven apps while the input is not finished.

How to avoid this behaviour ?

 

I made a video to show you what's going on

 

https://1drv.ms/v/s!AoEBGFd4Hq6IyOg2rz0B71_fpcG5Hw?e=k17NrB

Categories:
I have the same question (0)
  • Fubar Profile Picture
    8,338 Super User 2025 Season 2 on at

    This is how the Advanced/Multi-Step Form works, any Insert step will create a record in Dataverse. .  If you are using the same form you can try setting generate steps from tabs  option - believe this will save on the last step.

     

    Fubar_0-1671487713953.png

     

     

    The general workaround, is to set a Status Reason during the create (usually via Metadata on a Basic form etc) e.g. set it to Draft, and on the Form being used for the last Step set it to another value e.g. Submitted.

     

  • ALP2 Profile Picture
    242 on at

    Argghh it's not working.

    I tried also with load form in the field type..no change.

    Do you have an article to share for the workaround ?

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

    Generate Steps definitely only creates the record on the Submit button (not the Next/Previous).  Make sure that you cleared the portal cache (synch or _services/about with Adminstrators Web Role) - note, Generate Steps is the only one that gives a Next without a save to dataverse.

     

    No article to share, steps would be

    • Edit Status Reason column on your table, add in whatever extra ones you want and can rename the existing one  (take not of the Values of the items)
    • Publish the Table change
    • On the Advanced Form Step add a Metadata record (if not displayed as a Tab on the Step, look under the Related tab)
      • Type = Attribute
      • Attribute Logical Name = Status Reason (statuscode)
      • In the Set Value On Save section
        • Tick the checkbox
        • Type = Value
        • Value = the Value of the desired status reason (without thousands separators)
        • note: leave Form Attribute empty in this section (this is used for when you want to set the Attribute to a value currently stored on the Portal  Users Contact record.
      • Save and close the Metadata
      • (create Metadata as above on the first and last Steps, or have the last step redirect to another Page and on the form of that page add Metadata to it)

     

  • ALP2 Profile Picture
    242 on at

    Wow. 

    For a strange reason it was not working with the reason column...the status was stuck on draft value.

    So i tried with a new column statuscode2 with the same settings you explaines and finally it's working. i'm very happy and i learnt an another way to use metadata. 

     

    I would love to give you 2 kudos but it's not possible. thank you so much

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