<?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: How to import data into Nuxeo and keep original dc:creator, dc:created, dc:modified, dc:lastContributor from former application in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-import-data-into-nuxeo-and-keep-original-dc-creator-dc/m-p/323737#M10738</link>
    <description>&lt;P&gt;Half way there.&lt;/P&gt;
&lt;P&gt;With &lt;A href="https://app.quandora.com/object/956da450-9ab8-49d6-b3d8-007baae51182"&gt;Michael Gena&lt;/A&gt; help I managed to get in a good point&lt;/P&gt;
&lt;P&gt;It's possible to disable DublinCore using Nuxeo Studio adding this extension&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent"&amp;gt;  
	&amp;lt;listener enabled="false" async="false" class="org.nuxeo.ecm.platform.dublincore.listener.DublinCoreListener" name="dclistener" postCommit="false" priority="120"&amp;gt;  
		&amp;lt;event&amp;gt;documentCreated&amp;lt;/event&amp;gt;  
		&amp;lt;event&amp;gt;beforeDocumentModification&amp;lt;/event&amp;gt;  
		&amp;lt;event&amp;gt;documentPublished&amp;lt;/event&amp;gt;  
		&amp;lt;event&amp;gt;lifecycle_transition_event&amp;lt;/event&amp;gt;  
		&amp;lt;event&amp;gt;documentCreatedByCopy&amp;lt;/event&amp;gt;  
	&amp;lt;/listener&amp;gt;  
&amp;lt;/extension&amp;gt;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note &lt;STRONG&gt;enabled="false"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The problem with this solution is that it requires an additional deploy to enable DC again.&lt;/P&gt;
&lt;P&gt;I wonder if there is a API call that we can use in order to disable and enable DC .&lt;/P&gt;</description>
    <pubDate>Fri, 03 Feb 2017 05:50:46 GMT</pubDate>
    <dc:creator>Eduardo_Rodrigu</dc:creator>
    <dc:date>2017-02-03T05:50:46Z</dc:date>
    <item>
      <title>How to import data into Nuxeo and keep original dc:creator, dc:created, dc:modified, dc:lastContributor from former application</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-import-data-into-nuxeo-and-keep-original-dc-creator-dc/m-p/323736#M10737</link>
      <description>&lt;P&gt;I am migrating content from an existing application into Nuxeo.
We are replacing our existing workflow solution by Nuxeo.&lt;/P&gt;
&lt;P&gt;I need to keep the &lt;CODE&gt;dc:creator, dc:created, dc:modified, dc:lastContributor&lt;/CODE&gt; fields with the former application values.
I know they are internal fields maintained from DublinCore.&lt;/P&gt;
&lt;P&gt;I saw another thread where the suggestion was using a custom field, but that doesn't seem a great idea moving forward.
I'd need to maintain those fields manually.
I want to rely on Nuxeo core to keep the fields up-to-date for every new created/updated document.&lt;/P&gt;
&lt;P&gt;Even though &lt;CODE&gt;dc:creator, dc:created&lt;/CODE&gt;&amp;nbsp;are &lt;CODE&gt;dc&lt;/CODE&gt; fields I managed to change their values with an update call after the document has been created.&lt;/P&gt;
&lt;P&gt;What are the alternatives to update &lt;CODE&gt;dc:modified, dc:lastContributor&lt;/CODE&gt; ?&lt;/P&gt;
&lt;P&gt;How can I use an Admin user to act on behalf of another user?&lt;/P&gt;
&lt;P&gt;The import script will run only once so I don't mind about a few hacks.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 04:29:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-import-data-into-nuxeo-and-keep-original-dc-creator-dc/m-p/323736#M10737</guid>
      <dc:creator>Eduardo_Rodrigu</dc:creator>
      <dc:date>2017-01-27T04:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to import data into Nuxeo and keep original dc:creator, dc:created, dc:modified, dc:lastContributor from former application</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-import-data-into-nuxeo-and-keep-original-dc-creator-dc/m-p/323737#M10738</link>
      <description>&lt;P&gt;Half way there.&lt;/P&gt;
&lt;P&gt;With &lt;A href="https://app.quandora.com/object/956da450-9ab8-49d6-b3d8-007baae51182"&gt;Michael Gena&lt;/A&gt; help I managed to get in a good point&lt;/P&gt;
&lt;P&gt;It's possible to disable DublinCore using Nuxeo Studio adding this extension&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent"&amp;gt;  
	&amp;lt;listener enabled="false" async="false" class="org.nuxeo.ecm.platform.dublincore.listener.DublinCoreListener" name="dclistener" postCommit="false" priority="120"&amp;gt;  
		&amp;lt;event&amp;gt;documentCreated&amp;lt;/event&amp;gt;  
		&amp;lt;event&amp;gt;beforeDocumentModification&amp;lt;/event&amp;gt;  
		&amp;lt;event&amp;gt;documentPublished&amp;lt;/event&amp;gt;  
		&amp;lt;event&amp;gt;lifecycle_transition_event&amp;lt;/event&amp;gt;  
		&amp;lt;event&amp;gt;documentCreatedByCopy&amp;lt;/event&amp;gt;  
	&amp;lt;/listener&amp;gt;  
&amp;lt;/extension&amp;gt;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note &lt;STRONG&gt;enabled="false"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The problem with this solution is that it requires an additional deploy to enable DC again.&lt;/P&gt;
&lt;P&gt;I wonder if there is a API call that we can use in order to disable and enable DC .&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 05:50:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-import-data-into-nuxeo-and-keep-original-dc-creator-dc/m-p/323737#M10738</guid>
      <dc:creator>Eduardo_Rodrigu</dc:creator>
      <dc:date>2017-02-03T05:50:46Z</dc:date>
    </item>
  </channel>
</rss>

