How to copy and update document with Kentico API

Tomasz Czado asked on July 5, 2016 13:25

I have a question, how to: - copy one page from one site to another - update some fields on new page - move to publish step new page - and keep in mind, that: -- page can have or not workflow -- page can have or not versioning -- page may not have workflow and versioning

I have a problem, that for example table with custom fields for document type has been updated but when editing document in CMS, I don't see changes (because in versions table are missed some properties that has been updated)

Recent Answers


Bryan Soltis answered on July 5, 2016 13:40 (last edited on July 5, 2016 14:53)

Hi Tomasz,

When you are using pages with versioning, you can run into issues with different data if you don't pull the content correctly. In our API examples, check out the section for "Pages workflow and versioning". You should be able to find the functions you need to copy your pages properly.

https://docs.kentico.com/display/API9/Page+workflow+and+versioning

  • Bryan
1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.