web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Is deep linking causin...
Power Apps
Unanswered

Is deep linking causing my collection to break? Is parameter canceling out my collection somehow?

(0) ShareShare
ReportReport
Posted on by 64

Not exactly how to phrase my question since I'm not sure what's causing the issue. 

 

I built a component to enable some "smart navigation" using a collection at the app OnStart - the collection contains my screen names. Then in my component is a gallery with tab-like buttons that pull in the screen names and also navigate the user to that screen when clicked. There's also some conditional formatting on the buttons based on the active screen. 

 

Everything works as expected when I enter the app directly. However, I also have added a parameter to deeplink directly to a specific record based on the ID. If I enter the app using the deeplink, I only see the active screen's button and text (the other button is there and is clickable, but the text/formatting is missing)

 

Any ideas why my collection/navigation isn't firing correctly when I use the deeplink?

 

App OnStart

ClearCollect(ColScreenNav,{Id:1,Screen:'Executive Summary'},{Id:2,Screen:Assess});

Set(varCanvasID, Value(Param("canvasid")));
If(varCanvasID <> 0, Set(varCanvasData, LookUp(Efforts, ID=varCanvasID)))

Component Gallery Items

ColScreenNav

 

AppLaunch.png
Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @JennC26 

    Can you expand more on what you mean by "Component Gallery Items"?

    If you have a component, your component should have a property on it that is a table property.  In your component, your gallery should be getting its table records from the property of the component - not from a collection!

     

    IN the app (where you have put your component), the Property for the items should be set to the table you want from the app - the collection in your case.

     

    Also, keep in mind that a collection is an in-memory database capable of adding, removing and editing records.  Since your table is relatively static, it is a waste to bring this functionality in for a simple table.  Instead, consider a table variable.  Your OnStart formula would become the following:

    Set(glbScreenNav,{Id:1,Screen:'Executive Summary'},{Id:2,Screen:Assess});
    
    Set(varCanvasID, Value(Param("canvasid")));
    If(varCanvasID <> 0, Set(varCanvasData, LookUp(Efforts, ID=varCanvasID)))

    And then the property of your component in your app would use glbScreenNav

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard