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 Pages / Hide delete action but...
Power Pages
Unanswered

Hide delete action button on record if related items is greater than 0

(0) ShareShare
ReportReport
Posted on by 40

 deleteRoutine.pngHey all, 

 

Any ideas how I might go about hiding the delete button on a record if related items greater than 0.

 

My exact scenario is that I need to hide the ability to delete a routine, if the number of related Invoice Line Items is greater than 0.

 

I know you can use Fetch criteria but I don't know how I would would do this with there being many related items, or how to do that dynamically. 

 

Thanks in advance!

Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 26 Super User 2026 Season 1

#2
Lucas001 Profile Picture

Lucas001 19 Super User 2026 Season 1

#3
CN-06091549-0 Profile Picture

CN-06091549-0 18

Last 30 days Overall leaderboard