Export nodes in the hierarchy in XLS format, including
ancestor references.
This is controlled by the hierarchy_export setting, which is
a dict like:
{
"field": "name", - the field name for the ancestor reference
"root": "Organisation" - the label for the root level
"branch": "Branch" - the label for the branch levels
"prefix": "Sub" - the prefix for the branch label
}
With this configuration, the ancestor columns would appear like:
Organisation, Branch, SubBranch, SubSubBranch, SubSubSubBranch,...
All parts of the setting can be omitted, the defaults are as follows:
- "field" defaults to "name"
- "root" is automatically generated from the resource name
- "branch" defaults to prefix+root
- "prefix" defaults to "Sub"
@status: experimental
|