Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

How to add form and control permission on role?

Posted on by Microsoft Employee

Hello friends,

today I am sharing with you my new problem. Actually I am creating new custom roles for my user. I noticed that if suppose, I created a new role for AP module. when i tested it I became to know that some buttons are not active there. so its means that Microsoft did set the NeededPermission property for this action pane to 'Manual'. In that case, How can I  add form and control permissions on the role (or privilege) to be able to show this action pane. Another option is changing the property value to 'None' (small customization) which i do't want to do. Please help me for the first option. thanks

regards,

Hassan

Categories:
  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to add form and control permission on role?

    Yes. that's my answer which i was looking for. Really thanks man.

    its work.

  • Verified answer
    nmaenpaa Profile Picture
    nmaenpaa 101,148 on at
    RE: How to add form and control permission on role?

    You need to input the name of the button on the form like I said. There is no button called Button1 on that form.

    Instead enter a name of one of the controls that you have highlighted: BUttonInterCompanyCustPackingSlipJournal or ButtonInterCompanyCustInvoiceJournal

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to add form and control permission on role?

    Hello Nikolaos,

    I am sharing image as you asked. I did the same but i got this error message. kindly check it.

    here you can see the Form name(PurchTableListPage) button (buttonInterCompanyCustPackingSlipJournal) with NeededPermission (Manual). I drag this form under privilege's permissions node- form. and then add new control.

    thanks

    36360.Capture.JPG

  • nmaenpaa Profile Picture
    nmaenpaa 101,148 on at
    RE: How to add form and control permission on role?

    Could you be so kind and share what form and what buttons (what names) are you talking about?
    You have not shown such thing in a screenshot.

    But let's assume you have a form called Form1 and it has a button called Button1. And the NeededPermission for this button is set to Manual.
    In your privilege, you need to drag Form1 in the Permissions - Forms node. Then you can right click Form1 under the Permissions-Forms node and select New control.
    Set following properties on the control:
    Control: Button1
    EffectiveAccess: Update

    Now the user who has this privilege can click the button.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to add form and control permission on role?

    As I told you already that some ActionPane's buttons are disable in my newly created role. I want to make them active. I noticed that the property of these buttons on form set as "Manual" (Need permission). What i have to do now? I also try to add that form in my privilege's permission. but when i try to enter control name. it gives me error that invalid object name. as i have shown you pic. kindly tell me what i have to do?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to add form and control permission on role?

    I have added that form. but what about new control? i mean do i need to add new control? if yes then how can i ? i just add new control. what i have to do with these three fields. kindly check image. I mean what is control, effectiveaccess and system managed?

    447784.Capture.JPG

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,148 on at
    RE: How to add form and control permission on role?

    On which form is the control that you want to enable for this privilege? You need to add that form.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to add form and control permission on role?

    Here I have a question, which form i have to add in permissions node. For example PurchTableListPage form?

    kindly guide me thanks

    Hassan

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to add form and control permission on role?

    thanks. Let me try this one.

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,148 on at
    RE: How to add form and control permission on role?

    In your security privilege, go to Permissions - Forms and add the form control there.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,914 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,549 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans