Skip to main content
Solved

Add Password Mask in Modern UI


epetruncio
Freshman II

I am trying to adjust a field so that the input is masked like a password field. I have it in my classic UI customization, but I am unable to find any resources for implementing this in the modern UI.

The field in question is a base field on an Acumatica page. The field is the “Header Value” field in the “Push Notifications” page SM302000. 

I have two questions:

The first is what and where do I add modifications to adjust this field to be masked as a password? Do I adjust the DAC definition for the modern UI, do I adjust the view definition of this field in an extension .ts file, and/or do I create an html extension field that modifies it?

The second question is what would that syntax look like? What specifically do I need to add to create the password masking?

I did try to look for examples within the provided Acumatica code, but was unable to find any examples.

Best answer by Django

You can use the following attribute on the field:

[PXRSACryptString(512, IsUnicode = true)]

 

This community post has some more information on it.

 

View original
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img+6
  • Captain II
  • 553 replies
  • Answer
  • March 5, 2025

You can use the following attribute on the field:

[PXRSACryptString(512, IsUnicode = true)]

 

This community post has some more information on it.

 


epetruncio
Freshman II
  • Author
  • Freshman II
  • 4 replies
  • March 5, 2025

Thanks Django, that appears to have worked, and that was exactly what I was looking for.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings