<?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: Add dropdown in create site dialog box in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/add-dropdown-in-create-site-dialog-box/m-p/301882#M255012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I appreciate your time and help you have provided but I am still facing one issue. I am able to change freemarker and able to do other configuration. But I am unable to post additionalInformation drowdown value in the form of json object so that I can get value in “site-post.json. js” to store in content model properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see below error when try to get var region = json.get("additionalInformation ");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: org.json.JSONException: JSONObject["additionalInformation "] not found.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am struggling to post the “additionalInformation” value. I guess need to add some in this Create-site-min.js file to post custom dropdown value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be great you can share custom code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Mar 2015 03:02:00 GMT</pubDate>
    <dc:creator>jamil</dc:creator>
    <dc:date>2015-03-20T03:02:00Z</dc:date>
    <item>
      <title>Add dropdown in create site dialog box</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-dropdown-in-create-site-dialog-box/m-p/301880#M255010</link>
      <description>Hi,Please give some pointer to add drop-down in create site dialog box. Please look over attached file. I know the change in freemarker. My main concern is that, once we select drop-down that value should be store in database so that I can fetch site based on region via CMIS query or Java API like w</description>
      <pubDate>Mon, 16 Mar 2015 11:53:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-dropdown-in-create-site-dialog-box/m-p/301880#M255010</guid>
      <dc:creator>jamil</dc:creator>
      <dc:date>2015-03-16T11:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Add dropdown in create site dialog box</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-dropdown-in-create-site-dialog-box/m-p/301881#M255011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I did the same task several times.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) For Share Interface:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - patch file webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/create-site.get.html.ftl where you will add your drop-down field into html&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - patch file webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/create-site.get.js where you can set data (or call alfresco to get data) for drop-down list&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - patch file webapps/share/modules/create-site-min.js if you need to add some validation &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) For Alfresco Interface&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - patch file alfresco/templates/webscripts/org/alfresco/repository/site/sites.post.json.js where you will save into DB your additional metadata.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 12:24:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-dropdown-in-create-site-dialog-box/m-p/301881#M255011</guid>
      <dc:creator>s_palyukh</dc:creator>
      <dc:date>2015-03-16T12:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Add dropdown in create site dialog box</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-dropdown-in-create-site-dialog-box/m-p/301882#M255012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I appreciate your time and help you have provided but I am still facing one issue. I am able to change freemarker and able to do other configuration. But I am unable to post additionalInformation drowdown value in the form of json object so that I can get value in “site-post.json. js” to store in content model properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see below error when try to get var region = json.get("additionalInformation ");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: org.json.JSONException: JSONObject["additionalInformation "] not found.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am struggling to post the “additionalInformation” value. I guess need to add some in this Create-site-min.js file to post custom dropdown value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be great you can share custom code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 03:02:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-dropdown-in-create-site-dialog-box/m-p/301882#M255012</guid>
      <dc:creator>jamil</dc:creator>
      <dc:date>2015-03-20T03:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Add dropdown in create site dialog box</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-dropdown-in-create-site-dialog-box/m-p/301883#M255013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please share your code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I could not able to figure out that, where you're getting this error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Murali&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 06:43:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-dropdown-in-create-site-dialog-box/m-p/301883#M255013</guid>
      <dc:creator>muralidharand</dc:creator>
      <dc:date>2015-03-20T06:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Add dropdown in create site dialog box</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-dropdown-in-create-site-dialog-box/m-p/301884#M255014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I guess you forgot to set attribute "name" for your dropdown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;select id="${el}-additionalInformation" name="additionalInformation"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;option value="option1"&amp;gt;${msg("option.option1")}&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;option value="option2"&amp;gt;${msg("option.option2")}&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/select&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 10:34:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-dropdown-in-create-site-dialog-box/m-p/301884#M255014</guid>
      <dc:creator>s_palyukh</dc:creator>
      <dc:date>2015-03-20T10:34:13Z</dc:date>
    </item>
  </channel>
</rss>

