If I am setting up a script parameter to use compa...
# suitescript
d
If I am setting up a script parameter to use company preference, should I have it not store the value in order to ensure that it will always check for what is currently set in company preferences? Would that affect how I retrieve the value?
Copy code
runtime.getCurrentScript().getParameter({name: 'custscript_wiz_adminindependence'});
n
That's not how "store value" checkbox works.
👍 1
You can use company preference and the script will always check the value when it runs
👍 2
a
@David Hayden Yes it does, to get company preference parameters you need to use: runtime.getCurrentUser().getPreference({name:
👍 1
d
That makes sense! Thank you @alien4u & @NickSuite.