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

Updating Sharepoint List item using Patch

Hi, 

 

I am trying to update a sharepoint list item using patch function but i cant work out what i am doing wrong. 

 

'NFPOIList' = Sharepoint list i want to update

NFPOIBearing = Sahrepoint column im trying to update

 

I have tried the following;

 

Patch('NFPOIList',ID=Gallery1.Selected.ID,{NFPOIBearing:Bearing.Text})

Patch('NFPOIList',Gallery1.Selected.ID,{NFPOIBearing:Bearing.Text})

Patch('NFPOIList',Gallery1.Selected,{NFPOIBearing:Bearing.Text})

1 ACCEPTED SOLUTION

Accepted Solutions
mdevaney
Super User III
Super User III

@erobguy 
What type of SharePoint column is ‘NFPOIBearing’?  This can affect the method for PATCH.

 

For instance, a number must be patched like:

 

Patch('NFPOIList',Gallery1.Selected,{NFPOIBearing: Value(Bearing.Text)})

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

2 REPLIES 2
mdevaney
Super User III
Super User III

@erobguy 
What type of SharePoint column is ‘NFPOIBearing’?  This can affect the method for PATCH.

 

For instance, a number must be patched like:

 

Patch('NFPOIList',Gallery1.Selected,{NFPOIBearing: Value(Bearing.Text)})

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

erobguy
Frequent Visitor

it is a number

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (26,963)