How do I access the script parameter of a script d...
# suitescript
s
How do I access the script parameter of a script deployment from another script ? I'm trying to access values stored in script parameter of various deployments of a schedule script from a suitelet script . But when I try loading the script deployment record , the record Object doesn't have the script parameter value in it ! So , I wanted to access the values stored in the script parameters of various deployments of the same schedule scripts (from suitelet). If not through record.load, can this be achieved using a query ? Kindly advice . Thanks
c
It sounds like you need to store your configuration in a different way
b
what did your code look like
s
we can create script parameters and give preference as company and then store the value in general preferences , these parameters can be accessed by other scripts also but not sure if this works for script with multiple deployments or not
s
Yes , i can't access the deployments param. I have to find a way to store the value somewhere else