<?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: Dynamically Create Enumeration for XSD in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/dynamically-create-enumeration-for-xsd/m-p/92342#M63094</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Random Man that helps me out so much, thanks a bunch. It was exactly what I was looking for.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jul 2007 16:37:50 GMT</pubDate>
    <dc:creator>trgerhardt</dc:creator>
    <dc:date>2007-07-25T16:37:50Z</dc:date>
    <item>
      <title>Dynamically Create Enumeration for XSD</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamically-create-enumeration-for-xsd/m-p/92337#M63089</link>
      <description>Hi, I was wondering if it is possible to have a drop-down box in my web-form with all of the files in a folder as options. I think it is possible to do with JSP but i dont know JSP very well and was wondering if someone could help.&amp;lt;xs:complexType name="files"&amp;gt;&amp;nbsp; &amp;lt;xs:sequence&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach o</description>
      <pubDate>Mon, 23 Jul 2007 19:59:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamically-create-enumeration-for-xsd/m-p/92337#M63089</guid>
      <dc:creator>trgerhardt</dc:creator>
      <dc:date>2007-07-23T19:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Create Enumeration for XSD</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamically-create-enumeration-for-xsd/m-p/92338#M63090</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;BR /&gt;&lt;SPAN&gt;Not really answering your question, but kind of releated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are looking at this as well, in terms of providing drop down values from the categories in Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The jsp you can include needs to run in the context of your web application. This means that it does not access to the in process Alfresco APIs, which makes things a bit complicated for us. If you are listing the files in folders in your web application then this should work for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are looking at including the schema via a REST API making use of web scripts (which do have access to the in process alfresco repository APIs).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else done something similar?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 11:13:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamically-create-enumeration-for-xsd/m-p/92338#M63090</guid>
      <dc:creator>mark_smithson</dc:creator>
      <dc:date>2007-07-24T11:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Create Enumeration for XSD</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamically-create-enumeration-for-xsd/m-p/92339#M63091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can see this kind of stuff in the example WSF thing. I think the file is channel-list.jsp. It builds a dropdown list from the navigation tree xml.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 15:34:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamically-create-enumeration-for-xsd/m-p/92339#M63091</guid>
      <dc:creator>randomman</dc:creator>
      <dc:date>2007-07-24T15:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Create Enumeration for XSD</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamically-create-enumeration-for-xsd/m-p/92340#M63092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Where is that channel-list.jsp file located? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also I dont understand web scripts that well but are they actually able to retrieve the list of files in a folder?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 16:33:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamically-create-enumeration-for-xsd/m-p/92340#M63092</guid>
      <dc:creator>trgerhardt</dc:creator>
      <dc:date>2007-07-24T16:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Create Enumeration for XSD</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamically-create-enumeration-for-xsd/m-p/92341#M63093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Assuming you've bulk imported &lt;/SPAN&gt;&lt;EM&gt;alfresco-wsf-website.war&lt;/EM&gt;&lt;SPAN&gt; (which is in Alfresco/extras/wcm) into a web project, browse to the views/components/ web folder and you'll see it in the list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm no expert, but it appears to be dynamically generating an XML schema. I'm guessing it's possible to swap the bit that looks for the channel information in the Navigation Tree xml file with something that examines the file system instead. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found file system examples here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.rivetlogic.com/content/view/34/59/" rel="nofollow noopener noreferrer"&gt;http://www.rivetlogic.com/content/view/34/59/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm guessing you can combine the two in some fashion. I'm pretty new to these technologies so I can't really say if those examples are any good or if the technique will work but good luck anyway!&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 10:41:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamically-create-enumeration-for-xsd/m-p/92341#M63093</guid>
      <dc:creator>randomman</dc:creator>
      <dc:date>2007-07-25T10:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Create Enumeration for XSD</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamically-create-enumeration-for-xsd/m-p/92342#M63094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Random Man that helps me out so much, thanks a bunch. It was exactly what I was looking for.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 16:37:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamically-create-enumeration-for-xsd/m-p/92342#M63094</guid>
      <dc:creator>trgerhardt</dc:creator>
      <dc:date>2007-07-25T16:37:50Z</dc:date>
    </item>
  </channel>
</rss>

