AnsweredAssumed Answered

using import in 5.1

Question asked by redraccoon on Jul 8, 2016
Latest reply on Jul 21, 2016 by redraccoon
Hello

I have a webscript, in this webscript I add ressource from a script

<import resource="classpath:/alfresco/extension/scripts/companyName/services/CorrespTemplateService.js">


In 4.2 for using methode of the script in my webscript I just had to call him

var CorrespTemplateService = new companyName.CorrespTemplateService();

then I just

CorrespTemplateService.MyMethodeName();

But it's not working in 5.1 do anobody have a simple example to show ?

thank you !

Alfresco Version
5.1.x

Outcomes