<?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 Upload file as a new association in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/upload-file-as-a-new-association/m-p/161572#M115501</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;I need to replace the Web Client's standard association component Ã¢â‚¬â€œÃ‚Â&amp;nbsp;the one with the Seach text field, the Search button, the Add To List button, and the list of current associations Ã¢â‚¬â€œÃ‚Â&amp;nbsp;with a custom one that allows the user to upload a file "in place" (and not associate an existing one).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This would look as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;1. Locate content to upload: &amp;lt;Browse button&amp;gt;&lt;BR /&gt;2. &amp;lt;Upload button&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Selected Items&lt;BR /&gt;Foo &amp;lt;Trash icon&amp;gt;&lt;BR /&gt;Bar &amp;lt;Trash icon&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;Could somebody give me a high-level advice of what options I have and how best to proceed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Alfresco Community 2.1 (but could switch to 2.9lab). I see the following options but am not sure whether they indeed all apply:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Use JSP/JSF as in this &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?t=10583" rel="nofollow noopener noreferrer"&gt;post&lt;/A&gt;&lt;SPAN&gt;. But what about the tomahauk thing mentioned there?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Use &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Forms_Developer_Guide#FilePicker_configuration_.28Web_Forms_only.29" rel="nofollow noopener noreferrer"&gt;Alfresco Forms&lt;/A&gt;&lt;SPAN&gt; (but: can I use this for non-WCM nodes? could I use ECM forms?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If possible, I would be interested in developing this as an &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/AMP_Files" rel="nofollow noopener noreferrer"&gt;AMP&lt;/A&gt;&lt;SPAN&gt; and make it general enough as to&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* support child and non-child associations&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* allow the programmer to specify which association to use (in contrast to hard-coding it)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* maybe: allow the programmer to specify the (sub)type to which to specialize the newly uploaded file&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kaspar&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.S. I am &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?t=10583" rel="nofollow noopener noreferrer"&gt;not&lt;/A&gt;&lt;SPAN&gt; the first with this need. Maybe somebody has already a solution for this that he/she could share?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Feb 2008 12:51:14 GMT</pubDate>
    <dc:creator>hbf</dc:creator>
    <dc:date>2008-02-05T12:51:14Z</dc:date>
    <item>
      <title>Upload file as a new association</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upload-file-as-a-new-association/m-p/161572#M115501</link>
      <description>Hi,I need to replace the Web Client's standard association component Ã¢â‚¬â€œÃ‚Â&amp;nbsp;the one with the Seach text field, the Search button, the Add To List button, and the list of current associations Ã¢â‚¬â€œÃ‚Â&amp;nbsp;with a custom one that allows the user to upload a file "in place" (and not associate an exi</description>
      <pubDate>Tue, 05 Feb 2008 12:51:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upload-file-as-a-new-association/m-p/161572#M115501</guid>
      <dc:creator>hbf</dc:creator>
      <dc:date>2008-02-05T12:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Upload file as a new association</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/upload-file-as-a-new-association/m-p/161573#M115502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You could certainly use the MyFaces tomahawk upload component, it's been proven to be achievable and as an AMP would be great.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if you want to support use within the JBoss Portal you won't be able to use the tomahawk component (hence the reason we have to have a separate r:uploadForm component &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; ) as to use it you need to define a servlet filter, which are not supported in a portal server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To create the new component you will need to define a component generator (&lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Component_Generator_Framework" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Component_Generator_Framework&lt;/A&gt;&lt;SPAN&gt;) as well as the association component itself. The ability to define a component-generator for an association in the configuration was added to the enterprise release of 2.1 so you will need to move to 2.9 to get that feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2008 09:15:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/upload-file-as-a-new-association/m-p/161573#M115502</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2008-02-06T09:15:42Z</dc:date>
    </item>
  </channel>
</rss>

