cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sienna28
Post Patron
Post Patron

How Can I Clear a Gallery?

Hi

 

I am very new to Powerapps and am trying to develop an application.

 

I have a gallery which each user adds items to.


It is bound to a sharepoint list which has the gallery item and the email address of the person that added the item.

I tried filtering via email address in the default property of the  gallery, but the gallery is still showing the entire list of items.

 

The Problem I am finding is that the gallery shows all items from the list, no matter what user is logged in. When a new user wants to add an item to the gallery, they are seeing all items from other users.

 

Is there any way of showing a blank gallery so that it is ready for each user to add their items?

 

Thank you

   

1 ACCEPTED SOLUTION

Accepted Solutions

Excellent

 

Thank you Mona

View solution in original post

2 REPLIES 2
v-monli-msft
Community Support
Community Support

Hi @sienna28,

 

I think what you need is to filter the gallery with created by column, right? If so, then you could set the Items property of the gallery to:

Filter(DB,Author.Email=User().Email)

 

Then you could set one of the field control inside the gallery to:

ThisItem.Author.Email

 

You will see that in the gallery all shown items' author is the current user:

 

Capture.PNG

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Excellent

 

Thank you Mona

View solution in original post

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,433)