Hi all, i am trying to attach a cl script to the s...
# suitescript
g
Hi all, i am trying to attach a cl script to the suitelet form, when i use Form.clientScriptModulePath(ss2.0) api suitelet throws this error:{"type":"error.SuiteScriptError","name":"INVALID_API_VERSION_FOR_FORM","message":"You cannot use this API with this version of SuiteScript.","stack":["attachClientScriptFileAndReturnModulePath(N/serverWidgetUtility)" any idea what this means?
b
id guess the client script is ss1
j
Do both files indicate the NApi version at the top?
g
@jen thanks the NApi version was not at the top for one file.