Skip to Content

How can I hide a specific OOB attribute on backoffice view?

Hi all.

I need to hide a specific OOB attribute on a model from backoffice view. Is it possible? I tried to edit the proper xml by using "hidden" parameter, but it seems not working.

Can anyone help me?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Oct 15, 2019 at 09:30 AM

    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
    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Luca Stochino - You are most welcome. Please accept the answer so that others can also use the solution confidently. You will find the Accept link just below my answer. Additionally, if you like to upvote the answer, you will find an up arrow just below my profile picture (on the left side of the answer).

      I advise you to post a separate question regarding the groovy requirement and I will look into it.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.