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 / Adding Dataverse conne...
Power Apps
Answered

Adding Dataverse connection has broken the App already working on SharePoint

(0) ShareShare
ReportReport
Posted on by

Hi Community, @Amik ,

 

I had built an app to collect form entries and post them to SharePoint. It all worked until the need arose to leverage the functionality by collecting data imported to the Dataverse.

 

The data is collected on 2 screens: (1) labelled SharePoint_Screen, (2) labelled Dataverse_Screen. 

 

 

(1) SharePoint_Screen

mc00515_2-1681743123141.png

 

(2) Dataverse_Screen

mc00515_1-1681743017397.png

 

The Dataverse Table has 3076 rows of data, so there is potential for delegation issues. With that said, with the current setup, when I make selections and click "Submit Review" (Screen 2), the app says "success" on a green banner. What's happening on the SharePoint list however, tells a different story...

mc00515_0-1681744844191.png

mc00515_2-1681745264793.png

 

Is there anything I should be doing next to make this work?

 

Sincerely.

 

 

I have the same question (0)
  • v-wenjuan-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Thanks for your detailed description.

    There are newly created items showing up in SPO but no values. Do you mean the weird symptom happens to SharePoint after you deploy the screen 2?

     

    We would better check functions you used to create items to SPO. Please share screenshots of how you set your forms and functions for further check if possible.

     

    Best regards,

    Community Support Team _ Wenjuan Zou

     

     

  • Community Power Platform Member Profile Picture
    on at

    Hi @v-wenjuan-msft ,

     

    Thankyou for replying. Yes, you have correctly understood the essence of the problem. Here is the data I think you have requested. 

    User starts the App on Screen 1 by clicking the button. The code behind the button shown first:

     

    mc00515_0-1681798369514.png

     

    The code behind the first control( and typically the others on the first screen) is below in the next screenshot

     

    mc00515_2-1681799118572.png

    The user navigates to the second screen...

    The items formula on the second screen (and typically the other controls that pull up the selections from the Dataverse table):

     

    mc00515_3-1681799401306.png

     

    After the user makes the selections, then clicks Submit Review button (code shown below)

    mc00515_1-1681798876333.png

    Let me know if need anything else.

    Thanks

  • Verified answer
    Community Power Platform Member Profile Picture
    on at

    Hi @v-wenjuan-msft 

     

    I have spotted the error that is stopping the app posting the data from the app to SP. I missed off the one form in the Patch code behind the Submit Review button. So now it should have been:

    Patch('Course Review Quality',varFormData,Form1.Updates,Form1_1.Updates); If(IsEmpty(Errors('Course Review Quality')), Notify("Success", NotificationType.Success); Navigate(Form1),Navigate(Form1_1), Notify(First(Errors('Course Review Quality')).Message,NotificationType.Error))

     

     

    Now with the Patch code modified to hold both forms, data posts from the SharePoint Screen to SP, but not from the Dataverse screen.

    mc00515_0-1681807996483.png

    Please can you advise what I need to do to get the Dataverse data through to SP?

     

     

     

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard