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 / Collections and Naviga...
Power Apps
Unanswered

Collections and Navigations

(0) ShareShare
ReportReport
Posted on by 14

Hello,

 

Situation: 

 

Use a button "OnSelect" action to navigate to a unique ID from a collection.

 

Example: When user clicks on button, than navigate to "ID:4" (Test4).

 

Each ID will have their own unique forms.

 

 

 

ClearCollect(colFocusAreasTabs,
{ID:2,Name:"Test1",Logo:Icon.Flag},
{ID:1,Name:"Test2",Logo:Icon.Person},
{ID:3,Name:"Test3",Logo:Icon.Person},
{ID:4,Name:"Test4",Logo:Icon.Money},
{ID:5,Name:"Test5",Logo:Icon.Lock},
{ID:6,Name:"Test6",Logo:Icon.ComputerDesktop},
{ID:7,Name:"Test7",Logo:Icon.Airplane},
{ID:8,Name:"Test8",Logo:Icon.Health},
{ID:9,Name:"Test9",Logo:Icon.Medical},
{ID:10,Name:"Test10",Logo:Icon.DockCheckProperties});

 

 

  Attempted with no success: 

 

 

Navigate(MbrEdit,ScreenTransition.Fade,colFocusAreasTabs,{ID:2})

 

 

 

Thoughts?

Categories:
  • BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @Huntergreen ,

     

    You can only navigate to screens, not to items in a data source.

     

    If you have a form on the MbrEdit screen, you can use the navigate function to set a context variable which is then picked up by the form to display the desired item.

     

    For this to work, change the navigate function to:

     

    Navigate(MbrEdit,ScreenTransition.Fade,{locSelectedItem: 2})

     

    Then set the Item property of the form to:

    LookUp(colFocusAreasTabs, ID = locSelectedItem)

     

  • Huntergreen Profile Picture
    14 on at

    I am getting this error:

     

    Huntergreen_0-1680216768256.png

     

  • BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @Huntergreen ,

     

    I just re-created the scenario exactly and did not have any issues:

     

    BCBuizer_0-1680253072288.png

     

    The only thing I noticed is different is that you wrote the variable name with a capital at the beginning:

    BCBuizer_1-1680253152964.png

     

  • Huntergreen Profile Picture
    14 on at

    Wondering, did it work as a list? Because I have mine set up as a collection. Thoughts?

  • BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @Huntergreen ,

     

    Apologies, but I don't understand your question. I have replicated your scenario exactly, using the same collection, without any issues. 

     

    If you wondering if the solution with using variables to view a specific item also works with lists, the answer is yes. This works for all data sources, regardless whether the are collections, SharePoint lists, Dataverse tables, etc.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard