cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Guicord101
Helper III
Helper III

Call cancel button

Hi guys!

I have an app where users make requests for data changes to the system.

This app feeds a list to sharepoint.
I would like to know how to create a button so that the user can cancel this call.

Attention: I would not like the user to delete the request, only that when clicking on the button the column "Request status" would be changed to "canceled"

Guicord101_0-1654868779239.png

Guicord101_3-1654868881843.png

I would like the button to appear on the detail screen

 

 



1 ACCEPTED SOLUTION

Accepted Solutions
v-qiaqi-msft
Community Support
Community Support

Hi @Guicord101,

Have you resolve your problem?

Do you want to update the Request status to canceled once you click the cancel button within the detail screen?

Could you please share a bit more about your scenario?

 

Just add a button to the detail screen, and set the OnSelect property of the cancel button as below:

Patch(List,Gallery1.Selected,{'Request Status':"Canceled"})

 

 

Best Regards,
Qi

View solution in original post

2 REPLIES 2
phipps0218
Memorable Member
Memorable Member

Use the Patch() function to change the RequestStatus to cancelled.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

v-qiaqi-msft
Community Support
Community Support

Hi @Guicord101,

Have you resolve your problem?

Do you want to update the Request status to canceled once you click the cancel button within the detail screen?

Could you please share a bit more about your scenario?

 

Just add a button to the detail screen, and set the OnSelect property of the cancel button as below:

Patch(List,Gallery1.Selected,{'Request Status':"Canceled"})

 

 

Best Regards,
Qi

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (1,661)