<?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 File upload from Local system in datalist in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/file-upload-from-local-system-in-datalist/m-p/139823#M37382</link>
    <description>&lt;P&gt;I am creating custom datalist where I need to attach file.&lt;/P&gt;&lt;P&gt;I am able to attach file from alfresco but I want to create feature where user can upload file from local system also.&lt;/P&gt;&lt;P&gt;I am able to display burron, On click of button it is asking me to destination,selecting on destination, file upload popup is not coming. It is giving error like this.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error: No instance of uploader type 'Alfresco.DNDUpload' exists. at Alfresco.FileUpload.FU_show&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have included below file in share-custom-config.xml file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;js src="/modules/documentlibrary/global-folder.js" /&amp;gt;&lt;BR /&gt;&amp;lt;css src="/modules/documentlibrary/global-folder.css" /&amp;gt;&lt;BR /&gt;&amp;lt;js src="/modules/simple-dialog.js" /&amp;gt;&lt;BR /&gt;&amp;lt;js src="/components/upload/file-upload.js" /&amp;gt;&lt;BR /&gt;&amp;lt;js src="/components/upload/flash-upload.js" /&amp;gt;&lt;BR /&gt;&amp;lt;js src="/components/upload/html-upload.js" /&amp;gt;&lt;BR /&gt;&amp;lt;js src="/components/upload/dnd-upload.js" /&amp;gt;&lt;BR /&gt;&amp;lt;js src="/components/common/common-component-style-filter-chain.js" /&amp;gt;&lt;BR /&gt;&amp;lt;css src="/components/upload/html-upload.css" /&amp;gt;&lt;BR /&gt;&amp;lt;css src="/components/upload/flash-upload.css" /&amp;gt;&lt;BR /&gt;&amp;lt;css src="/components/upload/dnd-upload.css" /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;js src="/components/form/attachments.js" /&amp;gt; // This is file where upload configuration is there as per below.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;if (!this.fileUpload) {
        					this.fileUpload = Alfresco.getFileUploadInstance();
    					}
  
                       var multiUploadConfig =
                       {
                          siteId: selectedFolder.siteId,
                          containerId: selectedFolder.containerId,
                          uploadDirectory: selectedFolder.path,
                          mode: this.fileUpload.MODE_SINGLE_UPLOAD,
                          filter: [],
                          thumbnails: "doclib",
                          onFileUploadComplete:
                          {
                             fn: this.onFileUploadComplete,
                             scope: this
                          }
                       };
                      this.fileUpload.show(multiUploadConfig);&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Am I missing any file to include?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2023 13:54:38 GMT</pubDate>
    <dc:creator>sp2</dc:creator>
    <dc:date>2023-02-24T13:54:38Z</dc:date>
    <item>
      <title>File upload from Local system in datalist</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/file-upload-from-local-system-in-datalist/m-p/139823#M37382</link>
      <description>&lt;P&gt;I am creating custom datalist where I need to attach file.&lt;/P&gt;&lt;P&gt;I am able to attach file from alfresco but I want to create feature where user can upload file from local system also.&lt;/P&gt;&lt;P&gt;I am able to display burron, On click of button it is asking me to destination,selecting on destination, file upload popup is not coming. It is giving error like this.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Error: No instance of uploader type 'Alfresco.DNDUpload' exists. at Alfresco.FileUpload.FU_show&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have included below file in share-custom-config.xml file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;js src="/modules/documentlibrary/global-folder.js" /&amp;gt;&lt;BR /&gt;&amp;lt;css src="/modules/documentlibrary/global-folder.css" /&amp;gt;&lt;BR /&gt;&amp;lt;js src="/modules/simple-dialog.js" /&amp;gt;&lt;BR /&gt;&amp;lt;js src="/components/upload/file-upload.js" /&amp;gt;&lt;BR /&gt;&amp;lt;js src="/components/upload/flash-upload.js" /&amp;gt;&lt;BR /&gt;&amp;lt;js src="/components/upload/html-upload.js" /&amp;gt;&lt;BR /&gt;&amp;lt;js src="/components/upload/dnd-upload.js" /&amp;gt;&lt;BR /&gt;&amp;lt;js src="/components/common/common-component-style-filter-chain.js" /&amp;gt;&lt;BR /&gt;&amp;lt;css src="/components/upload/html-upload.css" /&amp;gt;&lt;BR /&gt;&amp;lt;css src="/components/upload/flash-upload.css" /&amp;gt;&lt;BR /&gt;&amp;lt;css src="/components/upload/dnd-upload.css" /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;js src="/components/form/attachments.js" /&amp;gt; // This is file where upload configuration is there as per below.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;if (!this.fileUpload) {
        					this.fileUpload = Alfresco.getFileUploadInstance();
    					}
  
                       var multiUploadConfig =
                       {
                          siteId: selectedFolder.siteId,
                          containerId: selectedFolder.containerId,
                          uploadDirectory: selectedFolder.path,
                          mode: this.fileUpload.MODE_SINGLE_UPLOAD,
                          filter: [],
                          thumbnails: "doclib",
                          onFileUploadComplete:
                          {
                             fn: this.onFileUploadComplete,
                             scope: this
                          }
                       };
                      this.fileUpload.show(multiUploadConfig);&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Am I missing any file to include?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 13:54:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/file-upload-from-local-system-in-datalist/m-p/139823#M37382</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2023-02-24T13:54:38Z</dc:date>
    </item>
  </channel>
</rss>

