Skip to main content

Notifications

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 24

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

  • OussamaSabbouh Profile Picture
    24 on at
    RE: Field visibility

    Yes dear.. exactly

  • OussamaSabbouh Profile Picture
    24 on at
    RE: Field visibility

    Thanks dear

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

  • Suggested answer
    YUN ZHU Profile Picture
    81,360 Super User 2025 Season 1 on at
    RE: Field visibility

    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.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,021 Moderator on at
    RE: Field visibility

    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.

  • OussamaSabbouh Profile Picture
    24 on at
    RE: Field visibility

    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
    YUN ZHU Profile Picture
    81,360 Super User 2025 Season 1 on at
    RE: Field visibility

    Hi, hope the following can give you some hints.

    https://yzhums.com/14752/

    Thanks.

    ZHU

  • OussamaSabbouh Profile Picture
    24 on at
    RE: Field visibility

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

  • Suggested answer
    JAngle Profile Picture
    83 on at
    RE: Field visibility

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

  • OussamaSabbouh Profile Picture
    24 on at
    RE: Field visibility

    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
    83 on at
    RE: Field visibility

    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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,095 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans