Custom attributes on ECM / UI types as meta-type description?

Hi,

I'd like to be able to define custom attributes/properties on my ECM/UI doc types.

As of today I understand that it is not possible.

Nuxeo guys and other folks, does it make sense for you? Is it something that could be made available ?

Thanks.

—–EDIT—–

I've not been clear. It's all fine to create/override schemas on doc types and Nuxeo really shines in this.

But I'm wondering if it is possible to extend the vocabulary to describe a type : to have custom attributes at meta-type definition level.

Something like that:

 <type id="Folder">
      <label>Folder</label>
      <icon>/icons/folder.gif</icon>
      <bigIcon>/icons/folder_100.png</bigIcon>
      <icon-expanded>/icons/folder_open.gif</icon-expanded>
      <category>Collaborative</category>
      <description>Folder.description</description>
      <default-view>view_documents</default-view>

      <myProperty1>value</myProperty1>
      <myProperty2>value</myProperty2>

      <subtypes>
0 votes

1 answers

2107 views

ANSWER

Hi,

It seems to be possible.

Extract from http://doc.nuxeo.com/display/public/NXDOC/Document+types : "You may need to override an existing schema defined by Nuxeo. As usual, this possible and you have to contribute a schema descriptor with same name. But you must also add an override parameter with value "true"."

I think it is easiest to use our own schemas than nuxeo almost for maintenance reasons. But you should be able to (if I have well understand your question).

12/19/2013



Manuek is right - in fact this type of customization is the raison d'etre of Nuxeo. And if you don't want to have to hand code XML then there is always the option to use Studio to define new schemas, document types, UI presentations and much more.

0 votes



I'd corrected my question, if you have any ideas..
01/13/2014