I don't know if this is possible, it seems that it should be but I can't find in the documentation how I can refer to a custom SuiteScript 2.0 module I've created in the ClientSide of a Suitelet.
The custom module has some configuration data I want to use both on the client side and server side of the Suitelet. Server side no problem I can include my custom module in the define function of my suitelet, but I'm at a loss how I could take advantage of the same custom module on the client side.
The define statement of the custom module is creating an object but if I include a link to the javascript file in the Suitelet on the client side how would I invoke any attributes or methods of that custom module.
I appreciate any help anyone can provide.