Migrate Mendix apps! The migration from Mendix 7 to 8 is not that hard, but there are a couple of things worth mentioning though. This blog post is an addition to the documentation page: Moving from Desktop Modeler Version 7 to Studio Pro 8. In this blog, our Mendix expert, Marcel Groeneweg has pinpointed some subjects and own experiences to keep in mind when migrate Mendix apps from Mendix 7 to Mendix 8.
Sometimes it can help to have the original Mx7 project available too, so be sure to create an export and open it so you can compare after conversion. Also very nice to have for checking userlib / Java JAR issues.
Many Appstore modules have been updated to support Mendix 8. Quite often these modules also come with updated versions of their dependencies.
The theme migration has been really well documented. If your current theme is already based on Atlas, migration is not that difficult, but pay close attention to the migration instructions and the changes to the DOM made in Mendix 8.
For a custom theme that is older than Atlas, you will need to base your theme on Atlas 2.0.0 or higher to prevent theme issues in Mendix 8. That can require extensive rework, especially if the current theme has a complex company style.
The DOM changes in Mendix 8 really are quite an improvement and make customization easier, so it is well worth the effort.
After migration of the project to Studio Pro 8, you will have an error that you are using a modified Atlas theme. Even after you migrate your theme, the error will not go away. Just right-click it and then you can remove it. (That’s new, usually errors go away when you make changes, but there is just no way for Studio Pro to detect you’re done so you will be the judge of that.)
As of Atlas UI 2.0.0, the phone layouts have been renamed, causing a lot of errors in your project if you referenced that layout. There is a simple fix for this, the example is for Phone_Default:
You may get errors like CE6083, Property Align Self is not supported by your theme. Check theme\settings.json. These can be solved by right-clicking them and removing the property.
You may get errors like CE6085, Unknown option Center align as column for property Align content. Check theme\settings.json There is a typo in the conversion, When you double click the error, you can select the similar value in the property pane.
Don’t let the migration hold you back. I’ve done a few already without too much hassle. The theme migration is also well worth the effort. Mendix 8 is a great release, so:
Kijk jij er ook tegenop om al je Mendix apps te moeten migreren? Wil jij snel en zonder problemen je applicaties migreren? Neem contact met ons op en wij zorgen ervoor dat jij je kan bezighouden met wat er echt toe doet, Mendix apps bouwen die het verschil maken.