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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Submitting two SharePo...
Power Apps
Unanswered

Submitting two SharePoint list forms with SharePointIntegration in one app - PowerApps

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All, 

I'm attempting to create a powerapp as a replacement to the default sharepoint list form. As a background, this app would have two separate screens (accessed by arrow buttons) where the user would fill out a given number of fields on each screen. The first screen's submitions would be inputed and create a new item in List X. The second screen's submition's would be inputed and create a new item in List Y. I'm trying to get it to work where I would go to add a new item in List X, the custom powerapp form would then come up, I would then fill out both screens with given information, and then press the save button, where then two sharepoint lists would be potentionally altered/updated with a new item. I'm not sure how to do that, as I attempted to go to the SharePointIntegration aspect of the powerapp and change the OnSave field to "SubmitForm(SharePointForm1) && SubmitForm(SharePointForm2)" rather than just "SubmitForm(SharePointForm1)". I realised that this probably didn't work due to the SharePointIntegration data field was only set to 'List X', but editing that field to "'List X' && 'List Y'" also came up with an error. I'm a bit lost on how to proceed from here, and I basically wanted to know whether or not its possbile to do what I'm attempting with powerapps. Again, sorry for the long question, but I wanted to provide as much detail as you may need to help. Thanks.

Categories:
I have the same question (0)
  • v-sttaub Profile Picture
    Microsoft Employee on at

    I don't have an answer yet to your question but I have a side question.  

     

    Do you know if there's a way to get the SharePointIntegration object into a powerapps app that doesn't contain it?

  • ChrisR Profile Picture
    141 on at

    Customize List X

    Add 2nd screen

    Add Form to 2nd Screen, add List Y as data source

    Set 2nd form mode to New, or reference the 1st form's mode

    Set Sharepoint Integration OnSave property to:

     

    SubmitForm(SharePointForm2);
    SubmitForm(SharePointForm1)

     

    If for some reason, Form1 needs to be submitted before Form2, then move RequestHide() from Form1 Onsuccess property to Form2 OnSuccess property.

     

    Hopefully this works for you,

     

    Chris - IW Mentor PowerApps Training

     

     

  • v-sttaub Profile Picture
    Microsoft Employee on at

    Thanks for the response. Is there a way to get the sharepointIntegration object into other powerapps that have already been created?

  • ChrisR Profile Picture
    141 on at

    Sorry, not that I know.

     

     

    Chris - IW Mentor PowerApps Training

  • v-sttaub Profile Picture
    Microsoft Employee on at

    ok. thanks for responding...

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard