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

Deep Linking using Navigate attribute

Hello.

 

I am currently trying to apply Deep Linking to my PowerApp. After struggling to get a Parameter to work, I found that you can use the Navigate command in the URL to point to a particular screen. As such I have constructed the following URL using this documentation:

 

https://apps.powerapps.com/play/AppId?tenantId=XYZ&Navigate=BrowseScreen

 

The screen is named paralleling case sensitivity and uses no spaces:

dangthis_0-1607455994572.png

 

Am I missing something? Do I need to enable an advanced feature?

 

The app loads but ignores the additional information and goes to the default screen.

 

Thank you

 

1 ACCEPTED SOLUTION

Accepted Solutions

Thank you for your help.

 

I ended up with the following code:

 

App - OnStart

 

Set(
linkRecord,
Value(Param("Screen"))
);

If(
linkRecord <> 0,
Set(RecID, LookUp('Name of SharePoint List', ID = linkRecord));
Navigate(DetailScreen)
)

 

DetailScreen - Form DataSource

 

RecID

 

DetailScreen - HTMLText

 

"<a href='https://apps.powerapps.com/play/appId?tenantId=tenantIDinfo&Screen=" & RecID.ID & "'>https://apps.powerapps.com/play/appId?tenantId=tenantIDinfo&Screen=" & RecID.ID & "</a>"

View solution in original post

5 REPLIES 5
dangthis
Frequent Visitor

Adding a text field that displays the parameter, Concatenate("Param = ", Param("Navigate")), it is being picked up and matches the screen name.

dangthis_0-1607457463875.png

 

Hi! @dangthis : Look this example I used a variable to save my Param and then i navigate to my Screen. All in OnStart 

 

Set(
    varFondeo_ID;
    Value(Param("RevFondeoID"))
);;
Set(
    varPres_ID;
    Value(Param("RevPresID"))
);;
If(
    varPres_ID <> 0;
    Navigate(Screen_Vista_Pres);
    If(
        varFondeo_ID <> 0;
        Navigate(Screen_Vista);
        Navigate(Screen_Principal)
    )
)

 

Hope it helped you

If this post answers your question, please mark my post as a solution!
If you like my post please click thumb up

And your link should be: 

https://apps.powerapps.com/play/d44fbfa...............?RevFondeoID=1

This means that app will navigate to Screen_Vista

Thank you for your help.

 

I ended up with the following code:

 

App - OnStart

 

Set(
linkRecord,
Value(Param("Screen"))
);

If(
linkRecord <> 0,
Set(RecID, LookUp('Name of SharePoint List', ID = linkRecord));
Navigate(DetailScreen)
)

 

DetailScreen - Form DataSource

 

RecID

 

DetailScreen - HTMLText

 

"<a href='https://apps.powerapps.com/play/appId?tenantId=tenantIDinfo&Screen=" & RecID.ID & "'>https://apps.powerapps.com/play/appId?tenantId=tenantIDinfo&Screen=" & RecID.ID & "</a>"

View solution in original post

Very nice! good that it worked for you

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

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 the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (39,873)