1

I have a customised form in my powerapps that reads from my sharepoint list. Apparently it requires a SharepointIntegration connector to work. (as attached)

Please help enter image description here

Ive tried searching all over google and stack overflow but no answers

3 Answers3

0

SharePointIntegration control/object is only available when you customize a Microsoft Lists or SharePoint form by using Power Apps.

Documentation:

  1. Customize a Microsoft Lists or SharePoint form by using Power Apps
  2. Understand SharePoint forms integration

You cannot add this object while creating a standalone canvas Power apps.

  1. From canvas app you can use Form control with SharePoint data source and use SubmitForm() function to submit data to SharePoint list. OR
  2. Use custom form created using any controls in canvas app and save data in SharePoint list using Patch function.

In above cases you don't need SharePointIntegration object in standalone canvas app to work with SharePoint data source.

Ganesh Sanap
  • 1,386
  • 1
  • 8
  • 18
0

You can try a couple of different things:

Add the connection to SharePoint, and add the datasource of the list to the form. Add an Edit Form to the screen.

If it doesn't add it by default: Instead of trying to use the SharePointIntegration in the Items property, just do this: Defaults('SharePoint list name')

In your Submit button, ensure you have your ResetForm(form1) and NewForm(form1) and RequestHide() in your OnSelect after you do your SubmitForm(form1) or Patch() method, because you'll have to handle these all in that area, instead of being able to rely on the SharePoint Integration.

vapcguy
  • 7,097
  • 1
  • 56
  • 52