Updated schema to use internal data instead of API data.
This commit is contained in:
@ -11,11 +11,14 @@
|
||||
<sys_created_by>admin</sys_created_by>
|
||||
<sys_created_on>2023-01-29 13:12:10</sys_created_on>
|
||||
<sys_id>8b21f27f97e061105838bfb3f153af5e</sys_id>
|
||||
<sys_mod_count>19</sys_mod_count>
|
||||
<sys_name>x_355681_fa.form.admin.settings.schema</sys_name>
|
||||
<sys_package display_value="Fulfilment Automater" source="x_355681_fa">c04afa629713111093a8337e6253af6d</sys_package>
|
||||
<sys_policy/>
|
||||
<sys_scope display_value="Fulfilment Automater">c04afa629713111093a8337e6253af6d</sys_scope>
|
||||
<sys_update_name>sys_properties_8b21f27f97e061105838bfb3f153af5e</sys_update_name>
|
||||
<sys_updated_by>admin</sys_updated_by>
|
||||
<sys_updated_on>2023-04-27 10:34:07</sys_updated_on>
|
||||
<type>string</type>
|
||||
<value>{
|
||||
"display": "form",
|
||||
@ -290,6 +293,27 @@
|
||||
"type": "checkbox",
|
||||
"input": true
|
||||
},
|
||||
{
|
||||
"label": "Visible for Roles",
|
||||
"widget": "choicesjs",
|
||||
"tableView": true,
|
||||
"multiple": true,
|
||||
"dataSrc": "custom",
|
||||
"data": {
|
||||
"custom": "if(data._resources && data._resources.roles){\n values = data._resources.roles;\n}"
|
||||
},
|
||||
"idPath": "name",
|
||||
"valueProperty": "name",
|
||||
"template": "<span>{{ item.name }}</span>",
|
||||
"key": "visibleForRoles",
|
||||
"conditional": {
|
||||
"show": true,
|
||||
"when": "quickActions.taskUiAction",
|
||||
"eq": "true"
|
||||
},
|
||||
"type": "select",
|
||||
"input": true
|
||||
},
|
||||
{
|
||||
"label": "Task",
|
||||
"tableView": false,
|
||||
@ -368,15 +392,9 @@
|
||||
"widget": "choicesjs",
|
||||
"tableView": true,
|
||||
"multiple": true,
|
||||
"dataSrc": "url",
|
||||
"dataSrc": "custom",
|
||||
"data": {
|
||||
"url": "/api/x_355681_fa/fulfillment_automater/extended-tables/task",
|
||||
"headers": [
|
||||
{
|
||||
"key": "",
|
||||
"value": ""
|
||||
}
|
||||
]
|
||||
"custom": "if(data && data._resources){\n values = data._resources.taskTables\n}"
|
||||
},
|
||||
"idPath": "name",
|
||||
"valueProperty": "name",
|
||||
@ -390,8 +408,6 @@
|
||||
"eq": "false"
|
||||
},
|
||||
"type": "select",
|
||||
"selectValues": "result",
|
||||
"disableLimit": false,
|
||||
"input": true
|
||||
}
|
||||
]
|
||||
@ -499,15 +515,9 @@
|
||||
"widget": "choicesjs",
|
||||
"tableView": true,
|
||||
"multiple": true,
|
||||
"dataSrc": "url",
|
||||
"dataSrc": "custom",
|
||||
"data": {
|
||||
"url": "/api/x_355681_fa/fulfillment_automater/extended-tables/sc_cat_item",
|
||||
"headers": [
|
||||
{
|
||||
"key": "",
|
||||
"value": ""
|
||||
}
|
||||
]
|
||||
"custom": "if(data._resources && data._resources.scCatItemTables){\n values = data._resources.scCatItemTables;\n}"
|
||||
},
|
||||
"idPath": "name",
|
||||
"valueProperty": "name",
|
||||
@ -521,8 +531,6 @@
|
||||
"eq": "false"
|
||||
},
|
||||
"type": "select",
|
||||
"selectValues": "result",
|
||||
"disableLimit": false,
|
||||
"input": true
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user