<?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: aikau page and pubSub help in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/aikau-page-and-pubsub-help/m-p/282228#M235358</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all, thanks for the kind words about the tutorial, etc - it's very much appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're getting the request parameter in the JavaScript controller of the WebScript then the best approach would be to create a configuration attribute on your custom widget and set it in the controller (rather than trying to do it on the client side).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We do this quite a bit in the unit test application in order to change the way that the test page behaves. Please review the examples below as to how this can be done:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://github.com/Alfresco/Aikau/blob/4b3714b846fc34ac21ab4c661de7fce8c621d276/aikau/src/test/resources/testApp/WEB-INF/classes/alfresco/site-webscripts/alfresco/search/SearchFilmStripView.get.js" rel="nofollow noopener noreferrer"&gt;Example1&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://github.com/Alfresco/Aikau/blob/4b3714b846fc34ac21ab4c661de7fce8c621d276/aikau/src/test/resources/testApp/WEB-INF/classes/alfresco/site-webscripts/alfresco/header/SearchBox.get.js" rel="nofollow noopener noreferrer"&gt;Example2&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Nov 2016 10:08:36 GMT</pubDate>
    <dc:creator>ddraper</dc:creator>
    <dc:date>2016-11-11T10:08:36Z</dc:date>
    <item>
      <title>aikau page and pubSub help</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/aikau-page-and-pubsub-help/m-p/282227#M235357</link>
      <description>HiI am developing an aikau page - with a number of widgets, including a document list and document preview.&amp;nbsp; All pretty successfully thanks to Dave Draper's great tutorial.The final piece of the page is a widget that displays content from Alfresco.&amp;nbsp; This I can do by "calling" KnowledgeWidget.js, whi</description>
      <pubDate>Sat, 29 Oct 2016 04:32:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/aikau-page-and-pubsub-help/m-p/282227#M235357</guid>
      <dc:creator>jonno70</dc:creator>
      <dc:date>2016-10-29T04:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: aikau page and pubSub help</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/aikau-page-and-pubsub-help/m-p/282228#M235358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all, thanks for the kind words about the tutorial, etc - it's very much appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're getting the request parameter in the JavaScript controller of the WebScript then the best approach would be to create a configuration attribute on your custom widget and set it in the controller (rather than trying to do it on the client side).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We do this quite a bit in the unit test application in order to change the way that the test page behaves. Please review the examples below as to how this can be done:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://github.com/Alfresco/Aikau/blob/4b3714b846fc34ac21ab4c661de7fce8c621d276/aikau/src/test/resources/testApp/WEB-INF/classes/alfresco/site-webscripts/alfresco/search/SearchFilmStripView.get.js" rel="nofollow noopener noreferrer"&gt;Example1&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://github.com/Alfresco/Aikau/blob/4b3714b846fc34ac21ab4c661de7fce8c621d276/aikau/src/test/resources/testApp/WEB-INF/classes/alfresco/site-webscripts/alfresco/header/SearchBox.get.js" rel="nofollow noopener noreferrer"&gt;Example2&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 10:08:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/aikau-page-and-pubsub-help/m-p/282228#M235358</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2016-11-11T10:08:36Z</dc:date>
    </item>
  </channel>
</rss>

