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

In Record info - Script functionality's security

(0) ShareShare
ReportReport
Posted on by 485

Hi, 

Is it possible to add permissions for a custom role to use Record info's script functionality. Currently it's visible for Sys Admin -role, but is it controllable via some Duty or Privilege so it could be added for the custom role? 

pastedimage1660654528618v1.png

I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,146 Super User 2025 Season 2 on at

    Hi Migi111,

    The group with this button is called ScriptGrp and is set to NeededPermission: Manual. This means that you would need to have a privilege with access to the menu item SysRecordInfo and add this ScriptGrp control with some permissions to grant access to business users.

  • migi111 Profile Picture
    485 on at

    Hi Andre, thanks for answering. I tried to add it but it didn't work. Is this what you meant?

    pastedimage1660730822353v1.pngpastedimage1660730859238v2.png

  • André Arnaud de Calavon Profile Picture
    301,146 Super User 2025 Season 2 on at

    Hi migi,

    Thanks for trying out my suggestion. I now notice that indeed using the configuration and development, the control is still not visible. I would need some additional research on the form and in coding if I missed something. At least, also the control CopyOfInsertScript should be added manually to grant some permissions.

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,146 Super User 2025 Season 2 on at

    Hi Migi,

    It turns out that you can, for now, only achieve this with development. Or use the Form Control Permissions node on the privilege and add the two mentioned controls. Putting it on the controls node of the entry point is not working at the moment.

    Another option would be creating a form extension and change the value on the controls for the NeededPermissions node. Note that it will be then visible for all business users.

  • migi111 Profile Picture
    485 on at

    Added all the controls of the SysRecordInfo with full permissions - But still missing the Script functionality

  • André Arnaud de Calavon Profile Picture
    301,146 Super User 2025 Season 2 on at

    Hi Migi111,

    Can you tell where and how you did add all the controls?

  • migi111 Profile Picture
    485 on at

    Hi, sorry for the late answer. I meant these controls: 

    pastedimage1661421702273v1.png

  • migi111 Profile Picture
    485 on at

    "Or use the Form Control Permissions node on the privilege" What exactly do you mean by this?

  • Verified answer
    André Arnaud de Calavon Profile Picture
    301,146 Super User 2025 Season 2 on at

    Hi Migi,

    As stated above, the security configuration form is not resulting in the desired outcome. There are two options in Visual Studio. The security configuration form does it on the entry points with addiitonal nodes which is not working. Currently, I have not my environment open to paste what I have done in Visual Studio to get it working, so for this reason a generic screenshot:

    2022_2D00_08_2D00_25_5F00_18_2D00_35_2D00_16.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…

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
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans