Gibe / Umbraco-Link-Picker

Link picker property editor for Umbraco 7
12 stars 10 forks source link

Migration Options #39

Closed socsob closed 1 year ago

socsob commented 1 year ago

Hi there, I have a project I am migrating from Umbraco 7 to Umbraco 10 currently. This package was used for the linking. While the information is still in tact and useable, in Umbraco back office it shows as Object object and is not editable. Does anyone know a method to convert the data from this package to something like MultiUrlPicker which is maintained in 10? This library is used in quite a lot of cases and am hoping to not have to manually convert over each link. Any help or pointing me in the right direction would be great, thanks!

socsob commented 1 year ago

I ended up writing a script and using IComposer appended it to the builder. It branches through all content and checks if this old content type exists, if it does it sets the content property for a MultiUrlPicker that I manually created to the new info from JSON. A bit slow since I am connecting to the database and running on a local machine, but works.