Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Converting Document Types View modes: 
User avatar
Member
Member
Armysniper89 - 4/13/2012 11:21:36 AM
   
Converting Document Types
What is the best way to export documents from one type to another? I have Article document type objects in a folder and I need to convert them to a new document type that inherits from Article? Import toolkit is more for table imports...I want to be able to pick the folder and convert the type. Should be 1:1 right now.

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 4/16/2012 6:28:48 AM
   
RE:Converting Document Types
Hi,

the easiest way will be to use API. You cannot simply update documents because its data are already stored in a table which belongs to the original document type. What you can do is read data from original document type and insert them, i.e. create new documents in the target location as a new document type.

API example you can find for example here:
Create document using API

Best regards,
Ivana Tomanickova