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 / SP List Form with Mult...
Power Apps
Unanswered

SP List Form with Multiple Screens, Data not Saving Correctly to The List

(0) ShareShare
ReportReport
Posted on by 46

Hello!

 

I have a Power Apps customized SP list form with 3 screens. I've got a main screen with a choice data card in a form on it. At the bottom, there is a button that navigates to one of two other screens based on the selected value in the choice data. On that next screen, there is a single line of text data card, a back button that works fine, and a submit button with the following in the On Select Property:

 

SubmitForm(SharePointForm1);
SubmitForm(SharePointForm2);
Notify("Form Submitted", Success);
ResetForm(SharePointForm1);
ResetForm(SharePointForm2);
Navigate(FormScreen1,ScreenTransition.Fade)

 

When I click the button though, it will save the title appropriately, however the data from the second form (SharePointForm2 in this case), will only write to the first line in the list and will overwrite that data.

 

Thomasjruss_0-1654207584098.png

 

 

Of course, I want the data to all be written to the same list item.

Any help?

 

Best,

Thomas

Categories:
I have the same question (0)
  • TheRobRush Profile Picture
    11,128 Moderator on at

    You will need to check that form 2 has datasource set to the datasource, and that its ITEM property is set to the specific item you want to edit

  • Verified answer
    WarrenBelz Profile Picture
    153,026 Most Valuable Professional on at

    Hi @Thomasjruss ,

    You need to have separate fields on the two forms as changes you have made on the first form will not be reflected on the second form, which will still have the original data and will therefore overwrite what you have changed. Simply remove from the second form any fields you are going to change on the first one OR remove the Update on the data cards on these fields on the second form.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • Thomasjruss Profile Picture
    46 on at

    @TheRobRush @WarrenBelz 

    This is the data source for the main (1st) page:

    Thomasjruss_0-1654216399180.png

     

    One of the branching screens (its the same for both) looks this way:

    Thomasjruss_1-1654216492546.png

     

    When I remove the update property functions, nothing gets written at all.

    As you can see, none of the data cards overlap between screens.

     

  • Thomasjruss Profile Picture
    46 on at

    @TheRobRush @WarrenBelz 

    Whoops, forgot this detail, the item property looks like this:

    Thomasjruss_2-1654217009148.png

    Would the issue have something to do with that First function?

     

  • WarrenBelz Profile Picture
    153,026 Most Valuable Professional on at

    Hi @Thomasjruss ,

    I meant remove the Update only on cards that were duplicated on the second form. The Item would not affect this if you can see the correct record as that is what is being submitted.

    What are the fields on both forms - you seem to have Question 1 on both.

  • Thomasjruss Profile Picture
    46 on at

    @WarrenBelz 

     

    On SharePointForm1 there are:

    Title

    FHIP Work Product

    Attachments

     

    On SharePointForm2 there is:

    Test Question 1

     

    On EditForm3 there is:

    Test Question 2

     

    When I remove the Update formula, nothing gets written at all. When I have DataCardValue3.Text for instance, it saves to the 1st line.

  • Thomasjruss Profile Picture
    46 on at

    What ended up needing to happen was, the form on the first screen needed to have the data fields on it of the other forms on the other two screens, and then the update property on the data cards on the main form set to the text of the duplicate data card on the other two forms. Then I hid the fields on the first form. The fields to have human input on the secondary forms should have their update properties cleared, as Warren said. What I've found, is that the only form that will actually save the list item correctly is the one on the first screen created with the app.

     

    On the OnNew property for the SharePointIntegration, it is important to use a NewForm function for all of the screens with data fields, else the entire SharePoint List will need to be refreshed in between form submissions.

     

    Thanks!

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 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard