Announcements
Hi,
I need to remove a item from SP list - If gallery text label which can used to count something and I have delete button outside the Gallery. How can I do it.
Condition label.Text = 0 only
Thanks.
Hi @ShaikSayyad ,
Something along this line should do the job
ForAll( RenameColumns( Filter( YourGalleryName.AllItems, Value(ConditionLabel.Text)=0 ), "ID", "ID1" ), RemoveIf( YourSPListName, ID=ID1 ) )
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.
Please refer above screen
@ShaikSayyad ,
This was free-typed syntax guidance - did you notice the missing comma (now fixed)?
Thank you,
but I need to remove gallery is selected, like I have delete btn in View form (Gallery.Selected)
I am now even more unclear on what you want.
If you simply want to remove the selected item in the gallery from outside the gallery
RemoveIf( YourSPListName, ID=YourGallerytName.Selected.ID )
I want to delete item from SP list_1, but Gallery of SP list_1 has a count label from another SP list_2. I was showing gallery and view form of SP List_1 in same screen.
Here I need to delete item from SP List_1 which is presented in view form (If count label has 0 from selected template )
That was not not what you posted and I am even less clear now how the lists and their items relate to each other.
I will be offline shortly due to time zone - I welcome anyone else who may be able to decipher what you are wanting.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 345 Super User 2026 Season 2
Mohsin Ali 225
M Bilal Khan 192