I currently have an Umbraco 13 site that I’m upgrading to Umbraco 17 soon. At the moment I’m checking for macro’s to replace and I noticed that the site has (fortunately) only one macro: the Insert Form with Theme macro. My knowledge of Umbraco Forms is a bit limited, so I need to know:
Is this a default Umbraco macro?
Is there an automatic migration in forms, or do I need to do something manually?
Sorry for late reply as I was looking around the forums regarding macros and noticed this, for Umbraco forms you do not need to migrate you can render them as a ViewComponent or a TagHelper if you need. I safely deleted the forms macro.
@glombek has a blog post about how to migrate Rich Text Editor macros to blocks using uSync Migrations.
You might find it useful. IIRC the way uSync Migrations works, is quite similar to Umbraco Deploy Migrations, so you can use it as an inspiration for that if you are using Umbraco Deploy.
Thanks. The uSync migrations seem more like a ‘this is an example, not tested, you can take this, but you need to write your own‘.
To be honest, I really feel like these migratons should have been addressed by HQ better. It’s such a big deal and messing with Deploy with very limited documentation is not what I mean with that.
In the end, I used the Auto block list | Umbraco Marketplace with some changes to the code get it to work. The foundation of that package is very solid, but it requires manual interaction. I’m thinking of making a fork of this with some improvements so that it can run as a migration.
Totally agree, also Nested Content to block lists and legacy media picker to new media picker, should IMO be handled in the upgrade migrations. Just like the block changes in v15(?) was.