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 Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,201)