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

Unmasking the masked field in business central

(0) ShareShare
ReportReport
Posted on by 82

Hello Experts,

How can we see the value of field which we have set the property to masked in Business Central.

Regards,

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at

    You will have to do that in code by extending the table / page that masks the data.

    Depends a little on what exact field it is.

  • riya patel Profile Picture
    82 on at

    I have to create a new field in the table vendor and what code do i need to do? can you help with the code

    Thanks for your reply

    Regards,

    Riya

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at

    Here you can see an example of how the customer table is extended.

    docs.microsoft.com/.../devenv-table-ext-object

    Same pattern will work for the vendor table.

  • riya patel Profile Picture
    82 on at

    Thanks for the help...But I know how to extend the Table I only want to know how will i display the value of masked field if the user have permission to see it.

    Thanks

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at

    Then you must set the extended datatype to None either on the table or on the page depending on what field you are talking about.

    docs.microsoft.com/.../devenv-extendeddatatype-property

  • riya patel Profile Picture
    82 on at

    You didn't get me correct..Let me explain it to you i need to create a field in vendor card which will be use extended property masked by default...if the user has permission to see that field then he/she will be able to see the value on opening the page and if the user donnot have the permission than the masked will remain as it is.

    Thanks

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at

    There is no really efficient way to do that out of the box. The best way would be to have to version of the page. One showing the field and one not showing the field. Then you can control the user access to the page through the standard permission setup in BC.

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 3,151

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,443 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,092 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans