<?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: Change Document type in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/change-document-type/m-p/324979#M11980</link>
    <description>&lt;P&gt;Hi David,&lt;/P&gt;
&lt;P&gt;This is not possible at the moment. I don't know why you would do that but Facets are a good way to add and remove logic to a document.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Jun 2014 14:50:17 GMT</pubDate>
    <dc:creator>Laurent_Doguin</dc:creator>
    <dc:date>2014-06-02T14:50:17Z</dc:date>
    <item>
      <title>Change Document type</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/change-document-type/m-p/324978#M11979</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Is it possible to change the type of a document after the creation ?&lt;/P&gt;
&lt;P&gt;Best Regards,
David&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2014 11:54:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/change-document-type/m-p/324978#M11979</guid>
      <dc:creator>David79_</dc:creator>
      <dc:date>2014-06-02T11:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Change Document type</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/change-document-type/m-p/324979#M11980</link>
      <description>&lt;P&gt;Hi David,&lt;/P&gt;
&lt;P&gt;This is not possible at the moment. I don't know why you would do that but Facets are a good way to add and remove logic to a document.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2014 14:50:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/change-document-type/m-p/324979#M11980</guid>
      <dc:creator>Laurent_Doguin</dc:creator>
      <dc:date>2014-06-02T14:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Change Document type</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/change-document-type/m-p/324980#M11981</link>
      <description>&lt;P&gt;There are common use-cases, i.e. documents (such as invoices) that get into the Nuxeo system via Scanbot, WebDAV upload, import, etc. as regular files but should be changed to 'invoice' document types later on.
Although this could be done via Facets, I think a document type for an 'invoice' would make more sense here.
From a technical standpoint, it should be possible without problems to change a document to another type if the target type inherits from the current type (i.e. if the document is currently of type 'file' and should be changed type 'invoice', where the 'invoice' type inherits from 'file' type.)
The other way around, there could be problems of course.&lt;/P&gt;
&lt;P&gt;I think the closest right now is this approach&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://answers.nuxeo.com/general/q/435eb9c310584a928fd32be7a8450516/Drag-and-Drop-Import-and-document-types-definition" target="test_blank"&gt;https://answers.nuxeo.com/general/q/435eb9c310584a928fd32be7a8450516/Drag-and-Drop-Import-and-document-types-definition&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://doc.nuxeo.com/nxdoc/how-to-change-the-default-document-type-when-importing-a-file-in-the-nuxeo-platform/" target="test_blank"&gt;https://doc.nuxeo.com/nxdoc/how-to-change-the-default-document-type-when-importing-a-file-in-the-nuxeo-platform/&lt;/A&gt;
but it still needs adjustments to being able to change the doc type afterwards, not just on creation time.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Alternatively, instead of changing the type after the doc creation (if there is no API/method for it at the moment and one does not want to write it's own file handler), one could probably (just a theory, haven't tested it myself yet) write an action/workflow that creates a new document of the wished type, attach the attached binary file of the original document to it, then delete the original document. This should be suitable for a typical 'inbox' scenario, where documents get imported in various ways and need some sorting and categorization afterwards by the secretary for example.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 07:58:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/change-document-type/m-p/324980#M11981</guid>
      <dc:creator>mathias_lin</dc:creator>
      <dc:date>2017-01-27T07:58:44Z</dc:date>
    </item>
  </channel>
</rss>

