cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SinaSoheili
Regular Visitor

How to get Navigate target parameter from excel for Onselect property?

Hi!

I made a galley and now i want each picture navigate to specific screen ( and  get data from excel) , how can i do it?
i think it is possible i can get screen name data as target for navigate command ! but how ? i don't know please help me for this issue

1 ACCEPTED SOLUTION

Accepted Solutions
SinaSoheili
Regular Visitor
8 REPLIES 8
WarrenBelz
Super User
Super User

@SinaSoheili ,

You cannot dynamically refer to screen names with a Text value. What are the Items of the Gallery, what field describes the screen and what are the values ?

items of gallery are " Title / Description / Image / Target Screen(screen name which after click on image should go to this screen)

Please give me a solution for this

@SinaSoheili ,

Assuming those are the screen names (you did not give me the field name), but assuming the name ScreenName, OnSelect of the Gallery (you need to substitute your gallery and screen names)

Navigate(
   Switch(
      YourGalleryName.Selelected.ScreenName,
      "Title",
      YourTitleScreenName,
      "Description",
      YourDescriptionScreenName,
      "Image",
      YourImageScreenName,
      "Target",
      YourTargetScreenName
   )
)

    

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

 

 

"Title / Description / Image / Target Screen", these are my fileds in my excel .....

i will send you a screenshot , i want each of image navigate to unique screen in my app.

@SinaSoheili ,

Sorry you have lost me here - I need the Items property of your gallery and also is that the name of the files or a field value ? If a field, what is the name of the field ?

SinaSoheili
Regular Visitor

 

I used default horizontal gallery which available in power apps and everything like filed and items are as its default , i want to know is it possible , every image in my gallery have a unique link to unique screen in my app ?

SinaSoheili
Regular Visitor

@SinaSoheili

Glad you got it sorted , but it would have been helpful to describe your issue better and actually answer the questions I asked - the solution was easy if I understood your structure.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,623)