profoundjs
Version:
Profound.js Framework and Server
1,628 lines • 50.3 kB
JSON
{
"text": "",
"logic": {
"load records": {
"steps": [
{
"text": "Custom SQL",
"answers": {
"plugin": "Database:custom-sql",
"sql": "Select ID, envname,envdesc,jobdesc,\r\ncase\r\n when pjsHost = '' then ''\r\n when pjsPort > '' then\r\n trim(pjsProtol) || '://' || trim(pjsHost) || ':' || pjsPort \r\n else\r\n trim(pjsProtol) || '://' || trim(pjsHost)\r\n end as pjs_url, \r\ndisabled\r\nFrom ATENVIR\r\norder by envname;",
"save_result": true,
"first_record_only": false,
"destination": "Grid",
"grid": "grid",
"comment": ""
}
},
{
"text": "Success?",
"answers": {
"plugin": "Conditions:success",
"not": true,
"comment": ""
},
"isStructureStart": true,
"collapsed": false
},
{
"text": "Show message box",
"answers": {
"plugin": "Navigation:show-message-box",
"title": "err",
"message": "err",
"icon": "",
"button1": "",
"button2": "",
"button3": "",
"button4": "",
"button5": "",
"capture_response": false,
"comment": ""
}
},
{
"isStructureEnd": true
}
]
},
"edit icon click": {
"steps": [
{
"text": "Retrieve record",
"answers": {
"plugin": "Database:get-record",
"tables": "ATENVIR",
"columns": "id,envname,envdesc,jobdesc,pjsprotol,pjshost,pjsport,disabled,tsadded,adduser,tslstchg,upduser,tsdisable,disuser,notes",
"criteria": "id = ?",
"parameter": "activeGridRecord[\"id\"]",
"destination": "Screen",
"screen": "detailScreen",
"comment": ""
}
},
{
"text": "Call another routine",
"answers": {
"plugin": "Navigation:call-routine",
"routine-name": "Retrieve Library List",
"argument": "",
"comment": ""
}
},
{
"text": "Show edit window",
"answers": {
"plugin": "Navigation:show-screen",
"screen": "detailScreen",
"populate": true,
"source": "Specify each value individually",
"screen-values": {
"idKey": "activeGridRecord[\"id\"]",
"editMode": "true",
"copyId": "''",
"dialogTitle": "'Edit Record'"
},
"comment": ""
}
}
]
},
"save button click": {
"steps": [
{
"text": "Custom Node.js",
"answers": {
"plugin": "Custom:code",
"custom-code": "debugger;\r\n",
"comment": ""
},
"disabled": true
},
{
"text": "New Record?",
"answers": {
"plugin": "Conditions:comparison",
"variable": "detailScreen[\"editMode\"]",
"type": "==",
"value": "false",
"and-or": "",
"comment": ""
},
"isStructureStart": true,
"collapsed": false
},
{
"text": "Generate the UUID",
"answers": {
"plugin": "Program Data:set-screen-fields",
"screen": "detailScreen",
"source": "Specify each value individually",
"screen-values": {
"id": "pjs.newUUID()",
"upduser": "''",
"adduser": "pjs.getUser()",
"tslstchg": "pjs.timestamp()",
"macroname": "''",
"logflag": "0",
"rercdflag": "0",
"validflag": "0"
},
"comment": ""
}
},
{
"isStructureEnd": true
},
{
"text": "Otherwise",
"answers": {
"plugin": "Conditions:else",
"comment": ""
},
"isStructureStart": true,
"collapsed": false
},
{
"text": "Set changed by user",
"answers": {
"plugin": "Program Data:set-screen-fields",
"screen": "detailScreen",
"source": "Specify each value individually",
"screen-values": {
"upduser": "pjs.getUser()",
"tslstchg": "pjs.timestamp()"
},
"comment": ""
}
},
{
"isStructureEnd": true
},
{
"text": "is Disabled?",
"answers": {
"plugin": "Conditions:comparison",
"variable": "detailScreen[\"disabled\"]",
"type": "==",
"value": "1",
"and-or": "",
"comment": ""
},
"isStructureStart": true,
"collapsed": false
},
{
"text": "Set disabled info",
"answers": {
"plugin": "Program Data:set-screen-fields",
"screen": "detailScreen",
"source": "Specify each value individually",
"screen-values": {
"tsdisable": "pjs.timestamp()",
"disuser": "pjs.getUser()"
},
"comment": ""
}
},
{
"isStructureEnd": true
},
{
"text": "Otherwise",
"answers": {
"plugin": "Conditions:else",
"comment": ""
},
"isStructureStart": true,
"collapsed": false
},
{
"text": "Clear disabled info",
"answers": {
"plugin": "Program Data:set-screen-fields",
"screen": "detailScreen",
"source": "Specify each value individually",
"screen-values": {
"tsdisable": "'0001-01-01 00:00:00.000000'",
"disuser": "''"
},
"comment": ""
}
},
{
"isStructureEnd": true
},
{
"text": "Update/insert record",
"answers": {
"plugin": "Database:update-insert-record",
"table": "ATENVIR",
"criteria": "id = ?",
"parameter": "detailScreen[\"idKey\"]",
"record_source": "From a screen",
"screen": "detailScreen",
"results": "",
"comment": ""
}
},
{
"text": "Any problems?",
"answers": {
"plugin": "Conditions:success",
"not": true
},
"isStructureStart": true,
"collapsed": false
},
{
"text": "Show message",
"answers": {
"plugin": "Navigation:show-message-box",
"title": "Error",
"message": "Record could not be saved.\r\n<br/>\r\n<br/>\r\n${_error.message}",
"icon": "error",
"button1": "",
"button2": "",
"button3": "",
"button4": "",
"button5": "",
"capture_response": false
}
},
{
"text": "Stop",
"answers": {
"plugin": "Navigation:terminate-routine"
}
},
{
"isStructureEnd": true
},
{
"text": "Copy Commands?",
"answers": {
"plugin": "Conditions:comparison",
"variable": "detailScreen[\"copyId\"]",
"type": ">",
"value": "''",
"and-or": "",
"comment": ""
},
"isStructureStart": true,
"collapsed": false
},
{
"text": "Retrieve commands",
"answers": {
"plugin": "Database:get-records",
"tables": "ATENVCMDS",
"columns": "envid,cmdseq,command,chronology,disabled,conterrs,tsdisable,disuser",
"criteria": "envid = ?",
"parameter": "detailScreen[\"copyId\"]",
"add_order_by": false,
"limit": "",
"skip": "",
"destination": "Work variable",
"work_variable": "commandsRecords",
"comment": ""
}
},
{
"text": "Process list",
"answers": {
"plugin": "Program Data:process-list",
"list": "commandsRecords",
"work_variable": "record",
"comment": ""
},
"isStructureStart": true,
"collapsed": false
},
{
"text": "Write commands",
"answers": {
"plugin": "Database:insert-record",
"table": "ATENVCMDS",
"record_source": "Specify each column value individually",
"column-values": {
"id": "pjs.newUUID()",
"envid": "detailScreen[\"id\"]",
"cmdseq": "record[\"cmdseq\"]",
"command": "record[\"command\"]",
"chronology": "record[\"chronology\"]",
"disabled": "record[\"disabled\"]",
"conterrs": "record[\"conterrs\"]",
"tsadded": "pjs.timestamp()",
"adduser": "pjs.getUser()",
"tslstchg": "pjs.timestamp()",
"upduser": "pjs.getUser()",
"tsdisable": "record[\"tsdisable\"]",
"disuser": "record[\"disuser\"]"
},
"results": "",
"comment": ""
}
},
{
"isStructureEnd": true
},
{
"isStructureEnd": true
},
{
"text": "Go back",
"answers": {
"plugin": "Navigation:show-screen",
"screen": "mainScreen",
"populate": false
}
}
]
},
"cancel button click": {
"steps": [
{
"text": "Go back",
"answers": {
"plugin": "Navigation:show-screen",
"screen": "mainScreen",
"populate": false
}
}
]
},
"routine 1": {
"steps": [
{
"text": "Call another Rich Display",
"answers": {
"plugin": "Navigation:call-rich-display",
"rich-display-name": "atenvcmds.json",
"transfer-control": false,
"argument": "activeGridRecord[\"id\"]",
"argument_2": "activeGridRecord[\"envname\"]",
"argument_3": "activeGridRecord[\"envdesc\"]",
"comment": ""
}
}
]
},
"Copy Record": {
"steps": [
{
"text": "Retrieve record",
"answers": {
"plugin": "Database:get-record",
"tables": "ATENVIR",
"columns": "id,jobdesc,pjsprotol,pjshost,pjsport,disabled,tsadded,adduser,tslstchg,upduser,tsdisable,disuser,notes",
"criteria": "id = ?",
"parameter": "activeGridRecord[\"id\"]",
"destination": "Screen",
"screen": "detailScreen",
"comment": ""
}
},
{
"text": "Set screen field(s)",
"answers": {
"plugin": "Program Data:set-screen-fields",
"screen": "detailScreen",
"source": "Specify each value individually",
"screen-values": {
"editMode": "false",
"id": "''",
"envname": "''",
"envdesc": "''"
},
"comment": ""
}
},
{
"text": "Show edit window",
"answers": {
"plugin": "Navigation:show-screen",
"screen": "detailScreen",
"populate": true,
"source": "Specify each value individually",
"screen-values": {
"editMode": "false",
"copyId": "activeGridRecord[\"id\"]",
"dialogTitle": "'Add Record'"
},
"comment": ""
}
}
]
},
"Retrieve Library List": {
"steps": [
{
"text": "Clear grid",
"answers": {
"plugin": "Grids:clear-grid",
"grid": "gridA",
"comment": ""
}
},
{
"text": "Split out the Job Description",
"answers": {
"plugin": "Custom:code",
"custom-code": "const [jobdLib, jobd] = detailScreen[\"jobdesc\"].split('/');",
"comment": ""
}
},
{
"text": "Custom SQL",
"answers": {
"plugin": "Database:custom-sql",
"sql": "SELECT library_list_count, library_List\r\n FROM QSYS2.JOB_DESCRIPTION_INFO\r\n Where job_description_library = ? and \r\n job_description = ?;",
"parameter": "jobdLib",
"parameter_2": "jobd",
"save_result": true,
"first_record_only": true,
"destination": "Work variable",
"work_variable": "jobd_library",
"comment": ""
}
},
{
"text": "Convert library list to array",
"answers": {
"plugin": "Custom:code",
"custom-code": "const libraryArray = [];\r\n\r\nif (Object.keys(jobd_library).length > 0) {\r\nfor ( let i = 0; i < jobd_library[\"library_list\"].length - 1; i += 11) {\r\n const chunk = jobd_library[\"library_list\"].substring(i, i + 10);\r\n libraryArray.push(chunk);\r\n}\r\n}\r\n\r\n",
"comment": ""
}
},
{
"text": "Process list",
"answers": {
"plugin": "Program Data:process-list",
"list": "libraryArray",
"work_variable": "record",
"comment": ""
},
"isStructureStart": true,
"collapsed": false
},
{
"text": "Add grid record",
"answers": {
"plugin": "Grids:add-grid-record",
"grid": "gridA",
"record_source": "Specify each field value individually",
"field-values": {
"libraryName": "record"
},
"to_top": false,
"comment": ""
}
},
{
"isStructureEnd": true
}
]
},
"delete icon click": {
"steps": [
{
"text": "Ask to confirm",
"answers": {
"plugin": "Navigation:show-message-box",
"title": "Delete Record",
"message": "Are you sure?",
"icon": "question",
"button1": "Yes",
"button2": "No",
"button3": "",
"button4": "",
"button5": "",
"capture_response": true,
"destination": "Work variable",
"work_variable": "sure"
}
},
{
"text": "If sure",
"answers": {
"plugin": "Conditions:comparison",
"variable": "sure",
"type": "==",
"value": "'Yes'",
"and-or": ""
},
"isStructureStart": true,
"collapsed": false
},
{
"text": "Remove Environment Commands",
"answers": {
"plugin": "Database:delete-records",
"table": "ATENVCMDS",
"criteria": "envid = ?",
"parameter": "activeGridRecord[\"id\"]",
"results": "",
"comment": ""
}
},
{
"text": "Remove Environment",
"answers": {
"plugin": "Database:delete-records",
"table": "ATENVIR",
"criteria": "id = ?",
"parameter": "activeGridRecord[\"id\"]",
"results": "",
"comment": ""
}
},
{
"text": "Any problems?",
"answers": {
"plugin": "Conditions:success",
"not": true
},
"isStructureStart": true,
"collapsed": false
},
{
"text": "Show message",
"answers": {
"plugin": "Navigation:show-message-box",
"title": "Error",
"message": "Record could not be deleted.\r\n<br/>\r\n<br/>\r\n${_error.message}",
"icon": "error",
"button1": "",
"button2": "",
"button3": "",
"button4": "",
"button5": "",
"capture_response": false
}
},
{
"isStructureEnd": true
},
{
"isStructureEnd": true
}
]
},
"add button click": {
"steps": [
{
"text": "Show detail screen for adding a record",
"answers": {
"plugin": "Navigation:show-screen",
"screen": "detailScreen",
"populate": true,
"source": "Specify each value individually",
"screen-values": {
"idKey": "''",
"editMode": "false",
"dialogTitle": "'Add Record'",
"id": "''",
"tsdisable": "'0001-01-01-00.00.00.000000'",
"tslstchg": "'0001-01-01-00.00.00.000000'",
"envname": "''",
"envdesc": "''",
"jobdesc": "''",
"pjsprotol": "''",
"pjshost": "''",
"pjsport": "''",
"disabled": "0"
},
"comment": ""
}
}
]
},
"exit button click": {
"steps": [
{
"text": "Exit",
"answers": {
"plugin": "Navigation:exit-program",
"comment": ""
}
}
]
},
"user defaults button click": {
"steps": [
{
"text": "Call another Rich Display",
"answers": {
"plugin": "Navigation:call-rich-display",
"rich-display-name": "atuserenvirdefaults.json",
"transfer-control": false,
"argument": "",
"comment": ""
}
}
]
}
},
"formats": [
{
"screen": {
"record format name": "mainScreen",
"initial routine": {
"routine": "load records",
"designValue": "load records"
},
"description": "List or Search Records",
"user defined routine": {
"routine": "Copy Record",
"designValue": "Copy Record"
},
"external css": "\\profoundui\\proddata\\css\\plogic.css",
"external javascript": "\\profoundui\\proddata\\js\\plogic.grids.js"
},
"items": [
{
"id": "Layout1",
"field type": "layout",
"css class": "plogic--panel--wide",
"left": "30px",
"top": "25px",
"template": "css panel",
"header text": "Environment Maintenance",
"header theme": "blueprint-white-header",
"body theme": "blueprint-white-body",
"height": "60px",
"width": "180px",
"z index": "8",
"css class 2": "blueprint-defaults",
"has header": "true",
"header height": "45px"
},
{
"id": "GraphicButton1",
"field type": "graphic button",
"css class": "blueprint-button",
"value": "Add",
"left": "30px",
"top": "95px",
"width": "100px",
"icon position": "left",
"css class 2": "blueprint-alt-defaults",
"css class 3": "no-icon",
"height": "25px",
"icon": "material:add",
"onclick": {
"routine": "add button click",
"designValue": "add button click"
}
},
{
"id": "GraphicButton2",
"field type": "graphic button",
"css class": "pui-solid-button-no",
"value": "Exit",
"left": "140px",
"top": "95px",
"width": "100px",
"icon position": "left",
"css class 2": "blueprint-defaults",
"icon": "material:clear",
"height": "25px",
"onclick": {
"routine": "exit button click",
"designValue": "exit button click"
}
},
{
"id": "filterAll",
"field type": "textbox",
"css class": "blueprint-defaults",
"placeholder": "Filter All",
"float placeholder": "true",
"left": "30px",
"top": "130px",
"height": "25px",
"width": "1025px",
"css class 2": "blueprint-textbox",
"onkeyup": "plogic.grid.setFilter('Grid', this);"
},
{
"id": "Grid",
"field type": "grid",
"css class": "blueprint-grid",
"left": "30px",
"top": "165px",
"number of rows": "15",
"number of columns": "6",
"column headings": "Actions,Name,Description,Job Description,Profound.js Address,Disabled,Profound UI Address",
"column widths": "148,123,222,200,239,93",
"header height": "35",
"row height": "33",
"height": "497px",
"width": "1026px",
"border color": "var(--color--grid-border)",
"record format name": "grid",
"border width": "1px",
"sortable columns": "true",
"movable columns": "true",
"persist state": "session only",
"show page number": "false",
"find option": "true",
"filter option": "true",
"hide columns option": "true",
"reset option": "true",
"row selection": "single",
"description": "Grid of Records",
"subfile record number": {
"fieldName": "topRecordNumber",
"dataLength": "5",
"decPos": "0",
"curSym": "",
"dataType": "zoned",
"formatting": "Number",
"negNum": "-999.00",
"units": ""
},
"position at top": "true",
"subfile return rrn": {
"fieldName": "topRecordNumber",
"dataLength": "5",
"decPos": "0",
"curSym": "",
"dataType": "zoned",
"formatting": "Number",
"negNum": "-999.00",
"units": ""
},
"resizable columns": "true",
"export with headings": "true",
"xlsx export": "true",
"header text align": ",,,,,center,",
"show bar": "true",
"scrollbar": "sliding",
"scroll tool tip": "row number",
"export option": "true",
"export only visible columns": "true"
},
{
"id": "GraphicButton3",
"field type": "graphic button",
"css class": "blueprint-button",
"value": "5250 Defaults",
"left": "250px",
"top": "95px",
"width": "145px",
"icon position": "left",
"css class 2": "blueprint-alt-defaults",
"css class 3": "no-icon",
"height": "25px",
"icon": "material:computer",
"onclick": {
"routine": "user defaults button click",
"designValue": "user defaults button click"
}
},
{
"id": "EditIcon",
"field type": "icon",
"left": "10px",
"top": "0px",
"icon": "fontAwesome-solid:edit",
"cursor": "pointer",
"tool tip": "Edit record...",
"onclick": {
"routine": "edit icon click",
"designValue": "edit icon click"
},
"css class": "color-primary",
"user defined data": {
"fieldName": "id",
"refField": "id ATENVIR",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"dataType": "reference",
"formatting": "Text",
"textTransform": "none"
},
"grid": "Grid",
"column": "0"
},
{
"id": "DeleteIcon",
"field type": "icon",
"left": "46px",
"top": "0px",
"icon": "material:delete_forever",
"cursor": "pointer",
"tool tip": "Delete record...",
"css class": "color-red",
"user defined data": {
"fieldName": "id",
"refField": "id ATENVIR",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"dataType": "reference",
"formatting": "Text",
"textTransform": "none"
},
"onclick": {
"routine": "delete icon click",
"designValue": "delete icon click"
},
"grid": "Grid",
"column": "0"
},
{
"id": "Icon1",
"field type": "icon",
"left": "81px",
"top": "0px",
"icon": "fontAwesome-solid:tasks",
"tool tip": "Work with commands",
"onclick": {
"routine": "routine 1",
"designValue": "routine 1"
},
"grid": "Grid",
"column": "0"
},
{
"id": "Icon2",
"field type": "icon",
"left": "117px",
"top": "0px",
"icon": "fontAwesome-regular:copy",
"tool tip": "Copy",
"onclick": {
"routine": "Copy Record",
"designValue": "Copy Record"
},
"grid": "Grid",
"column": "0"
},
{
"id": "envname",
"field type": "output field",
"css class": "outputField",
"value": {
"fieldName": "envname",
"refField": "ENVNAME ATENVIR",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"dataType": "reference",
"formatting": "Text",
"textTransform": "none",
"designValue": "[envname]"
},
"left": "5px",
"top": "5px",
"css class 2": "blueprint-defaults",
"css class 3": "blueprint-output-field",
"grid": "Grid",
"column": "1"
},
{
"field type": "output field",
"css class": "outputField",
"css class 2": "blueprint-defaults",
"css class 3": "blueprint-output-field",
"value": {
"fieldName": "id",
"refField": "id ATENVIR",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"dataType": "reference",
"formatting": "Text",
"textTransform": "none",
"designValue": "[id]"
},
"top": "2px",
"left": "176px",
"id": "id",
"visibility": "hidden",
"grid": "Grid",
"column": "2"
},
{
"id": "envdesc",
"field type": "output field",
"css class": "outputField",
"value": {
"fieldName": "envdesc",
"designValue": "[envdesc]",
"refField": "ENVDESC ATENVIR",
"dataType": "reference",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"formatting": "Text",
"textTransform": "none"
},
"left": "10px",
"top": "5px",
"css class 2": "blueprint-defaults",
"css class 3": "blueprint-output-field",
"grid": "Grid",
"column": "2"
},
{
"id": "jobdesc",
"field type": "output field",
"css class": "outputField",
"value": {
"fieldName": "jobdesc",
"designValue": "[jobdesc]",
"refField": "JOBDESC ATENVIR",
"dataType": "reference",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"formatting": "Text",
"textTransform": "none"
},
"left": "15px",
"top": "5px",
"css class 2": "blueprint-defaults",
"css class 3": "blueprint-output-field",
"grid": "Grid",
"column": "3"
},
{
"id": "OutputField1_copy",
"field type": "output field",
"css class": "outputField",
"value": {
"fieldName": "pjs_url",
"dataLength": "250",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"dataType": "varchar",
"formatting": "Text",
"textTransform": "none",
"designValue": "[pjs_url]"
},
"left": "10px",
"top": "calc(50% - 10px)",
"css class 2": "blueprint-defaults",
"css class 3": "blueprint-output-field",
"grid": "Grid",
"column": "4"
},
{
"id": "Checkbox1",
"field type": "checkbox",
"css class": "plogic--checkbox-no-label",
"value": {
"fieldName": "disabled",
"dataLength": "1",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"dataType": "varchar",
"formatting": "Text",
"textTransform": "none",
"designValue": "[disabled]"
},
"left": "29px",
"top": "calc(50% - 10px)",
"label": "Checkbox",
"checked value": "1",
"unchecked value": "0",
"read only": "true",
"grid": "Grid",
"column": "5"
}
]
},
{
"screen": {
"record format name": "detailScreen",
"description": "Add / Edit Records",
"user defined data": {
"fieldName": "idKey",
"refField": "id ATENVIR",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"dataType": "reference",
"formatting": "Text",
"textTransform": "none"
},
"user defined data 2": {
"fieldName": "editMode",
"customTrue": "",
"customFalse": "",
"dataType": "indicator",
"formatting": "Indicator",
"indFormat": "true / false"
},
"user defined routine": {
"routine": "Retrieve Library List",
"designValue": "Retrieve Library List"
},
"user defined data 3": {
"fieldName": "copyId",
"dataLength": "36",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"dataType": "char",
"formatting": "Text",
"textTransform": "none"
},
"show as window": "true",
"center window": "true",
"external css": "\\profoundui\\proddata\\css\\plogic.css",
"external javascript": "\\profoundui\\proddata\\js\\plogic.grids.js"
},
"items": [
{
"id": "DetailPanel",
"field type": "layout",
"template": "css panel",
"header height": "45px",
"left": "25px",
"top": "5px",
"height": "530px",
"header theme": "plogic--header",
"body theme": "plogic--body",
"z index": "9",
"css class": "plogic--panel--wide",
"header text": {
"fieldName": "dialogTitle",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"dataType": "string",
"formatting": "Text",
"textTransform": "capitalize",
"designValue": "[dialogTitle]"
},
"locked in place": "true",
"width": "1250px"
},
{
"field type": "textbox",
"height": "25px",
"width": "85px",
"css class": "blueprint-defaults",
"css class 2": "blueprint-textbox",
"value": {
"fieldName": "id",
"designValue": "[id]",
"refField": "id ATENVIR",
"dataType": "reference",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"formatting": "Text",
"textTransform": "none"
},
"top": "25px",
"left": "210px",
"id": "id",
"visibility": "hidden"
},
{
"id": "Layout1",
"field type": "layout",
"css class": "blueprint-defaults",
"left": "370px",
"top": "115px",
"template": "css panel",
"header text": "Screen 3",
"header theme": "blueprint-light-blue-header",
"body theme": "blueprint-white-body",
"height": "280px",
"width": "335px",
"z index": "8",
"css class 2": "blueprint-panel"
},
{
"id": "environmentname_label_copy",
"field type": "output field",
"css class": "outputField",
"value": "Notes:",
"left": "640px",
"top": "10px",
"width": "50px",
"text align": "left",
"css class 2": "blueprint-defaults",
"css class 3": "blueprint-output-field",
"font weight": "800",
"layout": "DetailPanel",
"container": "1"
},
{
"id": "Layout2",
"field type": "layout",
"css class": "blueprint-tab-panel-layout",
"left": "20px",
"top": "15px",
"template": "tab panel",
"height": "375px",
"width": "585px",
"z index": "8",
"css class 2": "blueprint-defaults ",
"tab names": "Environment",
"layout": "DetailPanel",
"container": "1"
},
{
"id": "Grid1",
"field type": "grid",
"css class": "blueprint-grid",
"left": "1005px",
"top": "10px",
"number of rows": "10",
"number of columns": "1",
"column headings": "Library List",
"column widths": "224",
"header height": "35",
"row height": "33",
"height": "332px",
"width": "225px",
"border color": "var(--color--grid-border)",
"record format name": "gridA",
"border width": "1px",
"movable columns": "true",
"persist state": "true",
"find option": "true",
"filter option": "true",
"reset option": "true",
"row selection": "single",
"onfilterchange": "plogic.grid.onFilterChanged(getObj(gridItem.id));",
"onrowclick": "plogic.grid.rowClick(rrn, rowNumber, event);",
"xlsx export": "true",
"css class 2": "blueprint-defaults",
"layout": "DetailPanel",
"container": "1"
},
{
"id": "TextArea1",
"field type": "text area",
"css class": "blueprint-defaults",
"value": {
"fieldName": "notes",
"refField": "NOTES ATENVIR",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"dataType": "reference",
"formatting": "Text",
"textTransform": "none",
"designValue": "[notes]"
},
"left": "645px",
"top": "50px",
"width": "325px",
"height": "240px",
"css class 2": "blueprint-text-area",
"layout": "DetailPanel",
"container": "1"
},
{
"id": "OutputField2",
"field type": "textbox",
"css class": "plogic--output-field",
"value": {
"fieldName": "upduser",
"refField": "UPDUSER ATENVIR",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"dataType": "reference",
"formatting": "Text",
"textTransform": "none",
"designValue": "[upduser]"
},
"left": "725px",
"top": "320px",
"css class 2": "plogic--constant",
"visibility": "hidden",
"layout": "DetailPanel",
"container": "1"
},
{
"id": "OutputField4",
"field type": "textbox",
"css class": "plogic--output-field",
"value": {
"fieldName": "disuser",
"refField": "DISUSER ATENVIR",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"dataType": "reference",
"formatting": "Text",
"textTransform": "none",
"designValue": "[disuser]"
},
"left": "720px",
"top": "350px",
"css class 2": "plogic--constant",
"visibility": "hidden",
"layout": "DetailPanel",
"container": "1"
},
{
"id": "adduser",
"field type": "textbox",
"css class": "plogic--output-field",
"value": {
"fieldName": "adduser",
"refField": "ADDUSER ATENVIR",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"dataType": "reference",
"formatting": "Text",
"textTransform": "none",
"designValue": "[adduser]"
},
"left": "905px",
"top": "360px",
"css class 2": "plogic--constant",
"visibility": "hidden",
"layout": "DetailPanel",
"container": "1"
},
{
"id": "OutputField1",
"field type": "textbox",
"css class": "plogic--output-field",
"value": {
"fieldName": "tsdisable",
"refField": "TSDISABLE ATENVIR",
"dataType": "reference",
"formatting": "Time Stamp",
"timeStampFormat": "m/d/y g:i A",
"locale": "en_US",
"designValue": "[tsdisable]"
},
"left": "720px",
"top": "385px",
"css class 2": "plogic--constant",
"visibility": "hidden",
"layout": "DetailPanel",
"container": "1"
},
{
"id": "OutputField5",
"field type": "textbox",
"css class": "plogic--output-field",
"value": {
"fieldName": "tslstchg",
"refField": "TSLSTCHG ATENVIR",
"dataType": "reference",
"formatting": "Time Stamp",
"timeStampFormat": "m/d/y g:i A",
"locale": "en_US",
"designValue": "[tslstchg]"
},
"left": "900px",
"top": "390px",
"css class 2": "plogic--constant",
"visibility": "hidden",
"layout": "DetailPanel",
"container": "1"
},
{
"id": "CancelButton",
"field type": "graphic button",
"css class": "plogic--button--tertiary",
"value": "Cancel",
"icon position": "left",
"icon": "material:arrow_back",
"shortcut key": "F12",
"bypass validation": "true",
"left": "20px",
"top": "430px",
"width": "140px",
"css class 2": "plogic--ripple",
"onclick": {
"routine": "cancel button click",
"designValue": "cancel button click"
},
"layout": "DetailPanel",
"container": "1"
},
{
"id": "SaveButton",
"field type": "graphic button",
"css class": "plogic--button--primary",
"value": "Save",
"icon position": "left",
"icon": "material:save",
"shortcut key": "F10",
"left": "175px",
"top": "430px",
"width": "140px",
"css class 2": "plogic--ripple",
"onclick": {
"routine": "save button click",
"designValue": "save button click"
},
"layout": "DetailPanel",
"container": "1"
},
{
"id": "environmentname_label",
"field type": "output field",
"css class": "outputField",
"value": "Environment Name",
"left": "10px",
"top": "25px",
"css class 2": "blueprint-defaults",
"width": "180px",
"css class 3": "blueprint-output-field",
"text align": "right",
"layout": "Layout2",
"container": "1"
},
{
"field type": "textbox",
"width": "190px",
"css class": "blueprint-defaults",
"value": {
"fieldName": "envname",
"refField": "ENVNAME ATENVIR",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"dataType": "reference",
"formatting": "Text",
"textTransform": "uppercase",
"designValue": "[envname]"
},
"top": "25px",
"left": "210px",
"id": "envname",
"text transform": "uppercase",
"css class 2": "blueprint-textbox",
"required": "true",
"layout": "Layout2",
"container": "1"
},
{
"id": "environmentdesc_label",
"field type": "output field",
"css class": "outputField",
"value": "Environment Description",
"left": "10px",
"top": "55px",
"css class 2": "blueprint-defaults",
"width": "180px",
"css class 3": "blueprint-output-field",
"text align": "right",
"layout": "Layout2",
"container": "1"
},
{
"field type": "textbox",
"width": "345px",
"css class": "blueprint-defaults",
"value": {
"fieldName": "envdesc",
"refField": "ENVDESC ATENVIR",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"dataType": "reference",
"formatting": "Text",
"textTransform": "none",
"designValue": "[envdesc]"
},
"top": "55px",
"left": "210px",
"id": "envdesc",
"css class 2": "blueprint-textbox",
"layout": "Layout2",
"container": "1"
},
{
"id": "jobdescription_label",
"field type": "output field",
"css class": "outputField",
"value": "Job Description",
"left": "10px",
"top": "85px",
"css class 2": "blueprint-defaults",
"width": "180px",
"css class 3": "blueprint-output-field",
"text align": "right",
"layout": "Layout2",
"container": "1"
},
{
"field type": "textbox",
"width": "190px",
"css class": "blueprint-defaults",
"value": {
"fieldName": "jobdesc",
"refField": "JOBDESC ATENVIR",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"dataType": "reference",
"formatting": "Text",
"textTransform": "uppercase",
"designValue": "[jobdesc]"
},
"top": "85px",
"left": "210px",
"id": "jobdesc",
"text transform": "uppercase",
"css class 2": "blueprint-textbox",
"layout": "Layout2",
"container": "1"
},
{
"id": "pjsprotocol_label",
"field type": "output field",
"css class": "outputField",
"value": "PJS Protocol",
"left": "10px",
"top": "205px",
"css class 2": "blueprint-defaults",
"width": "180px",
"css class 3": "blueprint-output-field",
"text align": "right",
"layout": "Layout2",
"container": "1"
},
{
"field type": "textbox",
"width": "185px",
"css class": "blueprint-defaults",
"value": {
"fieldName": "pjsprotol",
"refField": "PJSPROTOL ATENVIR",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"dataType": "reference",
"formatting": "Text",
"textTransform": "none",
"designValue": "[pjsprotol]"
},
"top": "205px",
"left": "210px",
"id": "pjsprotol",
"css class 2": "blueprint-textbox",
"layout": "Layout2",
"container": "1"
},
{
"id": "pjshost_label",
"field type": "output field",
"css class": "outputField",
"value": "PJS Host Name",
"left": "10px",
"top": "235px",
"css class 2": "blueprint-defaults",
"width": "180px",
"css class 3": "blueprint-output-field",
"text align": "right",
"layout": "Layout2",
"container": "1"
},
{
"field type": "textbox",
"width": "345px",
"css class": "blueprint-defaults",
"value": {
"fieldName": "pjshost",
"designValue": "[pjshost]",
"refField": "pjshost ATENVIR",
"dataType": "reference",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"formatting": "Text",
"textTransform": "none"
},
"top": "235px",
"left": "210px",
"id": "pjshost",
"css class 2": "blueprint-textbox",
"layout": "Layout2",
"container": "1"
},
{
"id": "pjsport_label",
"field type": "output field",
"css class": "outputField",
"value": "PJS Port Number",
"left": "10px",
"top": "265px",
"css class 2": "blueprint-defaults",
"width": "180px",
"css class 3": "blueprint-output-field",
"text align": "right",
"layout": "Layout2",
"container": "1"
},
{
"field type": "textbox",
"width": "130px",
"css class": "blueprint-defaults",
"value": {
"fieldName": "pjsport",
"refField": "pjsport ATENVIR",
"numSep": "false",
"zeroBalance": "false",
"numBlankFill": "false",
"zeroFill": "false",
"noExtraSpaces": "false",
"curSym": "",
"dataType": "reference",
"formatting": "Number",
"negNum": "-999.00",
"units": "",
"designValue": "[pjsport]"
},
"top": "265px",
"left": "210px",
"id": "pjsport",
"css class 2": "blueprint-textbox",
"layout": "Layout2",
"container": "1"
},
{
"id": "disabled_label",
"field type": "output field",
"css class": "outputField",
"value": "Disabled",
"left": "10px",
"top": "295px",
"css class 2": "blueprint-defaults",
"width": "180px",
"css class 3": "blueprint-output-field",
"text align": "right",
"layout": "Layout2",
"container": "1"
},
{
"id": "Checkbox1",
"field type": "checkbox",
"css class": "plogic--checkbox-no-label",
"value": {
"fieldName": "disabled",
"refField": "DISABLED ATENVIR",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"dataType": "reference",
"formatting": "Text",
"textTransform": "none",
"designValue": "[disabled]"
},
"left": "210px",
"top": "297px",
"label": "Checkbox",
"checked value": "1",
"unchecked value": "0",
"layout": "Layout2",
"container": "1"
},
{
"id": "OutputField6",
"field type": "output field",
"css class": "plogic--output-field",
"value": {
"fieldName": "libraryName",
"dataLength": "10",
"trimLeading": "false",
"trimTrailing": "true",
"blankFill": "false",
"rjZeroFill": "false",
"dataType": "char",
"formatting":