AnsweredAssumed Answered

How to get site ShortName (siteId) in module ftl ?

Question asked by g_rathod on Oct 6, 2010
Friends,

I have one share module to show a popup with one combo box and one text area.
I have two dashlets "Site Activities" at site level  and at user level. ( one is main home page and other when user click and go into site)

I want to show combo box only when I am at site level ( where all sites are shown - my sites dashlet)
and at user level I just want to show textarea for the same ftl.

I am not getting siteId  using :     page.url.templateArgs.site    inside \tomcat\shared\classes\alfresco\web-extension\site-webscripts\org\alfresco\modules  mycustomfile.get.html.ftl


How do I get siteId ( shortName)  inside module in share?

Outcomes