Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Vojtěch Macháček 45 posts 198 karma points
    Jul 06, 2017 @ 07:28
    Vojtěch Macháček
    0

    Changing parent Document type

    Is there a way to change parent document type? For a document type. Let say I have "page", which I created without model generated template, than I created "genericPage" which has set template and strong type genereted for it. Now half og my website is document types are inherited from "page" and half (which I created later) is inherited from "genericPage". Now I would like to change inherited types of children of "page" to become children of "genericPage". Is something like that possible?

  • Vojtěch Macháček 45 posts 198 karma points
    Jul 06, 2017 @ 08:38
    Vojtěch Macháček
    100

    I figured it out, first I found this great SQL script which lets you search for value in any table inside any row, that helped with my research.

    https://support.symantec.com/en_US/article.HOWTO61242.html

    I found table cmsContentType2ContentType which is basically parent => child binding table, so you want to edit parent id there.

    and in order to display your new content types under correct node you have to also update umbracoNode there is level and parentId, columns, which you will need to update (level only in case your level changes.)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies