AnsweredAssumed Answered

Change Filename and Type with bulkimport tool

Question asked by silenr0c on Jun 7, 2016
Latest reply on Jun 9, 2016 by sujaypillai
Hi folks,

I have been using bulkimport tools for quite sometimes,
now there are necessity to change the existing file with new one that have different name and type.
e.g. picture.jpg need to change to testing.pdf.

I try to form the xml like below, filename:
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE properties SYSTEM "">
<properties><entry key="type">…entry>
<entry key="cm:modified"><![CDATA[2016-06-07T14:26:57.008+08:00]]></entry>
<entry key="cm:content.mimetype"><![CDATA[application/pdf]]></entry>
<entry key="cm:name"><![CDATA[testing.pdf]]></entry>
<entry key="cm:title"><![CDATA[testing.pdf]]></entry>

I rename testing.pdf into picture.jpg and use bulkingest tool to update the metadata and content.
what happen was, original picture.jpg still exist and does not affected by the update, instead alfresco create testing.pdf base on the ingestion.

anyone has experience for this?