web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Disable Gallery Item o...
Power Apps
Unanswered

Disable Gallery Item once submitted

(0) ShareShare
ReportReport
Posted on by 54

Hi, I would want to prevent user from selecting the item that was submitted previously in the gallery. How do I go about doing that? I know one way is to change the colour of the background once the item is selected. However, that feature only allows one item to have the change in backgroud and not multiple items. Any Idea? 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @JuliosJamby ,

    You would need to flag the item with something that would indicate it was submitted. As an example, if it changed the Status field to Submitted, the OnSelect would be

    If(
     ThisItem.Status = "Submitted",
     Notify("You cannot selected submitted items",Error),
     WhateverItIsNow
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

  • JuliosJamby Profile Picture
    54 on at

    @WarrenBelz I do have a status column but its in another sheet. So how do I go about referencing that? I was thinking of using the displaymode

  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    @JuliosJamby ,

    That was only an example - what field do you change when a record is submitted?

  • JuliosJamby Profile Picture
    54 on at

    @WarrenBelz the initial plan was to only show item due for the month but when I submit an item, the item still show in the gallery even though the month is different. This is because the excel takes awhile to load. I want to make it such that when the user goes back to the gallery after submitting, the submitted item will become disabled or greyed out 

  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @JuliosJamby ,

    You still have to identify a record as submitted with a change of some type in a field - otherwise, how does Power Apps know which record to disable the selection on? What field is this and also what is the Items of the gallery?

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard