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

Web browser related errors for SaveData now prevent functions from running inside canvas developer

Hi,

 

Previously in the web developer where browser errors relating to SaveData() (i.e. "Data cannot be saved when in a web browser") were not being treated as errors that prevented the rest of the functions running, overnight this seems to have changed with a recent canvas developer UI update. SaveData() errors were almost treated like warnings but now they stop the entire function from running. 

This is making it more difficult to test apps. Thankfully this doesn't appear to be causing issues with the actual published canvas app in a web browser.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Web browser related errors for SaveData now prevent functions from running inside canvas developer

Hi @crisby ,

Could you please share a bit more about your issue within your app?

 

Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned.

When running SaveData() function within my web browser (Chrome), the SaveData() fomrula would be treated as an error. It says that:

"There was a problem saving your data. Data cannot be saved when running in a web browser"

But the formula after the SaveData() function was executed successfully.1.JPG

 

In addition, I think you have something misunderstanding on SaveData() function in PowerApps. Currently, within PowerApps, the SaveData() function could only be used/available within mobile device.

"

You can't use these functions inside a browser, either when authoring the app in PowerApps Studio or when running the app in the web player. To test your app, run it in PowerApps Mobile on an iPhone or Android device.

 

"

Please check the following article for more details:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-savedata-loaddata#de...

Please consider take a try to test your app using PowerApps Mobile App in your Mobile device, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Web browser related errors for SaveData now prevent functions from running inside canvas developer

Hi @crisby ,

Could you please share a bit more about your issue within your app?

 

Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned.

When running SaveData() function within my web browser (Chrome), the SaveData() fomrula would be treated as an error. It says that:

"There was a problem saving your data. Data cannot be saved when running in a web browser"

But the formula after the SaveData() function was executed successfully.1.JPG

 

In addition, I think you have something misunderstanding on SaveData() function in PowerApps. Currently, within PowerApps, the SaveData() function could only be used/available within mobile device.

"

You can't use these functions inside a browser, either when authoring the app in PowerApps Studio or when running the app in the web player. To test your app, run it in PowerApps Mobile on an iPhone or Android device.

 

"

Please check the following article for more details:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-savedata-loaddata#de...

Please consider take a try to test your app using PowerApps Mobile App in your Mobile device, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (7,528)