<?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: Need help on create a list of document (aikau dashlet) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/need-help-on-create-a-list-of-document-aikau-dashlet/m-p/284612#M237742</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK... I might need some additional information to get you to the end of the path, but this is a very comprehensive question, so thanks for providing as much detail as you have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards to the DropDownButton... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main thing to understand is that Aikau operates over a publication/subscription model. The DropDownButton is for a very specific use case in which a button can contain a widget model for rendering more complex than a simple options menu. What you probably actually want to be using is a &lt;A href="http://dev.alfresco.com/resource/docs/aikau-jsdoc/Select.html" rel="nofollow noopener noreferrer"&gt;Select&lt;/A&gt; widget which is a representation of a more traditional HTML select (there are more complex variations available like &lt;A href="http://dev.alfresco.com/resource/docs/aikau-jsdoc/FilteringSelect.html" rel="nofollow noopener noreferrer"&gt;FilteringSelect&lt;/A&gt; and &lt;A href="http://dev.alfresco.com/resource/docs/aikau-jsdoc/MultiSelectInput.html" rel="nofollow noopener noreferrer"&gt;MultiSelectInput&lt;/A&gt;). These are form controls so when they have their value changed they will publish the change on a specific topic.&amp;nbsp; If the content of your list changes according to the selected item in the drop-down then you should look to use a &lt;A href="http://dev.alfresco.com/resource/docs/aikau-jsdoc/AlfFilteredList.html" rel="nofollow noopener noreferrer"&gt;AlfFilteredList&lt;/A&gt; and use the drop-down form control to trigger reloading of data. An example of how to configure an AlfFilteredList with external filter contols can be found in the unit test application - see &lt;A href="https://github.com/Alfresco/Aikau/blob/4b3714b846fc34ac21ab4c661de7fce8c621d276/aikau/src/test/resources/testApp/WEB-INF/classes/alfresco/site-webscripts/alfresco/lists/FilteredList.get.js" rel="nofollow noopener noreferrer"&gt;this test page controller&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea would be that each option in the drop-down has a label and value attribute and when the selected item is changed, the AlfFilteredList detects that change and makes a request to load a new set of data based on the value selected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the "Download CSV" button - it sounds like what you require is that the payload published when the button is clicked should change depending upon the user group selected. I would recommend that you use the &lt;A href="http://dev.alfresco.com/resource/docs/aikau-jsdoc/AlfDynamicPayloadButton.html" rel="nofollow noopener noreferrer"&gt;AlfDynamicPayloadButton&lt;/A&gt; as this can be configured (as the name suggests) to change the payload published on clicked based on other publications made within the page. This would allow your button to request to download based on the item selected from the drop-down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally... It sounds like you're on the right track with your table, however I'd question your use of the SearchResultPropertyLink unless your dashlet truly is rendering search results. Otherwise you may want to just use the &lt;A href="http://dev.alfresco.com/resource/docs/aikau-jsdoc/PropertyLink.html" rel="nofollow noopener noreferrer"&gt;PropertyLink&lt;/A&gt; widget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this information is of use... the one educational resource you didn't mention is the &lt;A href="https://github.com/Alfresco/Aikau/blob/develop/tutorial/chapters/Contents.md" rel="nofollow noopener noreferrer"&gt;Aikau tutorial&lt;/A&gt; - if you've not worked through it yet and are new to Aikau development then I would definitely recommend it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Nov 2016 09:46:14 GMT</pubDate>
    <dc:creator>ddraper</dc:creator>
    <dc:date>2016-11-07T09:46:14Z</dc:date>
    <item>
      <title>Need help on create a list of document (aikau dashlet)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-help-on-create-a-list-of-document-aikau-dashlet/m-p/284611#M237741</link>
      <description>Hi,I'm new on aikau development. My current small-project is to create a document list dashlet which the data come from my simple webscript that deployed to Repository (not to classpath). This webscript is return JSON data format and works normally (as single webscript page or application outside of</description>
      <pubDate>Sun, 06 Nov 2016 17:22:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-help-on-create-a-list-of-document-aikau-dashlet/m-p/284611#M237741</guid>
      <dc:creator>billydekid</dc:creator>
      <dc:date>2016-11-06T17:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on create a list of document (aikau dashlet)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-help-on-create-a-list-of-document-aikau-dashlet/m-p/284612#M237742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK... I might need some additional information to get you to the end of the path, but this is a very comprehensive question, so thanks for providing as much detail as you have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards to the DropDownButton... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main thing to understand is that Aikau operates over a publication/subscription model. The DropDownButton is for a very specific use case in which a button can contain a widget model for rendering more complex than a simple options menu. What you probably actually want to be using is a &lt;A href="http://dev.alfresco.com/resource/docs/aikau-jsdoc/Select.html" rel="nofollow noopener noreferrer"&gt;Select&lt;/A&gt; widget which is a representation of a more traditional HTML select (there are more complex variations available like &lt;A href="http://dev.alfresco.com/resource/docs/aikau-jsdoc/FilteringSelect.html" rel="nofollow noopener noreferrer"&gt;FilteringSelect&lt;/A&gt; and &lt;A href="http://dev.alfresco.com/resource/docs/aikau-jsdoc/MultiSelectInput.html" rel="nofollow noopener noreferrer"&gt;MultiSelectInput&lt;/A&gt;). These are form controls so when they have their value changed they will publish the change on a specific topic.&amp;nbsp; If the content of your list changes according to the selected item in the drop-down then you should look to use a &lt;A href="http://dev.alfresco.com/resource/docs/aikau-jsdoc/AlfFilteredList.html" rel="nofollow noopener noreferrer"&gt;AlfFilteredList&lt;/A&gt; and use the drop-down form control to trigger reloading of data. An example of how to configure an AlfFilteredList with external filter contols can be found in the unit test application - see &lt;A href="https://github.com/Alfresco/Aikau/blob/4b3714b846fc34ac21ab4c661de7fce8c621d276/aikau/src/test/resources/testApp/WEB-INF/classes/alfresco/site-webscripts/alfresco/lists/FilteredList.get.js" rel="nofollow noopener noreferrer"&gt;this test page controller&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea would be that each option in the drop-down has a label and value attribute and when the selected item is changed, the AlfFilteredList detects that change and makes a request to load a new set of data based on the value selected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the "Download CSV" button - it sounds like what you require is that the payload published when the button is clicked should change depending upon the user group selected. I would recommend that you use the &lt;A href="http://dev.alfresco.com/resource/docs/aikau-jsdoc/AlfDynamicPayloadButton.html" rel="nofollow noopener noreferrer"&gt;AlfDynamicPayloadButton&lt;/A&gt; as this can be configured (as the name suggests) to change the payload published on clicked based on other publications made within the page. This would allow your button to request to download based on the item selected from the drop-down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally... It sounds like you're on the right track with your table, however I'd question your use of the SearchResultPropertyLink unless your dashlet truly is rendering search results. Otherwise you may want to just use the &lt;A href="http://dev.alfresco.com/resource/docs/aikau-jsdoc/PropertyLink.html" rel="nofollow noopener noreferrer"&gt;PropertyLink&lt;/A&gt; widget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this information is of use... the one educational resource you didn't mention is the &lt;A href="https://github.com/Alfresco/Aikau/blob/develop/tutorial/chapters/Contents.md" rel="nofollow noopener noreferrer"&gt;Aikau tutorial&lt;/A&gt; - if you've not worked through it yet and are new to Aikau development then I would definitely recommend it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 09:46:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-help-on-create-a-list-of-document-aikau-dashlet/m-p/284612#M237742</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2016-11-07T09:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on create a list of document (aikau dashlet)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-help-on-create-a-list-of-document-aikau-dashlet/m-p/284613#M237743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;Thank you for your answer, reviewing and suggestions. It really helps a beginner like me.&lt;/P&gt;&lt;P&gt;Aikau tutorial is forgot to mention, yes it's also one of my resource, the example codes there are really valuable.&lt;/P&gt;&lt;P&gt;OK, I will back to my dev and raise if any problems here.&lt;/P&gt;&lt;P&gt;Again, thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2016 22:09:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-help-on-create-a-list-of-document-aikau-dashlet/m-p/284613#M237743</guid>
      <dc:creator>billydekid</dc:creator>
      <dc:date>2016-11-07T22:09:42Z</dc:date>
    </item>
  </channel>
</rss>

