Announcements
I am attempting to add the formulas. When I click the 'trash can' icon, a screen pops up with a warning message: 'delete item.' After that, if I click 'Delete,' the item will be removed from the gallery using SharePoint. I am trying to figure out why there is still an error; in my opinion, it should work. Thank you!
Hi @dylandavis09
What is the error?
@AARON_C , here y'all
@dylandavis09
Also how did you create your button. You have both controls selected
When you click on the trash icon in your gallery to make the pop up message appear, also set a variable.
Set(varToBeDeleted, ThisItem)
When clicking the delete button, the Remove function would be.
Remove('Class of 20XX Fundrasing Items', varToBeDeleted);
Hi @dylandavis09 ,
Please try below steps:
OnSelect of the trash bin within the Gallery:
Set(varToBeDeleted, ThisItem.ID)
OnSelect of Delete/TrashBin button:
RemoveIf('Class of 20XX Fundrasing Items', ID = varToBeDeleted);
Best regards,
@v-jefferni , @AARON_C, still error message.
How have you set up your button? And what property is the code in your controls?
You keep selecting both your text and icon control in your screenshots.
The issue seems due to the variable varPopupWarningMessageDeleteItem. Do you have it set elsewhere in your App? What's the formula?
@v-jefferni, yes, I have set a variable called varPopWarningMessageDeleteItem in my app. It creates a pop-up on the screen with the specified message.
@AARON_C, yes, I am using an icon and a rectangle for the button. I have also added code in the 'OnSelect' property.
I found and resolved the issue due to a missing last word.
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 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 1,074
Valantis 639
11manish 606