superkumario64
06/08/2018, 9:44 PMparams.portlet.clientScriptModulePath = '/SuiteScripts/repo/portlets/main.js';
If I try to do something like this I get:
{
"type": "error.SuiteScriptError",
"name": "SSS_INVALID_UI_OBJECT_TYPE",
"message": "That operation is not supported for this type of UI object: html. It is only supported for type: form.",
"stack": [
"attachClientScriptFileAndReturnModulePath(N/serverWidgetUtility)",
"render(/SuiteScripts/repo/portlets/main.js:9)"
],
"cause": {
"type": "internal error",
"code": "SSS_INVALID_UI_OBJECT_TYPE",
"details": "That operation is not supported for this type of UI object: html. It is only supported for type: form.",
"userEvent": null,
"stackTrace": [
"attachClientScriptFileAndReturnModulePath(N/serverWidgetUtility)",
"render(/SuiteScripts/repo/portlets/main.js:9)"
],
"notifyOff": false
},
"id": "",
"notifyOff": false
}