Hi, Do you guys know if I can pull the value of a ...
# suitescript
b
Hi, Do you guys know if I can pull the value of a script parameter on my script page using suitescript or suiteql?
x
Hi, @braie Here's the solution to pull the value of a script parameter using suitescript const currentScript = runtime.getCurrentScript(); const scriptParameterValue = currentScript.getParameter({ name: "custscript_script_parameter_id", });
s
you can also query them via SuiteQL
👍 1
b
thank you for this! this is very helpful
s
lesser known is that you can also update the values via script 🙂
🙌 1