This functionality creates new nodes upon publishing a node, following user-defined rules. With configurations to control node creation conditions, automatic node creation simplifies your workflow.
"DotSee.Discipline": {
"AutoNode": {
"Settings": {
"LogLevel": "Verbose",
"RepublishExistingNodes": "false"
},
"Rules": [
{
"CreatedDocTypeAlias": "pageHome",
"DocTypeAliasToCreate": "folderConfiguration",
"NodeName": "Settings",
"BringNewNodeFirst": "false",
"OnlyCreateIfNoChildren": "false",
"CreateIfExistsWithDifferentName": "false",
"DictionaryItemForName": "",
"Blueprint": ""
},
{
"CreatedDocTypeAlias": "folderConfiguration",
"DocTypeAliasToCreate": "configGlobalSettings",
"NodeName": "Global",
"BringNewNodeFirst": "false",
"OnlyCreateIfNoChildren": "false",
"CreateIfExistsWithDifferentName": "false",
"DictionaryItemForName": "",
"Blueprint": ""
},
{
"CreatedDocTypeAlias": "folderConfiguration",
"DocTypeAliasToCreate": "configBackOfficeSettings",
"NodeName": "Back Office",
"BringNewNodeFirst": "false",
"OnlyCreateIfNoChildren": "false",
"CreateIfExistsWithDifferentName": "false",
"DictionaryItemForName": "",
"Blueprint": ""
},
{
"CreatedDocTypeAlias": "folderConfiguration",
"DocTypeAliasToCreate": "configSeoSettings",
"NodeName": "SEO",
"BringNewNodeFirst": "false",
"OnlyCreateIfNoChildren": "false",
"CreateIfExistsWithDifferentName": "false",
"DictionaryItemForName": "",
"Blueprint": ""
}
]
},
"NodeRestrict": {
"Settings": {
"PropertyAlias": null,
"ShowWarnings": true
},
"Rules": [
{
"ParentDocType": "pageHome",
"ChildDocType": "folderConfiguration",
"MaxNodes": 1,
"ShowWarnings": true,
"CustomMessage": "Only one Settings Node is allowed.",
"CustomMessageCategory": "Limit Reached",
"CustomWarningMessage": "Only one Settings one can be created under Home.",
"CustomWarningMessageCategory": "Limit warning"
}
]
}
}
.code-dark code[class*="language-"],
pre[class*="language-"].code-dark {
color: #ccc;
text-shadow: none !important;
border-left: 0;
}
You can define rules that determine the document types to be included, node names to be added (either statically or from dictionary entries), and even control the placement of the new node within the Umbraco back-end.
You can define rules that determine the document types to be included, node names to be added (either statically or from dictionary entries), and even control the placement of the new node within the Umbraco back-end.