{ "type": "Managed Stop Loss", "menuItems": [ { "action": "Add UI Object", "label": "Add Phase", "relatedUiObject": "Phase", "actionFunction": "payload.executeAction", "actionProject": "Visual-Scripting", "relatedUiObjectProject": "Foundations" }, { "action": "Add UI Object", "label": "Add Manged SL Portfolio Formula", "disableIfPropertyIsDefined": true, "propertyToCheckFor": "managedStopLossPMFormula", "relatedUiObject": "Managed Stop Loss PM Formula", "actionFunction": "payload.executeAction", "relatedUiObjectProject": "Foundations", "actionProject": "Visual-Scripting" }, { "action": "Delete UI Object", "actionProject": "Visual-Scripting", "askConfirmation": true, "confirmationLabel": "Confirm to Delete", "label": "Delete", "iconPathOn": "delete-entity", "iconPathOff": "delete-entity", "actionFunction": "payload.executeAction" } ], "addLeftIcons": true, "level": 1, "attachingRules": { "compatibleTypes": "->Manage Stage->Initial Definition->" }, "childrenNodesProperties": [ { "name": "phases", "type": "array", "childType": "Phase", "autoAdd": true }, { "name": "managedStopLossPMFormula", "type": "node", "childType": "Managed Stop Loss PM Formula" } ], "propertyNameAtParent": "managedStopLoss" }