web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How to create security privileges at form's tabpage level ?

(0) ShareShare
ReportReport
Posted on by

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. 

pastedimage1684293993806v1.png

Thanks.

I have the same question (0)
  • Mohit Rampal Profile Picture
    12,563 Moderator on at
    RE: How to create security privileges at form's tabpage level ?

    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.

  • GirishS Profile Picture
    27,825 Moderator on at
    RE: How to create security privileges at form's tabpage level ?

    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.

  • VoltesDev Profile Picture
    on at
    RE: How to create security privileges at form's tabpage level ?

    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

  • VoltesDev Profile Picture
    on at
    RE: How to create security privileges at form's tabpage level ?

    Thank you both.

  • Verified answer
    GirishS Profile Picture
    27,825 Moderator on at
    RE: How to create security privileges at form's tabpage level ?

    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.

  • Suggested answer
    Mohit Rampal Profile Picture
    12,563 Moderator on at
    RE: How to create security privileges at form's tabpage level ?

    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 

    dynamicspedia.com/.../

    pastedimage1684295614341v1.png

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 858 Super User 2025 Season 2

#2
Sohaib Cheema Profile Picture

Sohaib Cheema 850 User Group Leader

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 827

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans