2 Sep 11:23
custom sub-typing
From: Xavier Pétard <xavier.petard@...>
Subject: custom sub-typing
Newsgroups: gmane.comp.cms.nuxeo.general
Date: 2008-09-02 09:25:41 GMT
Subject: custom sub-typing
Newsgroups: gmane.comp.cms.nuxeo.general
Date: 2008-09-02 09:25:41 GMT
Hi all,
I've defined custom types (let's say MyDoc and MyFolder), and can create some in the repository.
But I'd like to have these custom types only : is it possible to (a) overwrite the File and Folder type (or define a Facet and add it to File and Folder types ?) (b) to prevent Folder or File creation at the root of workspaces (ie, avoid Workspace>Folder, to have only Workspace>MyFolder>MyDoc, or Workspace>MyDoc ?
If it is, can webdav and/or drag&drop plugins import custom types, depending on the destination folder (for instance, if a file is uploaded in a MyFolder, then it is a MyDoc. If a folder is uploaded in a MyFolder, it is a MyFolder) This could be useful to upload subsections via webdav (since sections can only contain sections and not folders).
Thanks a lot,
Xavier
-- Xavier Pétard Centre de Ressources Informatiques Université de La Rochelle
I've defined custom types (let's say MyDoc and MyFolder), and can create some in the repository.
But I'd like to have these custom types only : is it possible to (a) overwrite the File and Folder type (or define a Facet and add it to File and Folder types ?) (b) to prevent Folder or File creation at the root of workspaces (ie, avoid Workspace>Folder, to have only Workspace>MyFolder>MyDoc, or Workspace>MyDoc ?
If it is, can webdav and/or drag&drop plugins import custom types, depending on the destination folder (for instance, if a file is uploaded in a MyFolder, then it is a MyDoc. If a folder is uploaded in a MyFolder, it is a MyFolder) This could be useful to upload subsections via webdav (since sections can only contain sections and not folders).
Thanks a lot,
Xavier
-- Xavier Pétard Centre de Ressources Informatiques Université de La Rochelle
_______________________________________________ ECM mailing list ECM@... http://lists.nuxeo.com/mailman/listinfo/ecm
RSS Feed