This message was deleted.
# suitescript
s
This message was deleted.
b
probably want to explain more about it not loading
are there errors?
m
There is an uncaught error in the console, but nothing happens in the ui
b
and the error in the console?
you want to click on the name and message and id to see the details
sounds like your client script and user event script are working normally
m
So the suitelet is dodgy?
Sorry, definitely not my area
b
the suitelet also is giving a nice error message telling you that you are using it wrong
m
Oops, any guidance?
b
none really beyond learning what parameter you need to send to the suitelet
m
Ah ok, thanks, will keep trying
b
if you cant tell what parameters you need to send to that suitelet, i wouldnt be touching this
m
Why so? I am in sandbox just trying to get some custom prints to work
b
the client script looks like it was generated by a tool
and that error message looks custom
i dont think any of the code you shared would generate it, code you share honestly looks pretty tame and simple
m
Should it be complex to push transaction data to a custom pdf template? Seems like it shouldn't be
b
what you shared is not complex
although your error debugging process doesnt sound confident enough to be troubleshooting this error
m
Fair enough
b
the code you shared looks okay, there really arent that many places it can go wrong, mostly because there isnt that much code
my personal guess is that something else is causing it
you would want to start going through the stack trace of your error to see what it is