cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Kudo Kingpin
Kudo Kingpin

check if in design mode from script

Is there any way to test if I am in designe mode (i.e  if i am editing the app, or just running the app) using script? 

I have code in my start page that navigates to one of two pages based on a condtion. I t works fine, but I cannot edit  the start page because when  i Click it in the desgned the navigate code runs and I en up on one of the other pages.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: check if in design mode from script

Based on what I know, there should be no function available within PowerApps to check if the App is currently under Running mode or Edit mode.

 

 

If the App is running under Browser, then you may take a try to check the URL, when it is under:

"

as.create.powerapps.com/

"

It should be in design Mode.

 

Regards,

Michael

 

Community Support Team _ Michael Shao
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: check if in design mode from script

Based on what I know, there should be no function available within PowerApps to check if the App is currently under Running mode or Edit mode.

 

 

If the App is running under Browser, then you may take a try to check the URL, when it is under:

"

as.create.powerapps.com/

"

It should be in design Mode.

 

Regards,

Michael

 

Community Support Team _ Michael Shao
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
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,322)