web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Extended Datatype at runtime

(0) ShareShare
ReportReport
Posted on by 5,136

hello Experts.  Is there a way to set the ExtendedDatatype property of a Text field in a Page at run time?  I.e., I may want to set the extendeddatatype = Masked for column A (text data type) if it meets a certain criteria.  otherwise, I just want to set the extendedatatype=None.  Suggestions?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    4BzSoftware Profile Picture
    6,073 on at
    RE: Extended Datatype at runtime

    Hi Mbr,

    In my opinion, it is impossible.

  • Suggested answer
    Amol Salvi Profile Picture
    18,698 on at
    RE: Extended Datatype at runtime

    Hi

    You can check this link

    msdn.microsoft.com/.../dd338996(v=nav.90).aspx

  • Suggested answer
    Suresh Kulla Profile Picture
    50,233 Super User 2025 Season 2 on at
    RE: Extended Datatype at runtime

    No, it is not possible currently but i think you create two fields one with masked and one without and make one of the fields visible based on your criteria.

  • Suggested answer
    Tharanga Chandrasekara Profile Picture
    23,118 on at
    RE: Extended Datatype at runtime

    As I know it is not possible, however you can try Suresh's suggestion to achieve your goal.

  • Verified answer
    mbr Profile Picture
    5,136 on at
    RE: Extended Datatype at runtime

    HI Suresh,  I did play with it but I am afraid I can't work on visibility of the field as the masked/unmasked property of a specific field is not the same for every single row.  One row may need to use masked property, but another may not need it.  If I work on visibility, I believe it's column specific.  

    Since the consensus from everyone so far is 'it's not possible', then I guess I can just forget about the masked property and just mimic that as a text field so if a specific row passes the criteria, then this var text field will have '****' value.  If not, then show actual value in the var text field.

  • Suggested answer
    Suresh Kulla Profile Picture
    50,233 Super User 2025 Season 2 on at
    RE: Extended Datatype at runtime

    One other thing you could try is Add-in Control  or create a column based on the variable where you can control what value to display.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Saurav.Dhyani Profile Picture

Saurav.Dhyani 2 Super User 2025 Season 2

#2
RK-25090803-0 Profile Picture

RK-25090803-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans