cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
connorjh
Frequent Visitor

Help using patch to send data to Sharepoint between multiple screens and no Form

Hi,

 

I created an app that has multiple screens and and due to some limitations I could not use a Form so I added individual inputs. I have seen a lot of posts to send data to SharePoint using patch from one screen, but I have no idea how I would do it between multiple screens. So the user would fill out the first page inputs then click next and there would be more values to fill out before hitting submit. The data would then go to SharePoint as one line item. My thought process would be to patch the first screen and at the same time pull the ID and pass it to the next screen to allow a patch to the same line item, but I am new to PowerApps so don't really know how or if this would be best practice.

 

An example I found for patching without forms:

Patch(
      'Your SP List',
      Defaults('Your SP List'),
      {
        Title: TextInput1.Text,
        Column2: TextInput2.Text,
        Column3: Dropdown1.Selected.Value,
        ...
        ...
      }
);
Reset(TextInput1);
Reset(TextInput2);
Reset(Dropdown1);
....

 

1 ACCEPTED SOLUTION

Accepted Solutions
KennyJ
Resolver II
Resolver II

Hi,

Working on the assumption you really do need to patch, then I would create a collection, use the SharePoint list as the template, and then  Patch the fields on the individual screens to the collection and then when you are ready you could patch the results from your collection to SharePoint in one go.  

View solution in original post

1 REPLY 1
KennyJ
Resolver II
Resolver II

Hi,

Working on the assumption you really do need to patch, then I would create a collection, use the SharePoint list as the template, and then  Patch the fields on the individual screens to the collection and then when you are ready you could patch the results from your collection to SharePoint in one go.  

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (2,922)