Hi All, i have a beforeload script that loads a cl...
# suitescript
m
Hi All, i have a beforeload script that loads a client script so it can do some client side stuff on 'view' event. this however does not seem to work on the project record which has an updated UI in one of the latest release. Any fixes / workarounds known?
s
What do you mean by do some client side stuff? Like not-normal DOM stuff or stuff that you would expect to work normally? There was this thread from other day, doesnt really seem relevant https://netsuiteprofessionals.slack.com/archives/C29HQS63G/p1629862590497400
m
indeed inject HTML & javascript into the DOM.
basically the client scripts sets up functions and i create a new HTML field that has a <script> tag that initiates the first function to load all the stuff that i need
it seems on the new UI i have 2 issues. the client script is not loaded and the JS in the script tag is not executing
It seems like *Form.clientScriptModulePath (https://netsuite.custhelp.com/app/answers/detail/a_id/51367/kw/form.clientScriptModulePath)* is not working on the new UI. not even on the edit event. guess i'm going to file a ticket..