Is there a SS2 equivalent of getting the context. ...
# suitescript
e
Is there a SS2 equivalent of getting the context. I want a script to only run when triggered from a Suitelet
_var_ context = nlapiGetContext().getExecutionContext();
_if_ (context == 'suitelet') {
do something only if from a suitelet....
}
b