I'm trying to get values of my parameter in script...
# suitescript
t
I'm trying to get values of my parameter in script deployment, but I only receive a blank return. I don't know why.
var scriptObj = runtime.getCurrentScript();
var roleCanCreateProfContract = scriptObj.getParameter({name : 'custscript_bits_param_prof_contract'});
s
what value are setting in the param ?
t
I just want to get default value of my free form text
I just want to get those number in default value
b
what value is set in the script deployment
t
just this
b
there is a difference between a script parameter and the script deployment
t
yes this is just a script parameter
b
find the script deployment
t
i did not deploy this one @battk
b
there are three different types of script parameters
dont choose the default of deployment script parameter if you dont have a script deployment
t
ok i see..If I don't deploy the script I wont be able to see the default value, is that it ?