How to call Script Include from Email Script and get return value and utilise in Email Script

RussellPhilips
Kilo Contributor

How to call Script Include from Email Script and get return value and utilise in Email Script.

 

There is one Classless Script include unable to call

 

I have tried

var si = new ClassLessSI();

var result = si.ClassLessSI();

 

its not working 

 

1 ACCEPTED SOLUTION

Reema Farida
Giga Contributor
so just try var result =ClassLessSI() ; Please mark correct if it is helpful

View solution in original post

2 REPLIES 2

Reema Farida
Giga Contributor
Hi RussellPhilips, var si = new ScriptInclude() ; var result =si.method(); used for class si not for classless SI

Reema Farida
Giga Contributor
so just try var result =ClassLessSI() ; Please mark correct if it is helpful