Skip to Content
author's profile photo Former Member
Former Member

List of Cockpit configuration group attribute ?

Hello,

I'm looking for an exhaustive list of available attributes for customizing the cockpit EditorAera for exemple. Here is an instance of one of the group block in one editorAreaXXX.xml:

 <group qualifier="legal" visible="true" initially-opened="true"
     show-if-empty="false" printable="true">

     <label lang="en">Legal Text</label>
     <label lang="en_GB">Legal Text</label>

     <property qualifier="BLABLA.additionalNotes" visible="true" editor="wysiwyg" />
     <property qualifier="BLABLA.legalTextHeading"    visible="true" editor="wysiwyg" />
     <property qualifier="BLABLA.dteList" editor="multi" visible="true" />

 </group>

So, in the Hybris wiki, I've found : - visible - initially-open - show-if-empty (seems to not work for me)

Do you know other attributes, for instance to: - Set read-only a property ? - Hide if there any available information on the group ? - More generally, an exhaustive list of attribute for property, group tag ?

Thanks you very much for your help. Best Regards.

.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 28, 2015 at 06:43 PM

    Hi Garnier,

    You can view what attributes are available by checking the schema that an xml file is validated against, i.e. an xsd file. Notice in the editorArea-xxx xml's the root element is editor. This is defined in the {Path-to-hybris}\bin\ext-cockpit\cockpit\resources\editor.xsd. In the group complexType you can see a complete list of the allowed attributes for the group and also what child elements are allowed inside (in this case label or property). Likewise you can see a similar structure in the property complexType, which allows parameter as a child and has attributes qualifier, visible, editor etc.

    I hope this information is useful to you.

    Kind Regards,

    Ben

    Add a comment
    10|10000 characters needed characters exceeded

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.