cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
crisby
Level: Powered On

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
Community Support Team
Community Support Team

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
Community Support Team
Community Support Team

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 311 members 4,815 guests
Please welcome our newest community members: