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

  • Verified answer
    CDsilva Profile Picture
    4,188 on at
    RE: Action Button not Visible to certain users

    Hi Hannes,

    Thank you but it didn't work. 

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

  • Hannes Holst Profile Picture
    5,767 on at
    RE: Action Button not Visible to certain users

    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)

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
EH-09052238-0 Profile Picture

EH-09052238-0 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 1

Featured topics

Product updates

Dynamics 365 release plans