<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to get current Site in Share Webscript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-current-site-in-share-webscript/m-p/267153#M220283</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I get current site name in pickerchildern.get.js ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Mar 2017 18:10:32 GMT</pubDate>
    <dc:creator>nwali</dc:creator>
    <dc:date>2017-03-20T18:10:32Z</dc:date>
    <item>
      <title>How to get current Site in Share Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-current-site-in-share-webscript/m-p/267150#M220280</link>
      <description>I have a Share webscript that needs to know what site I'm currently on (if any).&amp;nbsp; In 3.4 this used to work: profile = context.properties["site-profile"];currentSite = profile.shortName;‍‍‍‍Since upgrading to 4.0.1, the above is no longer operable.&amp;nbsp; The docs do not show a similar method for doing so.</description>
      <pubDate>Tue, 17 Jul 2012 11:07:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-current-site-in-share-webscript/m-p/267150#M220280</guid>
      <dc:creator>vamirr</dc:creator>
      <dc:date>2012-07-17T11:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to get current Site in Share Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-current-site-in-share-webscript/m-p/267151#M220281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Vamirr, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;have a look at the documetation of the springsurf framework. Especially appendix C about the JavaScript API Reference is interesting for u (&lt;/SPAN&gt;&lt;A href="http://www.springsurf.org/sites/1.0.0.M3/spring-webscripts/spring-webscripts-documentation/reference/html/js-api-index.html#js-api-index-org.springframework.extensions.webscripts.scriptrendercontext" rel="nofollow noopener noreferrer"&gt;http://www.springsurf.org/sites/1.0.0.M3/spring-webscripts/spring-webscripts-documentation/reference/html/js-api-index.html#js-api-index-org.springframework.extensions.webscripts.scriptrendercontext&lt;/A&gt;&lt;SPAN&gt;). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope it helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Greetings Christian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2012 11:43:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-current-site-in-share-webscript/m-p/267151#M220281</guid>
      <dc:creator />
      <dc:date>2012-07-17T11:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to get current Site in Share Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-current-site-in-share-webscript/m-p/267152#M220282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Christian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you, that was helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;currentSite = page.url.templateArgs.site&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2012 13:03:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-current-site-in-share-webscript/m-p/267152#M220282</guid>
      <dc:creator>vamirr</dc:creator>
      <dc:date>2012-07-17T13:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to get current Site in Share Webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-current-site-in-share-webscript/m-p/267153#M220283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I get current site name in pickerchildern.get.js ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 18:10:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-current-site-in-share-webscript/m-p/267153#M220283</guid>
      <dc:creator>nwali</dc:creator>
      <dc:date>2017-03-20T18:10:32Z</dc:date>
    </item>
  </channel>
</rss>

