cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mcalvan
Regular Visitor

Updating Sharepoint List using gallary button

I am trying to have a column button update the status column from "open" to "in progress". I am doing this using a gallary but I keep getting an error "The type of this argument 'field_4' does not match the expected type 'Text'. Found type 'Record' 

 

I do not understand why it is saying "field_4" as the column is labeled "status"

 

My listname is 'ReinvestMaster', Gallary is 'Gallery3'

 

The code im using for the button is this: 

 

 

 

 Patch(ReinvestMaster,ThisItem,{Status:{Value:"In Progress"}})

 

 

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
RusselThomas
Microsoft
Microsoft

Hi @mcalvan 

I don't know what your data construct looks like, but Status: appears to be a text column and you're trying to put a record in there.... Please consider this as an alternative?

 Patch(ReinvestMaster,ThisItem,{Status:"In Progress"})

Kind regards,

RT

 

View solution in original post

prajyot
Resolver III
Resolver III

 

Try out below

Patch(ReinvestMaster,ThisItem,{Status:"In Progress"})

 

View solution in original post

3 REPLIES 3
RusselThomas
Microsoft
Microsoft

Hi @mcalvan 

I don't know what your data construct looks like, but Status: appears to be a text column and you're trying to put a record in there.... Please consider this as an alternative?

 Patch(ReinvestMaster,ThisItem,{Status:"In Progress"})

Kind regards,

RT

 

prajyot
Resolver III
Resolver III

 

Try out below

Patch(ReinvestMaster,ThisItem,{Status:"In Progress"})

 

thank you this worked ! 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,900)