cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
U1ACC
New Member

Show a message using the "OnSave" Property under "SharePointIntegration" PowerApps

Hi All,

 

I disabled the default "Save" button on PowerApps, but I want to show a message if the end user click on it rather than doing nothing.

 

I tried to use the "UpdateContext" on the "OnSave" but I am getting an error, please find attached.

 

I just simply want to show the end user a message if they click on the default "Save" button in PowerApps..

1 ACCEPTED SOLUTION

Accepted Solutions
GarethPrisk
Resident Rockstar
Resident Rockstar

This may help clarify things.
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/sharepoint-form-integration

 

That error is common, indicating the UpdateContext function cannot be used. This is due to the fact that it sets a screen-based local variable. The OnSave action isn't linked to a screen.

 

You could use Set() and use a global variable, however.

View solution in original post

1 REPLY 1
GarethPrisk
Resident Rockstar
Resident Rockstar

This may help clarify things.
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/sharepoint-form-integration

 

That error is common, indicating the UpdateContext function cannot be used. This is due to the fact that it sets a screen-based local variable. The OnSave action isn't linked to a screen.

 

You could use Set() and use a global variable, however.

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,586)