Kentico / xperience-by-kentico-kentico-migration-tool

A customizable tool that migrates older Kentico solutions to the latest version of Xperience by Kentico.
MIT License
8 stars 4 forks source link

Provide node context in ClassMapping > ConvertFrom #290

Open twozero6 opened 5 days ago

twozero6 commented 5 days ago

Motivation

This feature would help us maintain relationships between content items that are being converted from pages to reusable content. For example, we could use the GUID of the node being converted to a reusable item, to look up child nodes in the tree and get additional data to map to the parent node.

Proposed solution

Having full TreeNode context in the ConvertFrom converter function.

tkrch commented 5 days ago

Hi @twozero6, I will include this into roadmap for new implementations.

twozero6 commented 2 days ago

@tkrch I appreciate it! I'm only asking because it's blocking a part of the migration work I am doing - do you know when we could expect this to be implemented?

tkrch commented 1 day ago

@twozero6 if you need it really fast, You may try #293 until it is released and fully tested. (sample)