Automatic section creation

Hello,

I would like to reorganize the nuxeo tree structure to make workspaces and sections are mirrored.

I want to set up a mechanism that automatically creates the section tree based on the workspaces I create.

example:

If I create the following tree structure:

  • Workspace_1
    • Folder 1
    • Folder 2
  • Workspace_2
    • Folder 1
    • Folder 2

I automacately get

Sections

  • Section_1 (with the same name of workspace_1)
    • Folder 1 (with the same name of folder 1)
    • Folder 2
  • Section_2
    • Folder 1
    • Folder 2
0 votes

1 answers

69 views

ANSWER



Hello,

You can do it with the Nuxeo Structure Template: https://doc.nuxeo.com/studio/structure-templates/. You need to use it for the Domain doucment type and call your structure template in Nuxeo Studio “DomainFactory”.

Regards

0 votes