Copied to clipboard

Flag this post as spam?

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


  • Jeffrey Weinstein 67 posts 313 karma points
    Jul 06, 2017 @ 07:28
    Jeffrey Weinstein
    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?

  • Jeffrey Weinstein 67 posts 313 karma points
    Jul 06, 2017 @ 08:38
    Jeffrey Weinstein
    101

    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.)

Please Sign in or register to post replies

Write your reply to:

Draft