We have an older V7.15.x site running on Cloud that is currently built using a similar principle to some Umbraco theme options out there that build pages up using components that are Child nodes to the page they are for.
For example, the tree currently looks like:
Homepage
-> Component Folder
-> Component 1 - Banner
->Component 2 - Textblock
The task we've been assigned is to convert these Child nodes in to a nested content property on the Homepage node. There's roughly 150 actual pages, with anywhere between 2 to 10 child "component" nodes per page.
So ideally looking for an automated solution to try and perform this mass conversion.
What I'm looking for is any starting points with regards to how to perform a task such as this?
Thankfully, the child node components and the nested contents "blocks" are using the same document type, so I'm hoping that will mean the mapping of them to each other should be relatively simple.
If anyone has performed a similar task to this, or knows of any issues around trying to do this sort of conversion, please let me know!
Converting Child Nodes to Nested Content "Blocks"
Hey All,
We have an older V7.15.x site running on Cloud that is currently built using a similar principle to some Umbraco theme options out there that build pages up using components that are Child nodes to the page they are for.
For example, the tree currently looks like:
The task we've been assigned is to convert these Child nodes in to a nested content property on the Homepage node. There's roughly 150 actual pages, with anywhere between 2 to 10 child "component" nodes per page. So ideally looking for an automated solution to try and perform this mass conversion.
What I'm looking for is any starting points with regards to how to perform a task such as this?
Thankfully, the child node components and the nested contents "blocks" are using the same document type, so I'm hoping that will mean the mapping of them to each other should be relatively simple.
If anyone has performed a similar task to this, or knows of any issues around trying to do this sort of conversion, please let me know!
Hi Thomas,
In this thread you could find some pointers that could get you started : https://our.umbraco.com/packages/backoffice-extensions/nested-content/nested-content-feedback/88895-creating-nested-content-programatically
There is a also some documentation on how to do it in V8 : https://our.umbraco.com/Documentation/Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Nested-Content/#creating-nested-content-programmatically
I don't think it is very different in V7.
Dave
is working on a reply...