AnsweredAssumed Answered

Issue in getting site name in client side javascript

Question asked by ganmaku on Oct 7, 2010
Latest reply on Oct 7, 2010 by mikeh
Hi Team,

I want to get current site name from the "tomcat\webapps\share\components\object-finder\object-finder-min.js" file.

Hence I have added siteId as below:

   YAHOO.extend(Alfresco.ObjectFinder,Alfresco.component.Base,
                              {
                                 options:
                                 {
                                    siteId: "",
                                    objectRenderer:null,
                                    currentValue:"",
                                    itemType:"cm:content",

But when I am trying to access through "this.options.siteId", I am getting empty value.

Could you please tell me where I committed the mistake?

Outcomes