I am having a bit of trouble getting a module to w...
# suitescript
n
I am having a bit of trouble getting a module to work. I am trying to use
x2js
. I have a suitelet
/SuiteScripts/shipping_api/kdl_rateRequest.js
and I have the
config.json
in the same path. I added the
@NAmdConfig /.config.json
tag to the JSdoc. I feel like the module is loading fine but the library isn't passing over. I logged
x2js
and it is just undefined. I will post some code below. Thanks. Also here is library https://github.com/abdmob/x2js/blob/master/xml2json.js