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

Notifications

Announcements

No record found.

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)
  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at

    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

  • Verified answer
    GirishS Profile Picture
    27,827 Moderator on at

    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.

  • VoltesDev Profile Picture
    on at

    Thank you both.

  • VoltesDev Profile Picture
    on at

    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

  • GirishS Profile Picture
    27,827 Moderator on at

    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.

  • Mohit Rampal Profile Picture
    12,565 Moderator on at

    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.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 683 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 398 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans