Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

How to add form and control permission on role?

(0) ShareShare
ReportReport
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

*This post is locked for comments

  • 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,156 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,156 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,156 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,156 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.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,253 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans