Announcements
Hi,
I hope anyone could help me with this:
I want to disable the delete button shown below based on certain condition.
I tried with jquery but unsuccessful.
Thanks
Hi
in this post I talk about adding a filter using FetchXML, that might be what you need: http://oliverrodrigues365.com/2020/04/26/power-apps-portals-entity-list-conditional-action/
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Hello,
If you don't want to touch portals defined things and just want to disable that delete button then you can go with CSS.By using display:none; you can achieve this.To give the CSS access the element by its hierarchy
Thanks,Vaibhav
Hi Oliver,
Thanks for the solution. It works, however it seems whenever the record used in the filter criteria's changes and should cause the menu item to be hidden or shown, it won't be reflected until I logout and login back. It seems it's cached somewhere. Is there anyway to refresh it automatically.
Thanks,Harry
looks like you are facing a Caching issue, I have another post on caching tips: https://oliverrodrigues365.com/2020/07/27/power-apps-portals-caching-tips/
basically if your data is being updated in CDS, you will have a 15min SLA time for the data to be refreshed
in my post I talk about a way to bypass (when using fetch) using a timestamp, I haven't tried in that entity list filter, but it's worth trying to see if you can bypass the caching
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.
rezarizvii 71
DP_Prabh 36
oliver.rodrigues 32 Most Valuable Professional