{ "type": "Template Script", "menuItems": [ { "action": "Add UI Object", "label": "Add Template Structure", "disableIfPropertyIsDefined": true, "propertyToCheckFor": "templateStructure", "relatedUiObject": "Template Structure", "actionFunction": "payload.executeAction", "actionProject": "Visual-Scripting", "relatedUiObjectProject": "Foundations" }, { "action": "Add UI Object", "label": "Add Template Target", "disableIfPropertyIsDefined": true, "propertyToCheckFor": "templateTarget", "relatedUiObject": "Template Target", "actionFunction": "payload.executeAction", "actionProject": "Visual-Scripting", "relatedUiObjectProject": "Foundations" }, { "action": "Add UI Object", "label": "Add Javascript Code", "disableIfPropertyIsDefined": true, "propertyToCheckFor": "javascriptCode", "relatedUiObject": "Javascript Code", "actionFunction": "payload.executeAction", "actionProject": "Visual-Scripting", "relatedUiObjectProject": "Foundations" }, { "action": "Delete UI Object", "actionProject": "Visual-Scripting", "askConfirmation": true, "confirmationLabel": "Confirm to Delete", "label": "Delete", "iconPathOn": "delete-entity", "iconPathOff": "delete-entity", "actionFunction": "payload.executeAction" } ], "propertyNameAtParent": "templateScripts", "isTitleAllwaysVisible": true, "addLeftIcons": true, "level": 3, "attachingRules": { "compatibleTypes": "->Master Script->" }, "childrenNodesProperties": [ { "name": "templateStructure", "type": "node", "childType": "Template Structure", "autoAdd": true }, { "name": "templateTarget", "type": "node", "childType": "Template Target", "autoAdd": true }, { "name": "javascriptCode", "type": "node", "childType": "Javascript Code", "autoAdd": true } ] }