<?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: Webform and directories in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/webform-and-directories/m-p/149565#M104522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One other thing to consider:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead of a JSP callout, you can use the file-picker (xs:anyURI in your schema) and include an annotation that allows you to just select directories (can see that in your web-client-config-wcm.xml config file).&amp;nbsp; You can also as of 2.2E specify a top-level directory limiter - i.e., only allow the user to select a directory underneath a given path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can then reference that value in your output path expression.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 May 2008 13:15:41 GMT</pubDate>
    <dc:creator>kvc</dc:creator>
    <dc:date>2008-05-01T13:15:41Z</dc:date>
    <item>
      <title>Webform and directories</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webform-and-directories/m-p/149563#M104520</link>
      <description>Hello,I am using alfresco(WCM) in small company and there is no problem. When we use this product for the large company, we have problem with usability of webforms. The definition on webform is coupled to the output path (i.e. /content/article/${name}.xml} and we can't place these file to userdefine</description>
      <pubDate>Mon, 28 Apr 2008 10:23:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webform-and-directories/m-p/149563#M104520</guid>
      <dc:creator>mvlach</dc:creator>
      <dc:date>2008-04-28T10:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Webform and directories</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webform-and-directories/m-p/149564#M104521</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;See &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Forms_Developer_Guide#Output_Path_Pattern_Examples" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Forms_Developer_Guide#Output_Path_Pattern_Examples&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Using ${name}.xml puts it into the directory in which the use is currently browsing in the WCM. So browse the site by clicking on "Browse site" link in the user's sandbox and then select "Create Web content" from the "Create" drop down on the top left hand corner. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Using ${xml['root_tag/myns:namespaced'].xml you can based the output path pattern on a data value in the XML file created by the form. This is quite powerful as you can use the include a dynamic list of categories or list of existing folders in the form itself using &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Forms_Authoring_Guide#Using_dynamic_types_in_schemas" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Forms_Authoring_Guide#Using_dynamic_types_in_schemas&lt;/A&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;E.g. in the web form include a &amp;lt;xs:include schemaLocation="/get_folders.jsp"/&amp;gt;. (in this case get_folders.jsp is in the root of your WCM project and virtualisation server is running). This can return a dynamic list of folders currently that can be published to. This value of this field to work out the output path pattern.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ainga&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 12:34:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webform-and-directories/m-p/149564#M104521</guid>
      <dc:creator>zaizi</dc:creator>
      <dc:date>2008-04-28T12:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Webform and directories</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webform-and-directories/m-p/149565#M104522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One other thing to consider:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead of a JSP callout, you can use the file-picker (xs:anyURI in your schema) and include an annotation that allows you to just select directories (can see that in your web-client-config-wcm.xml config file).&amp;nbsp; You can also as of 2.2E specify a top-level directory limiter - i.e., only allow the user to select a directory underneath a given path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can then reference that value in your output path expression.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 13:15:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webform-and-directories/m-p/149565#M104522</guid>
      <dc:creator>kvc</dc:creator>
      <dc:date>2008-05-01T13:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Webform and directories</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webform-and-directories/m-p/149566#M104523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kevin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know about this, but problem is the implementation of the form data functions. This library cannot find xml content recursive (in sub directory)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- or am I wrong ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thansk Mila&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 20:36:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webform-and-directories/m-p/149566#M104523</guid>
      <dc:creator>mvlach</dc:creator>
      <dc:date>2008-05-01T20:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Webform and directories</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webform-and-directories/m-p/149567#M104524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;See &lt;A href="http://wiki.alfresco.com/wiki/Forms_Developer_Guide#Output_Path_Pattern_Examples" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Forms_Developer_Guide#Output_Path_Pattern_Examples&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;1. Using ${name}.xml puts it into the directory in which the use is currently browsing in the WCM. So browse the site by clicking on "Browse site" link in the user's sandbox and then select "Create Web content" from the "Create" drop down on the top left hand corner.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I got a bit stuck - so for the hard of thinking like me an important distinction:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have this data (simplified for post)&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;report:report&amp;gt;&lt;BR /&gt;&amp;lt;editors_choice xsi:nil="true"/&amp;gt;&lt;BR /&gt;&amp;lt;featured xsi:nil="false"&amp;gt;true&amp;lt;/featured&amp;gt;&lt;BR /&gt;&amp;lt;created&amp;gt;2008-10-11&amp;lt;/created&amp;gt;&lt;BR /&gt;&amp;lt;/report:report&amp;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;BR /&gt;&lt;SPAN&gt;trying to configure the output path for this&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;${xml['report:report/created']}&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; doesn't work&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;${xml['report:report'].created} &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; ah yeah&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm keen to drop the namespaced root tag &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;report:report&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; anyone know how I do this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 10:48:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webform-and-directories/m-p/149567#M104524</guid>
      <dc:creator>steventux</dc:creator>
      <dc:date>2008-10-10T10:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Webform and directories</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webform-and-directories/m-p/149568#M104525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've run into problems most likely with my own lack of understanding of the xml I am creating.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Having set &lt;/SPAN&gt;&lt;STRONG&gt;elementFormDefault="unqualified"&lt;/STRONG&gt;&lt;SPAN&gt; I get xml as above - the root node is qualified the elements are not. Simple enough to understand.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I dont get how this works in Freemarker templates. I have successfully applied ftl templates when using &lt;/SPAN&gt;&lt;STRONG&gt;elementFormDefault="qualified"&lt;/STRONG&gt;&lt;SPAN&gt; and would use this despite it seeming very verbose, but then I can't work out the output pattern to use if I have xml like&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;report:report&amp;gt;&lt;BR /&gt;&amp;lt;report:created&amp;gt;2008-10-11&amp;lt;/report:created&amp;gt;&lt;BR /&gt;&amp;lt;/report:report&amp;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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;I'd prefer to turn off all the qualified naming in my nodes - it makes for better reading and easier output patterns and XPaths - can anyone advise what to do?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 13:00:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webform-and-directories/m-p/149568#M104525</guid>
      <dc:creator>steventux</dc:creator>
      <dc:date>2008-10-10T13:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Webform and directories</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webform-and-directories/m-p/149569#M104526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Answering my own question&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;${xml['report:report']['report:created']}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ugly and cumbersome, I'd much rather simplify the xml but working is working.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 13:15:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webform-and-directories/m-p/149569#M104526</guid>
      <dc:creator>steventux</dc:creator>
      <dc:date>2008-10-10T13:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Webform and directories</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webform-and-directories/m-p/149570#M104527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;steventux,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are a wonderful human being.&amp;nbsp; Your solution works completely; I was tearing out my hair trying to get this working.&amp;nbsp; Thank you.&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>Sat, 08 Aug 2009 05:07:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webform-and-directories/m-p/149570#M104527</guid>
      <dc:creator>samwise</dc:creator>
      <dc:date>2009-08-08T05:07:00Z</dc:date>
    </item>
  </channel>
</rss>

