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 :
Small and medium business | Business Central, N...
Suggested Answer

Field visibility

(0) ShareShare
ReportReport
Posted on by 6,284

Hello dears,

Is there any global event that control the visibility of the field similar to the global events OnAfterOnGlobalInsert,

OnAfterOnGlobalModify,..?

Or any other way to control it globally

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    133 on at

    Visible is a single page field property only available at that level. You could have a single codeunit that acts as the main control but each page would need a function to call it based on the current methods available

  • OussamaSabbouh Profile Picture
    6,284 on at

    Thanks Josh for your reply, I think there is a different way to control the field (Visible, editable, ...).I see a lot of extensions where you select a table then a specific field then you specify the visibility or if editable and ot will be applied to all the system. Like field level permission

  • Suggested answer
    JAngle Profile Picture
    133 on at

    This is a way to review that worked in NAV: www.olofsimren.com/.../

  • OussamaSabbouh Profile Picture
    6,284 on at

    Yes dear this is related to insert, modify, delete...not to visibility and editable

  • Suggested answer
    YUN ZHU Profile Picture
    95,729 Super User 2025 Season 2 on at

    Hi, hope the following can give you some hints.

    https://yzhums.com/14752/

    Thanks.

    ZHU

  • OussamaSabbouh Profile Picture
    6,284 on at

    Hello YUN,

    Thanks for your reply, between I am a big follower of your posts and blogs, I already read this blog and its very helpful, but in my case I need a more general control. Kindly check this app : https://appsource.microsoft.com/en-us/product/dynamics-365-business-central/PUBID.efoqus-5058796%7CAID.security%7CPAPPID.7c4b9095-058f-4464-a4d0-104cc305e68c?tab=Overview

    • Field Control - to specific if a field should be visible or not to a particular user(s)
    • Page Control - to specify if a user can access a particular page
    • Action Control - to control whether a user can perform an action or not
    • Data Access Filter - to enable administrators to apply a dynamic filter whenever a table is accessed
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,111 Moderator on at

    If you should do all this in the standard solutions you will have to use pretty much all the roles,security, permission, seurity filter and personalization functionality in the system.

    Here is a good starting point for you:

    docs.microsoft.com/.../ui-define-granular-permissions. You will also find the manage profiles and user settings there.

    Used in the correct way they can achieve a lot but it takes some time to get familiar with all the concepts. As and alternative you can seek assistance from your partner.

  • Suggested answer
    YUN ZHU Profile Picture
    95,729 Super User 2025 Season 2 on at

    Hi, This is a really great extension. Thanks for the info.
    Page Control is not difficult, 
    But for the rest, I can't see how it works at the moment.
    Because as far as I know, there is no global control for this kind of processing in the system (visible, filters....), and it is impossible to get the actions and controls on all pages. I'll look into it when I have time.

  • OussamaSabbouh Profile Picture
    6,284 on at

    Thanks dear

    No sure,the standard solution will not be enough.I am thinking to do it dynamically by extension

  • OussamaSabbouh Profile Picture
    6,284 on at

    Yes dear.. exactly

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,664

#2
YUN ZHU Profile Picture

YUN ZHU 960 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans