2024 Sep 23 11:09 PM - edited 2024 Sep 23 11:14 PM
Hello,
We have created a Fiori Elements App and used the List Report Floor Plan for generating the front end application. We would need to mask a couple of fields like Security Token, User Password, etc. As per SAP Help in the following link, we should be able to achieve this by using the annotation @ui.masked: true. However, it does not seem to have any effect when we add this annotation to the Metadata Extension.
https://help.sap.com/doc/saphelp_nw75/7.5.5/en-US/95/86f9043c194cfcb6b72c671e50d690/frameset.htm
Any help would be appreciated.
Thank you.
The way you can identify this is by checking your $metadata
As given below
<Property Name="Password" />
<Annotations Target="Password" xmlns="http://docs.oasis-open.org/odata/ns/edm">
<Annotation Term="com.sap.vocabularies.Common.v1.Masked" />
</Annotations>
Determines that a control must not display the actual value in a field with sensitive data, but replace it with a placeholder, for example, *. Use this annotation for sensitive data.
And it's available since: 1.28.1 make sure your UI5 version is higher than this.
class sap.ui.comp.smartfield.SmartField
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
10 | |
8 | |
8 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.