cancel
Showing results for 
Search instead for 
Did you mean: 

How to not display new attributes in backoffice hmc

0 Kudos

When adding new attributes to a type, it is automatically added in hmc and backoffice hmc. However, i don't want these attributes be displayed in hmc and backoffice hmc. I was able to remove the attributes in hmc using exclusion in hmc.xml but I don't have any idea for backoffice hmc. Is this possible in backoffice hmc?

Thanks

View Entire Topic
former_member679962
Active Participant
0 Kudos

Hi Gersam,

If you are sure you don't want these attributes to be displayed anywhere in backoffice the easiest way would be setting the hiddenForUI property for all of them. You can do it with following snippet:

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

It should be set inside of the attribute itself in items.xml file. Backoffice fully respects this property.

Cheers,
Marcin

0 Kudos

How about for relation type?

former_member679962
Active Participant
0 Kudos

Same applies. RelationElement (source and target) also accepts custom properties. You can find it all in items.xml Element Reference doc.

0 Kudos

Hi,

I have tried this approach to hide attribute in Admin tab but it is not working in both HMC and Backoffice as well.

Can you please suggest on this whether we need to any more changes.

Regards