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

How to remove custom attribute from Backoffice

Former Member
0 Kudos
824

Hi All,

I want to remove few OOB and custom attributes from backoffice. I tried with merge-mode="Remove" but it then moves that attribute to administration tab. Is there any solution?

Accepted Solutions (1)

Accepted Solutions (1)

arvind-kumar_avinash
Active Contributor
0 Kudos

You can add the following custom property for these attributes:

 <custom-properties>
     <property name="hiddenForUI">
         <value>Boolean.TRUE</value>
     </property>
 </custom-properties>

Please check core-items.xml for some examples.

Former Member
0 Kudos

Thanks, It worked for me:)

arvind-kumar_avinash
Active Contributor
arvind-kumar_avinash
Active Contributor
0 Kudos

You are most welcome.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

We can do this by changes custom property(hiddenForUI) value using impex as below.

INSERT_UPDATE AttributeDescriptor;attributeHandler[unique=true];enclosingType(code)[unique=true];hiddenForUI[default=true] ;Product_europe1DiscountsAttributeHandler;Product;TRUE

arvind-kumar_avinash
Active Contributor
0 Kudos

Thank you for sharing your knowledge.