cancel
Showing results for 
Search instead for 
Did you mean: 

import content through xml

jenskock
Champ in-the-making
Champ in-the-making
I am looking for a convenient way to import data based on xml into the alfresco repository.

The xml contains the metadata by way of values and an image by referencing to a location on the filesystem.

Is there a standard way of doing this or will I have to programm this with scripts?

thanks in advance!

jens
1 REPLY 1

kevinr
Star Contributor
Star Contributor
Alfresco has an XML format for importing meta-data and content into the repo. We use it in our ACP import/export files: http://wiki.alfresco.com/wiki/Export_and_Import

You may be able to write an XSLT that transforms your XML definition into ours and then create a ZIP file (renamed to .acp) that you could then import into Alfresco…?

The ACP XML format is not very well documented, but it is human readable and if you export a couple of files/folders and examine the ACP file structure (see the XML file inside it) then it should be possible to deconstruct easily enough.

Hope this helps,

Kevin