AnsweredAssumed Answered

pass current site name to repository webscript

Question asked by romschn on Sep 2, 2011
Latest reply on Sep 21, 2011 by tapan.d.thakkar

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 ="/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 ="/xyz/xyz?sitename=" + Alfresco.current.SITE);
2.  var result ="/xyz/xyz?sitename=" +;

Could anyone please help me on this? What am I missing?