How to pass parameters from suitelet to client scr...
# suitescript
p
How to pass parameters from suitelet to client script
👍 1
m
Depending on your implementation and your preference, you could do it by adding a hidden field to the form that the suitelet is presenting and then just reading it in the client script with
currentRecord
, or you could set a session variable with
runtime.getCurrentSession().set()
on the suitelet side, and pick it up in the pageInit entry point of the client with
runtime.getCurrentSession().get()
👍 1