Skip to main content
Business Central forum
Answered

Unmasking the masked field in business central

editSubscribe (0) ShareShare
ReportReport
Posted on by 80

Hello Experts,

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

Regards,

Categories:
  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,714 Super User on at
    RE: Unmasking the masked field in business central

    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.

  • riya patel Profile Picture
    riya patel 80 on at
    RE: Unmasking the masked field in business central

    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
    Inge M. Bruvik 32,714 Super User on at
    RE: Unmasking the masked field in business central

    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
    riya patel 80 on at
    RE: Unmasking the masked field in business central

    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
    Inge M. Bruvik 32,714 Super User on at
    RE: Unmasking the masked field in business central

    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
    riya patel 80 on at
    RE: Unmasking the masked field in business central

    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
    Inge M. Bruvik 32,714 Super User on at
    RE: Unmasking the masked field in business central

    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.

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,045 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,570 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans