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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

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

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,931)