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 :
Microsoft Dynamics NAV (Archived)

Action Button not Visible to certain users

(0) ShareShare
ReportReport
Posted on by 4,188

Hi All,

I've created an Action button on Released Production order page. This button is visible to users with super permission. For the Finance user I've assigned Different set of permission. This Finance User can view the page but not the action button. I've assigned Caption and Caption ML for ENU(US) and ENN(India). 

I've attached the screnshots below

Kindly give your suggestions.

per.JPG

per1.JPG

*This post is locked for comments

I have the same question (0)
  • Hannes Holst Profile Picture
    5,767 on at

    Hi,

    You must add something like this to the OnOpenPage-Trigger:

    IF NOT User.GET(USERID) THEN
      EXIT;
    
    AccessControl.SETRANGE("User Security ID", User."User Security ID");
    AccessControl.SETRANGE("Role ID", 'SUPER');
    
    ActionIsVisible := NOT AccessControl.ISEMPTY;


    AccessControl : Record 2000000053 "Access Control"

    User : Record 2000000120 "User"

    (Tables valid for NAV2017)

  • Verified answer
    CDsilva Profile Picture
    4,188 on at

    Hi Hannes,

    Thank you but it didn't work. 

    I've resolved it. The Report didn't have Execute permission in the Permission Set.

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 > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans