<?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: Edit Metadata while uploading in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/edit-metadata-while-uploading/m-p/304139#M257269</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is actually a fairly tricky customization to achieve in 4.2 (and previous versions) but something we're hopefully going to be making simpler in the future. Assuming you're using a browser that supports the HTML5 file-upload capabilities you're going to be performing uploads via the "dnd-upload.js" client-side JavaScript widget (which is used for both drag-and-drop and regular file picker uploads). Are you looking to collect the metadata from the user on selected files *before* they are uploaded or to you want to offer the user the chance to set metadata after the upload has successfully completed? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If it's the latter then you're going to want to prevent the dialog from automatically closing on upload completion and get a reference to the newly created NodeRefs for the uploaded files. You're then going to need to display some kind of form (or multiple forms) for each new document and post the metadata to the forms-processor back end. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In order to prevent the dialog automatically closing and to capture the NodeRefs and display your own form you're going to need to extend the dnd-upload.js widget and instantiate your own version instead. You will be able to swap out the client-side widgets by using an extension module that targets the JavaScript controller of the "dnd-upload.get" WebScript and modifies the definitions for the widgets to instantiate (see this blog post for an example of extending and swapping out client-side widgets:&lt;/SPAN&gt;&lt;A href="http://blogs.alfresco.com/wp/developer/2012/05/22/customizing-share-javascript-widget-instantiation-part-1/" rel="nofollow noopener noreferrer"&gt;http://blogs.alfresco.com/wp/developer/2012/05/22/customizing-share-javascript-widget-instantiation-part-1/&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully this information is enough to get you on your way, please post back if any of that doesn't make sense or you get stuck,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Nov 2013 21:13:16 GMT</pubDate>
    <dc:creator>ddraper</dc:creator>
    <dc:date>2013-11-07T21:13:16Z</dc:date>
    <item>
      <title>Edit Metadata while uploading</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/edit-metadata-while-uploading/m-p/304138#M257268</link>
      <description>I just recently installed alfresco, and it seems to be working Perfectly for all my needs. However, the two extra functionalities that i have been trying and failing(rather miserably) to figure how to set up is How to make it so that when i select upload, i have to input the metadata, as well as how</description>
      <pubDate>Thu, 07 Nov 2013 12:48:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/edit-metadata-while-uploading/m-p/304138#M257268</guid>
      <dc:creator>rassellgreen24</dc:creator>
      <dc:date>2013-11-07T12:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Edit Metadata while uploading</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/edit-metadata-while-uploading/m-p/304139#M257269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is actually a fairly tricky customization to achieve in 4.2 (and previous versions) but something we're hopefully going to be making simpler in the future. Assuming you're using a browser that supports the HTML5 file-upload capabilities you're going to be performing uploads via the "dnd-upload.js" client-side JavaScript widget (which is used for both drag-and-drop and regular file picker uploads). Are you looking to collect the metadata from the user on selected files *before* they are uploaded or to you want to offer the user the chance to set metadata after the upload has successfully completed? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If it's the latter then you're going to want to prevent the dialog from automatically closing on upload completion and get a reference to the newly created NodeRefs for the uploaded files. You're then going to need to display some kind of form (or multiple forms) for each new document and post the metadata to the forms-processor back end. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In order to prevent the dialog automatically closing and to capture the NodeRefs and display your own form you're going to need to extend the dnd-upload.js widget and instantiate your own version instead. You will be able to swap out the client-side widgets by using an extension module that targets the JavaScript controller of the "dnd-upload.get" WebScript and modifies the definitions for the widgets to instantiate (see this blog post for an example of extending and swapping out client-side widgets:&lt;/SPAN&gt;&lt;A href="http://blogs.alfresco.com/wp/developer/2012/05/22/customizing-share-javascript-widget-instantiation-part-1/" rel="nofollow noopener noreferrer"&gt;http://blogs.alfresco.com/wp/developer/2012/05/22/customizing-share-javascript-widget-instantiation-part-1/&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully this information is enough to get you on your way, please post back if any of that doesn't make sense or you get stuck,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 21:13:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/edit-metadata-while-uploading/m-p/304139#M257269</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2013-11-07T21:13:16Z</dc:date>
    </item>
  </channel>
</rss>

