<?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: Importing files from xml that describes file structure in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/importing-files-from-xml-that-describes-file-structure/m-p/282532#M235662</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The thing I want to accomplish is that the files from the location 'W:\websites\dms\CheckedIn\' are put in a new structure, based on the attributes in the xml file. So in this example, the file 'W:\websites\dms\CheckedIn\00\00\00\51431C7B-AC23-4C9C-AB00-D69738B8077A.doc' should end up in the folder + filename: '/Vergadering 14 maart 2008/Versie II - RenD-uitgaven private sector.doc'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As the end target is Alfresco, I see two possibilities to get to this end:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Create the folder structure under Linux of Windows with a certain tool that can use the attributes in XML to create that structure, then import this folder structure with all the files in Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Use the xml to directly import the files in Alfresco, and create the right folder structure and filenames 'on the fly'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In both cases it's a nice to have to be able to set the created and modified dates, but it's not a must.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And in both cases: I'm not sure how to do it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Feb 2013 12:15:00 GMT</pubDate>
    <dc:creator>ebogaard</dc:creator>
    <dc:date>2013-02-25T12:15:00Z</dc:date>
    <item>
      <title>Importing files from xml that describes file structure</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/importing-files-from-xml-that-describes-file-structure/m-p/282530#M235660</link>
      <description>Recently I received a zip with a file file structure and an xml-file that describes these files. This xml is an export from a ms sql-db describing the binaries in the file structure. As this file structure is completely 'random' (comparable to the way Alfresco stores the binaries), the metadata is i</description>
      <pubDate>Mon, 25 Feb 2013 09:47:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/importing-files-from-xml-that-describes-file-structure/m-p/282530#M235660</guid>
      <dc:creator>ebogaard</dc:creator>
      <dc:date>2013-02-25T09:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Importing files from xml that describes file structure</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/importing-files-from-xml-that-describes-file-structure/m-p/282531#M235661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I do not understand your requirement. Few questions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) do you expect that xml will attach the metadata to the imported files I do not think this is possible out of box.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can create your custom code which will attach the metadata by reading that xml file and move the files to given folder path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 11:55:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/importing-files-from-xml-that-describes-file-structure/m-p/282531#M235661</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2013-02-25T11:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Importing files from xml that describes file structure</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/importing-files-from-xml-that-describes-file-structure/m-p/282532#M235662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The thing I want to accomplish is that the files from the location 'W:\websites\dms\CheckedIn\' are put in a new structure, based on the attributes in the xml file. So in this example, the file 'W:\websites\dms\CheckedIn\00\00\00\51431C7B-AC23-4C9C-AB00-D69738B8077A.doc' should end up in the folder + filename: '/Vergadering 14 maart 2008/Versie II - RenD-uitgaven private sector.doc'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As the end target is Alfresco, I see two possibilities to get to this end:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Create the folder structure under Linux of Windows with a certain tool that can use the attributes in XML to create that structure, then import this folder structure with all the files in Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Use the xml to directly import the files in Alfresco, and create the right folder structure and filenames 'on the fly'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In both cases it's a nice to have to be able to set the created and modified dates, but it's not a must.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And in both cases: I'm not sure how to do it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 12:15:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/importing-files-from-xml-that-describes-file-structure/m-p/282532#M235662</guid>
      <dc:creator>ebogaard</dc:creator>
      <dc:date>2013-02-25T12:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Importing files from xml that describes file structure</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/importing-files-from-xml-that-describes-file-structure/m-p/282533#M235663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So in your XML file one document tag denotes the metadata of one particular document right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so, now you need to do is need to do some coding to create one webscript which will read your xml file&amp;nbsp; and do the necessary job in the alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For coding you will require Alfresco SDK&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_SDK" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Alfresco_SDK&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and creating webscript you can refer this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples&lt;/A&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 13:10:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/importing-files-from-xml-that-describes-file-structure/m-p/282533#M235663</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2013-02-25T13:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Importing files from xml that describes file structure</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/importing-files-from-xml-that-describes-file-structure/m-p/282534#M235664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your suggestion, but this goes a little bit over my head.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was hoping for a far easier tool or procedure.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 14:47:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/importing-files-from-xml-that-describes-file-structure/m-p/282534#M235664</guid>
      <dc:creator>ebogaard</dc:creator>
      <dc:date>2013-02-25T14:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Importing files from xml that describes file structure</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/importing-files-from-xml-that-describes-file-structure/m-p/282535#M235665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;See you Alfresco provide bulk import feature with the help of which you can put all your contents in zip file in particular folder structure it should&amp;nbsp; laying under alfresco as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then if you simply import that file it will upload all the files in the alfresco and create similar structure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now in your case you want to import metadata as well which is something will require either manual effort or some coding.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or else you can go for the addins supported by alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://addons.alfresco.com/addons/importexport-acpzip-share" rel="nofollow noopener noreferrer"&gt;http://addons.alfresco.com/addons/importexport-acpzip-share&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 12:16:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/importing-files-from-xml-that-describes-file-structure/m-p/282535#M235665</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2013-02-26T12:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Importing files from xml that describes file structure</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/importing-files-from-xml-that-describes-file-structure/m-p/282536#M235666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The bulk import feature is great, but there's one problem (at least, that's what I think): the xml doesn't describe the folders (parents) or which files are in that folder (children). That information is in an XML-attribute of each document. That's why I was hoping for another tool to either transform the xml, or create a file structure that the bulk importer gets.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or do you think the bulk importer gets this xml-file anyway? Maybe I'm just going to try it and see what happens.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 13:17:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/importing-files-from-xml-that-describes-file-structure/m-p/282536#M235666</guid>
      <dc:creator>ebogaard</dc:creator>
      <dc:date>2013-02-26T13:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Importing files from xml that describes file structure</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/importing-files-from-xml-that-describes-file-structure/m-p/282537#M235667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;"I was hoping for another tool to either transform the xml"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;=&amp;gt; that's an ETL such as Talend, which is incidentally integrated with Alfresco through the Alfresco ETL Connector :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://knowledge.openwide.fr/Main/AlfrescoETLConnector" rel="nofollow noopener noreferrer"&gt;http://knowledge.openwide.fr/Main/AlfrescoETLConnector&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With an ETL like Talend, you can visually configure the transformation of your XML (and mashup it with others, or even with existing metadata from Alfresco using the CMIS Connector) in an Alfresco file &amp;amp; folder tree structure. And you can configure the ETL to do it in several passes, ex. create tree structure from XML and 2. fill it with imported documents.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 11:41:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/importing-files-from-xml-that-describes-file-structure/m-p/282537#M235667</guid>
      <dc:creator>mdutoo</dc:creator>
      <dc:date>2013-10-09T11:41:43Z</dc:date>
    </item>
  </channel>
</rss>

