cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to hide attributes in smart edit?

Former Member
0 Kudos
1,683

Would like to ask how we can hide attributes/fields in the smart edit for a given component. Current version of SAP Hybris is 1811.

Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

arvind-kumar_avinash
Active Contributor
0 Kudos

You can add the following custom property for the attribute:

  <custom-properties>
      <property name="hiddenForUI">
          <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];hiddenForUI 
  ;the-attribute-to-be-hidden;the-itemtype-to-which-the-attribute-belongs;TRUE