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 Apps
Answered

undefined

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

i need to pass value from gallery main screen where the value exist in the search location

to other screen. the value chosen by search box is used for filtering in next screen.

i used the way similar to this :

Navigate(scrnView, ScreenTransition.Fade,{selectedId: TemplateGalleryList1.Selected.ID})

but always gives me error.

please find the attached that shows you what i mean.

it is highly appreciated to help me because it solves many issues in my application.

Thanks,

Maurice

screen shot.png
Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    From that picture it appears that the scrnView does not exist.  Do you actually have a screen with that name?  

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at
    HI,
    NO this is an example from the site.
    but if you look at the attached file , from BrowsGallery1 , and from the search box , i take the value used to extract the data into Gallery and at the same time i want to pass the value of the searched box  to other screen (Detailscreen1) where i do filtering according to the sent value of the passed parameter.
    this is what i mean.
    Thanks
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    Yes, but your formula in the attached image shows that you are trying to navigate to scrnView.  If the screen name is DetailsScreen1, then THAT is what you want to navigate to and you should adjust your formula accordingly.

     

    As for passing the value, you can do that, but there really isn't any need as the Gallery (and every control in PowerApps) is global and you can just reference it from your DetailsScreen.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    please note that i have created another screen where i am using table that has data from other mssql table , but there is one field common between this table and the Gallery in the first screen.

    is this field of the Gallery is global ?? can i use it in other screen for filtering??

    Thanks,

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    Yes, you are trying to pass TemplateGalleryList1.Selected.ID through your navigate function.  That is all fine, but you can also reference TemplateGalleryList1.Selected.ID from ANY screen in your app and you will get the selected ID.

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Randy,

    i need to recover the rows in datatable that has the same dealerid as in the form (detailform1)of other screen.

    so the  Items property of datatable2 is set as:

    Filter(DataTable2, DealerID_Column2 = DetailForm1.Selected.dealerid_datacard3)

    but unfortunately it is giving me error with cross red sign on the whole datatable2.

     

    Thanks,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    it is solved now , thanks a lot.

    Maurice Faraj

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 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard