Hi,
I want to pass the current site name of share to the repository webscript.
I am invoking the repository webscript in javascript as below.
var result = remote.call("/xyz/xyz");
I tried below two ways of passing current site name in the webscript URL but couldn't get it working.
1. var result = remote.call("/xyz/xyz?sitename=" + Alfresco.current.SITE);
2. var result = remote.call("/xyz/xyz?sitename=" + page.url.templateArgs.site);
Could anyone please help me on this? What am I missing?
Thanks,