<?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 How to get dynamic property values in aikau page and aikau widget in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-dynamic-property-values-in-aikau-page-and-aikau/m-p/290445#M243575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;A __default_attr="83222" __jive_macro_name="user" _jive_internal="true" data-id="83222" data-objecttype="3" data-type="person" href="https://community.alfresco.com/people/ddraper" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question on how to get dynamic property value in aikau page .&lt;/P&gt;&lt;P&gt;Actually the scenario is , for my tabbed pane - I need to have the tab header names dynamically from a property file and also that I don't need to build amps for this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. For aikau page:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;test&lt;/SPAN&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;-share-amp/src/main/amp/config/alfresco/web-extension/site-webscripts/com/&lt;/SPAN&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;test&lt;/SPAN&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;/share/pages/&lt;/SPAN&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;test-imp-custom&lt;/SPAN&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;/&lt;/SPAN&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;test-imp-custom&lt;/SPAN&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;.get.js&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;gets the property values from :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/test-share-amp/src/main/amp/config/alfresco/web-extension/site-webscripts/com/test/share/pages/test-imp-custom/&lt;SPAN style="background-color: #f6f6f6;"&gt;test-imp-custom&lt;/SPAN&gt;.get.properties&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But need&amp;nbsp;the values to be configured in a property at deployment time so that , i don't have to build the amp again at higher environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. Similarly , For aikau Widget:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;test&lt;/SPAN&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;-share-amp&lt;/SPAN&gt;/src/main/amp/web/js/com/test/testcustom/alfresco/services/TestCustomService.js&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #f6f6f6;"&gt;gets the property values from :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/&lt;SPAN style="background-color: #f6f6f6;"&gt;test&lt;/SPAN&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;-share-amp&lt;/SPAN&gt;/src/main/amp/web/js/com/test/&lt;SPAN style="background-color: #f6f6f6;"&gt;testcustom&lt;/SPAN&gt;/alfresco/services/i18n/&lt;SPAN style="background-color: #f6f6f6;"&gt;TestCustom&lt;/SPAN&gt;.properties&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;But &lt;/SPAN&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;need&lt;/SPAN&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;&amp;nbsp;the values to be configured in a property at deployment time so that , i don't have to build the amp again at higher environment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;Actually my widget -&amp;nbsp;&lt;SPAN&gt;TestCustom&lt;/SPAN&gt;&lt;SPAN&gt;Service.js uses different urls to fetch content from different repositories.But I need to configure the urls in a property file to be pulled in widget at deployment time and not in the property file&amp;nbsp;TestCustom&lt;SPAN style="background-color: #f6f6f6;"&gt;.properties (above) since I will have to build the amps every time for different environment.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also let us know any workaround if alfresco-global.properties can be used in my case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Nov 2016 19:40:00 GMT</pubDate>
    <dc:creator>ranjeetsi</dc:creator>
    <dc:date>2016-11-23T19:40:00Z</dc:date>
    <item>
      <title>How to get dynamic property values in aikau page and aikau widget</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-dynamic-property-values-in-aikau-page-and-aikau/m-p/290445#M243575</link>
      <description>‌I have a question on how to get dynamic property value in aikau page .Actually the scenario is , for my tabbed pane - I need to have the tab header names dynamically from a property file and also that I don't need to build amps for this.&amp;nbsp;For eg:1. For aikau page:/test-share-amp/src/main/amp/config/</description>
      <pubDate>Wed, 23 Nov 2016 19:40:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-dynamic-property-values-in-aikau-page-and-aikau/m-p/290445#M243575</guid>
      <dc:creator>ranjeetsi</dc:creator>
      <dc:date>2016-11-23T19:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dynamic property values in aikau page and aikau widget</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-dynamic-property-values-in-aikau-page-and-aikau/m-p/290446#M243576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the best approach to solve this would be to create your properties file somewhere within the Repository (so that you can dynamically edit it) and then create a Repository-tier WebScript that provides a REST API that can be called from the JavaScript controller of your Share-tier that is building the model for your Aikau page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each time the page is loaded the properties file would be used to provide the headings for your tabs. By accessing a properties file that is within the Repository it would mean that you could dynamically make updates without restarting either server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 09:30:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-dynamic-property-values-in-aikau-page-and-aikau/m-p/290446#M243576</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2016-11-24T09:30:16Z</dc:date>
    </item>
  </channel>
</rss>

