on 06-03-2019 1:25 PM
We have a few attributes in PCM, which we want to make as non-editable attributes. We are using 1811 version.
You can add the following custom property for these attributes:
<custom-properties>
<property name="readOnlyForUI">
<value>Boolean.TRUE</value>
</property>
</custom-properties>
Please check core-items.xml
for some examples.
Alternatively, you can import the following ImpEx:
INSERT_UPDATE AttributeDescriptor;qualifier[unique=true];enclosingType(code)[unique=true];readOnlyForUI
;the-attribute-qualifier;the-itemtype;TRUE
Note: Change the-attribute-qualifier and the-itemtype with your attribute and itemtype.
For example, the following ImpEx will make the attribute, name (displayed with the label, Identifier) readOnly
(non-editable) for all users, including admin
:
INSERT_UPDATE AttributeDescriptor;qualifier[unique=true];enclosingType(code)[unique=true];readOnlyForUI
;name;Product;TRUE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.