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 Apps / Save as Draft button w...
Power Apps
Unanswered

Save as Draft button with multiple forms

(1) ShareShare
ReportReport
Posted on by 40

Hello,

 

I am trying to create a "Save as Draft" button for my app. I'm stuck with how to do this when my app consists of multiple forms. I will attach my current formula that seems to only work when in use for one form.

 

Halleduncan_0-1720606934471.png

 

 

Any help would be greatly appreciated, thanks.

Categories:
I have the same question (0)
  • Muzammil_069506 Profile Picture
    292 Moderator on at

     

    Hi @Halleduncan , could you please provide more details? If multiple forms are connected to different data sources, then while submitting form1, on its successful submission, submit form2. On the success of form2, patch form3 iteratively, one after the other, in order to have a ‘Save as Draft’ option. I’m assuming that if these are different tables, you have established a relationship between them. In the main table/list, have a column for ‘Internal Status’. While patching, update the status as Saved as Draft. Based on this, you should be able to save as a draft and submit.

    Please let me know if you need further assistance.  If the information provided is helpful to you, please give kudos or accept it as a solution.

  • Halleduncan Profile Picture
    40 on at

    Hello,

     

    My form all come from the same data source of a SharePoint list, the questions have just been split across different screens and forms. I have tried using the formula below using a patch function, but it doesn't seem to be working. I don't have an option for "Draft" in my status column in my SharePoint list so assume I should add one?

    Halleduncan_0-1720608049689.png

    Thanks.

  • Halleduncan Profile Picture
    40 on at

    Update: The following error comes with the above formula

    Halleduncan_1-1720608111855.png

     

  • Muzammil_069506 Profile Picture
    292 Moderator on at

    Hi @Halleduncan  yes add a choice column in your share point list with one of the option as save as draft  and rest status as per your need and then patch that column value as save as draft whenever save as draft button is clicked  

  • Halleduncan Profile Picture
    40 on at

    Hello,

     

    I have created a "Draft" button in my sharepoint list but I am still getting the same error as above. Is there something else that needs included with my patch function as well as 

    {Status:"Draft"})
     
    Thanks
  • Muzammil_069506 Profile Picture
    292 Moderator on at

    Hello @Halleduncan  it should be 

    Patch(Datsource,condition,{Status" {Value: "Draft"}}) 
     If the information provided is helpful to you, please give kudos or accept it as a solution.
  • Halleduncan Profile Picture
    40 on at

    Hello,

     

    I am still getting an error:

    Halleduncan_0-1720610164601.png

    Thanks.

  • Muzammil_069506 Profile Picture
    292 Moderator on at

    Hi @Halleduncan can you hover and tell what exactly the error you're getting and try refreshing DataSource cause

  • Halleduncan Profile Picture
    40 on at

    Hello,

     

    In Value I am getting this error:

    Halleduncan_0-1720611044051.png

    And on the second part I am getting this error:

    Halleduncan_1-1720611107231.png

    So I think its the same issue with both parts.

     

    Thanks.

     

  • Muzammil_069506 Profile Picture
    292 Moderator on at

    Hi @Halleduncan  please try restricting your patch in different approach may however that is how you patch a choice column in sharepoint in power apps  choice column name:{Value:""})  

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 840 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 332 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 275

Last 30 days Overall leaderboard