Kentico 8.2 deploying web parts

Tristan Geilich asked on February 24, 2016 01:09

I need to push changes made in CMS -> Pages -> Design tab (web parts) from our dev server to a production server. Is there a way to import these changes to the production site without affecting anything else in the db? E.g. nothing in the Form tab should be updated.

Correct Answer

Brenden Kehren answered on February 24, 2016 16:19

If your license allows it, use Content Staging as Zachary mentions. If not, use import and export of that page template.

For reference, anything on the Page, Form and Properties tabs, are content related changes and will not affect any objects like templates, layouts and webpart properties. Changes on the Design tab are changes to page templates, layouts and webpart properties themselves, which are objects and do not affect content changes UNLESS you remove a webpart which was displaying or has content inside it.

1 votesVote for this answer Unmark Correct answer

Recent Answers


Zachary Perry answered on February 24, 2016 16:10

Use content staging and sync just the page template.

0 votesVote for this answer Mark as a Correct answer

Tristan Geilich answered on February 24, 2016 16:47

It looks like content, data and object logs weren't enabled and a lot of changes have been made on both our end (Design) and at the client's site (Forms). It sounds like exporting the page template (i.e. everything in our Design tab) is the best option?

0 votesVote for this answer Mark as a Correct answer

Zachary Perry answered on February 24, 2016 18:32

The design tab is basically the page template as Brenden pointed out. If you can use staging, I would just that and just sync that page template. It sounds like it is already set up, so that seems the quickest way. Just turn on staging, save the template, and sync that task.

0 votesVote for this answer Mark as a Correct answer

Tristan Geilich answered on February 24, 2016 20:39

Thank you for your feedback. Unfortunately all of our changes were made before logging was enabled. Looks like I'll have to manually export/import?

0 votesVote for this answer Mark as a Correct answer

Zachary Perry answered on February 24, 2016 22:33

If you turn staging on, and save the template, it will generate the sync task.

0 votesVote for this answer Mark as a Correct answer

Tristan Geilich answered on February 25, 2016 00:35

I've enabled staging sync and it appears to be working. However I have to go to each template, "check out", "save", then "check in" again. There are a lot of template changes, is there a way to sync all of them?

0 votesVote for this answer Mark as a Correct answer

Tristan Geilich answered on February 25, 2016 01:17

Brenden thank you for your suggestion! I was able to update the Design/webparts by exporting and importing the entire site, however this also overwrites areas of the site that do not need updating. I've tried to selectively update only the webparts: "Sites" -> "Import site or objects" -> "Upload package" -> "Preselect all items" -> "Next" -> "Deselect all" -> unchecked "Import files" (but left "Import tasks" checked) -> "Development" -> "Web parts" -> "All" (then did the same for "Web part containers") -> "Next". In "Import Progress" it shows that it is importing "Web parts, Web part categories and Web part containers" successfully, however when I click "Finish" and check the cms, nothing has changed. Am I missing a step here?

0 votesVote for this answer Mark as a Correct answer

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