Tags not exported with bulkexport?

cancel
Showing results for 
Search instead for 
Did you mean: 
apiening
Active Member II

Tags not exported with bulkexport?

I'm using the bulkexport tool (v. 0.7) to migrate some sites from a Alfresco 5.1 installation to Alfresco 6.1.

The test run worked fine and the documents has been imported including custom document titles, descriptions, author, create date etc. and even versions.

However, I noticed that the assigned tags have not been exported.

Is this the expected behaviour?

We would really like to migrate the tags as well, is there a way to do this?

3 Replies
jljwoznica
Senior Member

Re: Tags not exported with bulkexport?

I am working on verifying whether this is supported or not; however, in the meantime - this old post might be helpful: https://hub.alfresco.com/t5/ecm-archive/bulk-upload-and-tagging/m-p/29119

apiening
Active Member II

Re: Tags not exported with bulkexport?

Dear jljwoznica,

thank you for your response.

Did you already have the chance to verify this? I can clearly see that applied tags are not included in the metadata.properties.xml files.

However I did notice that the mysite.metadata.properties.xml which has been created by the exporter at the root level of the exported site does have some sort of summary of the used tags within the site:

<entry key="cm:tagScopeSummary">[test tag=4, tagtest=3, demotag=1, test=1, image=1, funny=1]</entry>

The numbers in the tag list are in fact the correct count on how often they have been assigned to documents.

That looks weird to me, because on the one hand the exporter does take the tags into consideration but does not assign them to the actual documents. Do you know the idea behind that?

I thought that tags might get saved to another aditional xml file instead of the per document metadata.properties.xml but grep didn't find any of my tags.

Regarding the thread Bulk upload and tagging that you have linked: The situation described there is different from mine: I don't need to import files from an external third party source. I'm using the Alfresco bulk-export tool and the bulk-import tool which works together pretty well. It is just that the tags are missing for whatever reason.

I don't see creating a Alfresco Web-Script as a good approach for exporting and importing here, since with the bulk-export/-import tools there is a solution provided specifically for this case.

Instead it would be the better option to extend the existing tools to support tags.

What dou you think?

Kind regards

Andreas

 

jljwoznica
Senior Member

Re: Tags not exported with bulkexport?

It doesn't seem to be supported. But there are some instructions on this post: https://hub.alfresco.com/t5/alfresco-content-services-blog/new-4-0-features-for-share-import-export/... which also has links to some python custom code.