Hi All,
In custom form i have added Edit button and i would like to disable that button for some user.
Please let me know how to achieve this.
Regards
Rahul
you can set the property 'Needed Permission' of that button to 'Manual', then you'll be able to set permissions to allow/deny the execution of that button.
Hi Rahul,
Can you describe the technical details what control type you used, what properties you set and how you added this button on the form?
Please explain the purpose of this button. It doesn't make sense to me.
Those are the command Button control and set the command property to EditRecord.
I have created privilege and set access level to Read, but Edit button is enable and user want Edit button should disable.
Please let me know how to disable edit button.
Hi Rahul, It can be done by assigning View security privilege to those users. You should create two privileges (View and Maintain) of your custom form and assign privileges to users as required. You can check these privileges on any form from Security Diagnostics.
Also, please provide more details on how you have created Edit button in form.
Check this article
You need to focus on access to the data source / table, not on the button.
If you don't want to allow the users to make any changes in the given form, simply give them only read access to the form (through the menu item). Of course, you can configure permissions in a more granular way if needed.
By the way, you shouldn't have added the Edit button. You're duplicating standard functionality, and the standard Rdit button respects permissions of the linked data source. You risk spending time with developing something unnecessary and also worse that what's already there.
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,836
Most Valuable Professional
nmaenpaa
101,156