Hi,
I've created a nuget package, and I want to have an action executed automatically on the install of the package (for the moment, there is a button on a dashboard to do it)
The action is the automatic creation of document types.
Is there a way to do that ?
Regards
Automatic action when installing nuget package
Hi, I've created a nuget package, and I want to have an action executed automatically on the install of the package (for the moment, there is a button on a dashboard to do it) The action is the automatic creation of document types. Is there a way to do that ? Regards
You can create a migration to do it, see here https://cornehoskam.com/posts/how-to-create-run-migrations-umbraco-v10
Hi Didier,
If this is a package for V9 or up you can use package migrations : https://docs.umbraco.com/umbraco-cms/extending/packages/creating-a-package#package-migration
Dave
thanks. I'll have a look
is working on a reply...