Hopefully someone can point me in the right direction, I think this may take a script to do.
I have some properties in a child document type which I would like to move to the childs parent document type. Has anyone successfully done this before?
Deleting document type properties, then adding them to the master deleted the data.
I should also mention, that as well as moving properties to the parent document type, it would be good to move properties to Document Type Compositions to.
cmsContentType
which has the ID for the content type
cmsPropertyTypeGroup
which has the Tab on the content type.
It needs to be on both content types if you mix props in it.
cmsPropertyType
which has the properties.
These need to be linked to the content type (master) and the tab in the content type (so master's version of the tab)
Move Document Type Properties to Master
Hello,
Hopefully someone can point me in the right direction, I think this may take a script to do.
I have some properties in a child document type which I would like to move to the childs parent document type. Has anyone successfully done this before?
Deleting document type properties, then adding them to the master deleted the data.
Thanks,
Scott
I should also mention, that as well as moving properties to the parent document type, it would be good to move properties to Document Type Compositions to.
Thanks,
Scott
I'm afraid the only way to go about this for now is to manually reparent the properties in the database.
(Might be somebody knows something I don't, but that's what I'd do)
Thanks Lars.
Do you know if this is all controlled in cmsPropertyTypeGroup?
Trying to find my way in the dark a little here.
Cheers,
Scott
You've got
cmsContentType
which has the ID for the content type
cmsPropertyTypeGroup
which has the Tab on the content type.
It needs to be on both content types if you mix props in it.
cmsPropertyType
which has the properties.
These need to be linked to the content type (master) and the tab in the content type (so master's version of the tab)
All sounds fairly straight forward :) Thank's again Lars, I'll let everyone know how it goes.
Scott
is working on a reply...