09-02-2011 06:30 AM
09-14-2011 12:43 AM
09-20-2011 07:35 PM
From where are you calling repository web script?
If you are calling repository web script from any of the site-webscripts –> component/module .. then you can use "page.url.templateArgs.site".
If you are calling from Repository Browser or User Dashboard or User Dashlet - you will not be able to get current site as site is not listed at that time.
If you are calling from Share side JS file (tomcat\webapps\share\components), then you need to have a siteId attribute in your JS file and that must be set from server side site-webscript. Then only you can use the same.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.