{ "custom": {}, "params": {}, "props": { "defaultSize": { "height": 2400, "width": 1400 } }, "root": { "children": [ { "meta": { "name": "DH FlexRepeater" }, "position": { "basis": "907px", "shrink": 0 }, "props": { "elementPosition": { "basis": "100%" }, "instances": [ { "DH": 101, "instancePosition": {}, "instanceStyle": { "classes": "" }, "tagPath": "[Ignition_Common_IO_Gtwy]DH1" }, { "DH": 102, "instancePosition": {}, "instanceStyle": { "classes": "" }, "tagPath": "[Ignition_Common_IO_Gtwy]DH2" }, { "DH": 201, "instancePosition": {}, "instanceStyle": { "classes": "" }, "tagPath": "[Ignition_Common_IO_Gtwy]DH3" }, { "DH": 202, "instancePosition": {}, "instanceStyle": { "classes": "" }, "tagPath": "[Ignition_Common_IO_Gtwy]DH4" }, { "DH": 203, "instancePosition": {}, "instanceStyle": { "classes": "" }, "tagPath": "[Ignition_Common_IO_Gtwy]DH5" } ], "path": "Library/Cards/Card_DH", "style": { "gap": 10, "overflow": "visible" }, "useDefaultViewHeight": false, "useDefaultViewWidth": false }, "type": "ia.display.flex-repeater" } ], "meta": { "contextMenu": { "enabled": true, "items": [ { "children": [], "icon": { "color": "", "path": "", "style": {} }, "link": { "target": "self", "url": "" }, "message": { "payload": {}, "scope": "page", "type": "" }, "method": { "name": "setHomepage", "params": {} }, "style": { "classes": "" }, "text": "Set Homepage", "type": "method" } ] }, "name": "root" }, "props": { "direction": "column", "style": { "backgroundColor": "var(--containerRoot)", "gap": 10, "overflow": "scroll", "padding": 10 } }, "scripts": { "customMethods": [ { "name": "setHomepage", "params": [], "script": "\t# implement your method here\n\tview \u003d \"Pages/Dev/C_AirSystem/L1/C101 L1 Overview\"\n\t\n\tuser \u003d self.session.props.auth.user.userName\n\tif user !\u003d \"\":\n\t\tutils.admin.user.saveSettings({\"Homepage\":view}, user)\n\t\tself.session.refreshBinding(\"custom.user_settings\")" } ], "extensionFunctions": null, "messageHandlers": [] }, "type": "ia.container.flex" } }