cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

select an item from a gallery, I can redirect to a single screen

Hello,

I have an application with 2 sharepoint lists.
List_Client
List_Neads
I have several screen, where I used several gallery with different filters.

I would like to select an item from a gallery, I can redirect to a single screen form NEADZ details

Ex: Gall_list_Client1 >> Scr_detail_Neadz

Gall_List_Client2 >> Scr_detail_Neadz

Do I have to change my form formula from Scr_detail_Neadz (= Gall_List_Client1.selected)

Or do I have to complete the formula of on select Gall_list_Client2?

Thanks for your feedback !

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Helper I
Helper I

Re: select an item from a gallery, I can redirect to a single screen

Hi @iAm_ManCat , 

 

Thanks, I found an other solution 🙂 

 

So you have a variable changed with the OnSelect before you Navigate:

Set(FormSelected; gall_list_client1.selected);; navigate....

and for the other gallery:

Set(FormSelected, gall_list_client2.selected);; naviagate...

Items = FormSelected

Thanks 🙂 

 

View solution in original post

3 REPLIES 3
Highlighted
Super User
Super User

Re: select an item from a gallery, I can redirect to a single screen

I would have an extra variable control it.

 

So you have a variable changed with the OnSelect before you Navigate:

Set(FormSelected, "1")

and for the other gallery:

Set(FormSelected, "2")

 

Then in your detail form(Scr_detail_Neadz), you have

Items =

If(

   FormSelected="1", Gall_List_Client1.selected,
   FormSelected="2", Gall_List_Client2.selected

)

Could you try that and let me know if that works for you?

 

Thanks,

ManCat


@iAm_ManCat

Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


Highlighted
Helper I
Helper I

Re: select an item from a gallery, I can redirect to a single screen

Hi @iAm_ManCat , 

 

Thanks, I found an other solution 🙂 

 

So you have a variable changed with the OnSelect before you Navigate:

Set(FormSelected; gall_list_client1.selected);; navigate....

and for the other gallery:

Set(FormSelected, gall_list_client2.selected);; naviagate...

Items = FormSelected

Thanks 🙂 

 

View solution in original post

Highlighted
Super User
Super User

Re: select an item from a gallery, I can redirect to a single screen

Excellent! Glad I could help you on your way towards your solution! Cat Very Happy


@iAm_ManCat

Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


Helpful resources

Announcements
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (4,252)