cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Dupliacted Galleries not going to the right item

Hi everyone! I'm new to power apps, so this might be a dumb question.

 

I've created an app from a Sharepoint list (started with one of those standard model)

 

But I want to have 3 types of gallery views, with different filters in the items showing up. So I've duplicated the gallery screen and edited.

Problem is, the duplicated galleries does not show the proper item when clicking, and everything except the Items field is exacly the same.

 

Anyone has any idea why?

 

Here some screenshots:

 

Original gallery, Items formula edited. Still working properly:

 

Original gallery, Items formula edited. Still working properly.Original gallery, Items formula edited. Still working properly.

 

Galleries duplicated from original. Does not direct to proper item:

Gallery dupplicated from original. Does not direct to proper itemGallery dupplicated from original. Does not direct to proper itemGallery dupplicated from original. Does not direct to proper itemGallery dupplicated from original. Does not direct to proper item

 

Oh and all "On Select" are set like this:

onselect.png

 

Many thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Memorable Member
Memorable Member

Re: Dupliacted Galleries not going to the right item

Hi @naiani ,

For this Purpose you can Use.

OnSelect Property of Arrow and or User Directly is GalleryName.Selected.Email Like That.

Or you can Use Set(OpenRecord,ThisItem);

and Pass the OpenRecord to View Form Items Property.

See the Demo for the Same-
GalleryIssue.gif

Thanks

View solution in original post

6 REPLIES 6
Highlighted
Memorable Member
Memorable Member

Re: Dupliacted Galleries not going to the right item

Hi @naiani <

If you want to Filter the Data Properly then you can make the Filte like below , means As i can see in your screnshot.

your and not passing the condition in proper way.

See the below Code you can make condition.

Filter(TimeSheetMasterEntry,'Product Owner'.Email=Lower(varCurrentUser.Email) && Status.Value="Pending")

 

Thanks,
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Highlighted
Frequent Visitor

Re: Dupliacted Galleries not going to the right item

hello @VijayTailor 

 

 Sorry, I'm not sure I understand this part of the code. I couldn't adapt it in my code: 

 

Lower(varCurrentUser.Email)

 

 

Anyhow, the code I had, show the items in gallery properly (with the code you sent, except that part I've mentioned, it shows the same). Problem is when I click to open one of them, it directs me to another item. This happens only with the galleries I've duplicated from the original.

screen1.pngscreen2.png

 

Highlighted
Memorable Member
Memorable Member

Re: Dupliacted Galleries not going to the right item

Hi @naiani ,

This Just a CurrentLoggedInUser.

Lower(varCurrentUser.Email)

See the ReferencevarCurrentUser.gif

Thanks,
.  

Highlighted
Frequent Visitor

Re: Dupliacted Galleries not going to the right item

@VijayTailor Thanks, got it. 

Tried it this way but nothing changed. I still got the same outcome: The galley still shows the proper list, but when I click, it goes to the wrong item.

Highlighted
Memorable Member
Memorable Member

Re: Dupliacted Galleries not going to the right item

Hi @naiani ,

For this Purpose you can Use.

OnSelect Property of Arrow and or User Directly is GalleryName.Selected.Email Like That.

Or you can Use Set(OpenRecord,ThisItem);

and Pass the OpenRecord to View Form Items Property.

See the Demo for the Same-
GalleryIssue.gif

Thanks

View solution in original post

Highlighted
Frequent Visitor

Re: Dupliacted Galleries not going to the right item

@VijayTailor thank you so much!

It worked with Set(OpenRecord,ThisItem)

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published 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 (6,162)