NuPickers (v7) to Contentment (v8)
# help-with-umbraco
r
What would be the steps to go from NuPickers in Umbraco 7 to Contentment in Umbraco 8? We see a lot of upgrade guides that will do this for 9+ sites. But we need to get it working in v8. Any suggestiongs? Blogs? Etc?
@leekelleher do you have an 'official' upgrade path available?
l
Hi @Roy Berris, sorry to say there isn't a support upgrade path - mostly as the codebases between nuPickers and Contentment are totally separate, (disclaimer: I'd contributed to nuPickers code, but I wasn't the project's maintainer). With latest Umbraco v10+, the [uSync Migrations](https://github.com/Jumoo/uSyncMigrations) tool does have support for migrating from nuPickers to Contentment, (these were community contributions, not from me), so it is possible... but in terms of v8, it'd mean some manipulation of the Data Type configuration and the Content/node property values. I can't recall seeing any blog posts that may help, sorry. 😬
r
Alright thanks!
l
Hopefully someone else might be able to give some pointers. 🤞
j
For the most part I have recreated my pickers manually and "plunked" them right in the same property but it highly depends on what you're using. I've found - especially with data lists - that the data mostly translates right over. The biggest difference I've discovered is that in some cases nuPicker stores multiple picked items in a string like
"1234,1356,1859"
and Contentment stores them in a proper array in the data like
["1234","1356","1859"]
. So there is sometimes a migration that needs to happen. I generally like to test saving the new data on a single page and then work with migrating the others (after I do a backup of course!) 🙂
52 Views