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 / Share Point Integratio...
Power Apps
Unanswered

Share Point Integration - Switch from Form View to Form Edit - Then Update item and Save

(0) ShareShare
ReportReport
Posted on by

Hi,

I have a Share Point Integration Power App. The Item property for the Form and the OnveView property of SharePointIntegration are set to the following;

 

Form - Item - LookUp('NameOfList', ID = SharePointIntegration.Selected.ID)

SharePointIntegration - OnView - Set( selectedLookupItem,
LookUp( 'NameOfList',
ID=SharePointIntegration.SelectedListItemID ) );

Navigate(SharePointForm_View)

 

And my Form 'SharePointForm_View'  has its DefaultMode property set to the following;

 

If(Toggle_Update.Value = true, FormMode.Edit, FormMode.View)

 

This means that when I select an item in the SP List it will default to View mode each time (which it does). When opened in View mode I have a toggle (Toggle_Update) that when pressed switches to Edit mode (like in the code above). This is all working and I can toggle between the two states, however, when I try to save changes when in Edit mode the changes do not save and they go back to original state.

 

On my save button I have the following;

 

Patch('NameOfList', LookUp('NameOfList',ID = SharePointIntegration.Selected.ID),
SharePointForm_View.Updates
);

 

Once I get this sorted I'll look into then returning to View mode using 'ViewForm()'

 

I have no idea why it doesn't work and I have tried patching, SubmitForm() etc but with no joy. Any help appreciated. Thanks

Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard