<?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 Custom Upload Form for Folder in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-upload-form-for-folder/m-p/247790#M200920</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi guys;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I know this is probably a large question but would love any direction,links or suggestions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This relates to the Share tier.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When a user is within a folder or subfolder of the name 'Campaigns' I need a custom upload form. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[img]&lt;/SPAN&gt;&lt;A href="http://i.imgur.com/AP1Oj.png" rel="nofollow noopener noreferrer"&gt;http://i.imgur.com/AP1Oj.png&lt;/A&gt;&lt;SPAN&gt;[/img]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found the link &lt;/SPAN&gt;&lt;A href="http://www.ixxus.com/blog/2011/09/customising-the-upload-file-dialog-box-in-alfresco-share/" rel="nofollow noopener noreferrer"&gt;http://www.ixxus.com/blog/2011/09/customising-the-upload-file-dialog-box-in-alfresco-share/&lt;/A&gt;&lt;SPAN&gt; - but this seems to change it for every location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My thoughts of how to accomplish this (without knowing how to impliment it).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1:When the user presses upload button.&amp;nbsp; Override the normal upload form.&amp;nbsp; Hit a webscript that will check the direction and return true/false if we are in the 'Campaigns' folder.&amp;nbsp; Use the boolean to display addition options.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2: If I can edit the upload button depending on which folder we are in,&amp;nbsp; I can drop in a custom upload button that will hit a webscript presentation with my own upload form.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any and all help is appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Mar 2012 15:10:36 GMT</pubDate>
    <dc:creator>drozes</dc:creator>
    <dc:date>2012-03-23T15:10:36Z</dc:date>
    <item>
      <title>Custom Upload Form for Folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-upload-form-for-folder/m-p/247790#M200920</link>
      <description>Hi guys;I know this is probably a large question but would love any direction,links or suggestions.This relates to the Share tier.When a user is within a folder or subfolder of the name 'Campaigns' I need a custom upload form. [img]http://i.imgur.com/AP1Oj.png[/img]I have found the link http://www.i</description>
      <pubDate>Fri, 23 Mar 2012 15:10:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-upload-form-for-folder/m-p/247790#M200920</guid>
      <dc:creator>drozes</dc:creator>
      <dc:date>2012-03-23T15:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Upload Form for Folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-upload-form-for-folder/m-p/247791#M200921</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 would go with #2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Place a new uploader component after the original by creating a new module extension that takes advantage of the fact that you since Alfresco 4.0 can add in multiple components in the same region. Read this blog post to see an example: &lt;/SPAN&gt;&lt;A href="http://blogs.alfresco.com/wp/ewinlof/2011/11/09/add-remove-or-replace-components-on-shares-document-details-page/" rel="nofollow noopener noreferrer"&gt;http://blogs.alfresco.com/wp/ewinlof/2011/11/09/add-remove-or-replace-components-on-shares-document-details-page/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Override the toolbar.get.head.ftl to include a new custom javascript file with a javascript class that extends the Alfresco.DocListToolbar class and overrides the onFileUpload method. Make your overridden method launch your custom uploader if inside the Campaigns folder and if not reuse the original uploader launch code by calling the method you override simply by calling Alfresco.DocListToolbar.superclass.onFileUpload(this, e, p_obj)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Override the toolbar.get.html.ftl template and change the javascript class that is instantiated to become your new custom javascript class.&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;:: Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 08:18:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-upload-form-for-folder/m-p/247791#M200921</guid>
      <dc:creator>erikwinlof</dc:creator>
      <dc:date>2012-04-02T08:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Upload Form for Folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-upload-form-for-folder/m-p/247792#M200922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ended up just overriding the upload.ftl files for html/flash/dnd and adding in my own element&amp;nbsp; -&amp;nbsp; Than updating the javascript files to work for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think for the future though - I'll be forcing my own upload button, avoiding having to override share.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 14:23:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-upload-form-for-folder/m-p/247792#M200922</guid>
      <dc:creator>drozes</dc:creator>
      <dc:date>2012-04-02T14:23:33Z</dc:date>
    </item>
  </channel>
</rss>

