Implemented portal settings page including saving
This commit is contained in:
@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><record_update table="sys_script_include">
|
||||
<sys_script_include action="INSERT_OR_UPDATE">
|
||||
<access>public</access>
|
||||
<active>true</active>
|
||||
<api_name>x_355681_fa.CoreClientUtils</api_name>
|
||||
<caller_access/>
|
||||
<client_callable>true</client_callable>
|
||||
<description/>
|
||||
<name>CoreClientUtils</name>
|
||||
<script><![CDATA[var CoreClientUtils = Class.create();
|
||||
CoreClientUtils.prototype = Object.extendsObject(global.AbstractAjaxProcessor, {
|
||||
coreUtils: new CoreUtils(),
|
||||
saveProperty: function(){
|
||||
var answer = false;
|
||||
var property = this.getParameter("sysparm_property");
|
||||
var value = this.getParameter("sysparm_value");
|
||||
|
||||
if(property && value){
|
||||
answer = this.coreUtils.saveProperty(property, value);
|
||||
}
|
||||
return JSON.stringify(answer);
|
||||
},
|
||||
|
||||
type: 'CoreClientUtils'
|
||||
});
|
||||
|
||||
new ProcessorUtils("x_355681_fa").wrapPrototype(CoreClientUtils.prototype);]]></script>
|
||||
<sys_class_name>sys_script_include</sys_class_name>
|
||||
<sys_created_by>admin</sys_created_by>
|
||||
<sys_created_on>2023-01-29 15:29:02</sys_created_on>
|
||||
<sys_id>3201dbbb976461105838bfb3f153af3e</sys_id>
|
||||
<sys_name>CoreClientUtils</sys_name>
|
||||
<sys_package display_value="Fulfilment Automater" source="x_355681_fa">c04afa629713111093a8337e6253af6d</sys_package>
|
||||
<sys_policy>protected</sys_policy>
|
||||
<sys_scope display_value="Fulfilment Automater">c04afa629713111093a8337e6253af6d</sys_scope>
|
||||
<sys_update_name>sys_script_include_3201dbbb976461105838bfb3f153af3e</sys_update_name>
|
||||
</sys_script_include>
|
||||
</record_update>
|
||||
Reference in New Issue
Block a user