AnsweredAssumed Answered

using import in 5.1

Question asked by redraccoon on Jul 4, 2016
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 !

Outcomes