This topic is locked
[SOLVED]

Hide Custom Button

9/28/2022 10:17:58 PM
PHPRunner General questions
P
pauls99 author

I have created a custom button on the List page of a table in our database, and I would like this button to only be visible to those who belong to a certain user group. I know that I can restrict group access to the Add, Edit, etc. features using the Security screen, but I don't see where I could do the same for a custom button. I know that I can check the user group in the "Client Before" section of the custom button and return false if needed, but I wanted to see if I could just prevent the button from even being displayed in the first place.

PHPRunner Enterprise 10.5

Admin 9/29/2022

First of all, I recommend switching to PHPRunner 10.8, it comes with a lot of new features and fixes.

You can hide any element on the web page using API explained in this article.

P
pauls99 author 9/29/2022

That worked, thanks!