cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Onebadterran
Level: Power Up

Hide Gallery Item in HelpDesk Training App

Hi!

 

I am learning PowerApps and currently I cannot seem to figure out how to hide gallery items in the example app HelpDesk. I am trying to hide all Completed tickets from all users in the app without deleting them from SharePoint Online and have had no success with Rules or with Filter.

 

This is what I currently have in the MyTicketsScreenGallery but it doesn't seem to accept it:

 

MyTicketsScrrenGallery.AllItems=Filter(AllTickets, MyTicketsScreenGalleryStatus.Text<>"COMPLETED")

I am not sure I am even looking in the right place given I just started so any assistance is appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support Team
Community Support Team

Re: Hide Gallery Item in HelpDesk Training App

Hi @Onebadterran,

Where do you put your Filter formula within the Gallery control?

Do you want to put your Filter formula within the AllItems property of the Gallery?

Based on the operation that you mentioned, I think there is something wrong with it. Currently, within PowerApps, we could not assign a value to the AllItems property of the Gallery directly.

I have made a test on my side, please take a try with the following workaround:2.JPG

Set the Items property of the MyTicketsScreenGallery to following:

Filter(TicketList, TaskStatus <> "COMPLETED") /* <-- TicketList represents the Collection to store the submitted ticket record in my app */

On your side, you should type:

Filter(AllTickets, TaskStatus <> "COMPLETED")

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 REPLIES 2
Highlighted
Community Support Team
Community Support Team

Re: Hide Gallery Item in HelpDesk Training App

Hi @Onebadterran,

Where do you put your Filter formula within the Gallery control?

Do you want to put your Filter formula within the AllItems property of the Gallery?

Based on the operation that you mentioned, I think there is something wrong with it. Currently, within PowerApps, we could not assign a value to the AllItems property of the Gallery directly.

I have made a test on my side, please take a try with the following workaround:2.JPG

Set the Items property of the MyTicketsScreenGallery to following:

Filter(TicketList, TaskStatus <> "COMPLETED") /* <-- TicketList represents the Collection to store the submitted ticket record in my app */

On your side, you should type:

Filter(AllTickets, TaskStatus <> "COMPLETED")

 

Best regards,

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

Re: Hide Gallery Item in HelpDesk Training App

Thanks for creating this thread @Onebadterran. Can you review the workaround suggested by @v-xida-msft and advise if it solves your issue?

 

Thank you,

 

@TopShelf-MSFT

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 40 members 4,875 guests
Please welcome our newest community members: