Hi guys,
May I know how to create security privileges at the form's tabpage level, in Visual Studio ?
For example, I have new TabPage in form SystemParameters, and I want to create Privileges so my user can only have access to this TabPage only to edit.
Thanks.
Extensions are used to extend the standard objects and we can't refer extended objects like Form extension in a Security privilege, compiler will throw error.
I have observed usage of object extension directly only when adding form control for display method in table extension class.
You need to specify the original form name only. Not the extended form.
If you set the Needed permission to manual, you need to manually add that tab page to all the security privilege you want the access to.
Thanks,
Girish S.
Hi,
sorry just one last question though, if I extend a standard form, lets say that SystemParameters because I also want to change the "NeededPermission" of its existing TabPage to "Manual", will that change the needs of assigning permission of other standard privileges ? Since I notice when I put the form component to NeedPermission to manual, and in my privileges haven't specified any permission, it will throw error.
But I also notice in security privilege, form control permission, when add new form, we cannot specified the form name with the extension, but the original only.
Thanks
Thank you both.
Hi Voltes,
You can refer to standard HcmWorker form >> Main tab >>Details panel >> TOC tab >. EmploymentTabPage >> where they have implemented tab page level security. You need to set the Needed permission property of the tab page to manual - And then under your custom security privilege you can add that control under form control permissions.
You can refer to standard HcmWorkerEdit privielge.
Thanks,
Girish S.
Hi, You can change NeededPermission property of this tabpage to 'Manual' and create security privileges.
Please check this article written by Andre Arnaud de Calavon
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,836
Most Valuable Professional
nmaenpaa
101,156