ScriptLoader
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2017 06:17 AM
I created a UI script in the scoped application as follows:
var sn_cmp = sn_cmp || {};
sn_cmp.PUI = (function() {
"use strict";
function AppUI(){
g_form.setValue('xyz','xyz');
}
return {
AppUI:function(){
return AppUI();
},
type: "PUI"
};
})();
In the onChange client script, I am calling it using:
ScriptLoader.getScripts('sn_cmp.AppUI.jsdbx',getData);
But still I am getting error in the clone:
Labels:
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2018 01:09 AM
call script in this manner
ScriptLoader.getScripts(['scripts/get_wsdl_url.js'], function() { });