cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

Onvisible for screen when using deeplinking

Hi all

Have a question, have implemented deeplinking by using param on app start and that works a treat appurl &DeepLink=Stage1&ID=164 for instance will load screen one with that record from SharePoint.

 

I have a control which is disabled on screen 1 (stage 1) and its display mode is edit when a variable is true.  I set that variable to true onvisible for the screen. 

 

When clicking on the gallery control on a home screen it loads the screen great and the control is editable because the onvisible was set.

 

My problem is when I use the deeplink which is coming from a flow, the control is disabled, which I guess would be control as the onvisible of the screen has not triggered because I didn't navigate to it.

 

Is there a way to use the deeplink and still set variable when view the url

 

Thanks in advance

 

2 REPLIES 2
Highlighted
Super User III
Super User III

Re: Onvisible for screen when using deeplinking

Hi @sbonera ,

Just set the same variable at App OnStart when you conditionally navigate to the screen

If(
   !IsBlank(YourParamRef),
   Set(YourVariable);
   Navigate(YourScreen)
)

You will need to change it to a Global Variable if not already (best option) of pass it in the Navigation (a bit messy)

 

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.

Highlighted
Super User III
Super User III

Re: Onvisible for screen when using deeplinking

Hi @sbonera ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

 

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.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,023)