AnsweredAssumed Answered

Passing URI Args

Question asked by cedorfm on May 13, 2011
Latest reply on May 13, 2011 by cedorfm
Hello,

I am attemption to pass variables from Alfresco Share to Explorer. I was told this was possible via supplying the URI with args.


ALFRESCO SHARE .JS
var site = page.url.templateArgs.site;

var connector = remote.connect();
var result = connector.get("http://localhost:8080/alfresco/service/custom/email-to?" + site);

model.result = result;

ALFRESCO EXPLORER .JS
model.result = args[arg];

I get an error stating "arg" is not defined.
What am I doing wrong here? Is this not possible?

Thanks in advance.

Outcomes