Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • ssougnez 93 posts 319 karma points c-trib
    Sep 11, 2018 @ 07:01
    ssougnez
    0

    Create content in a migration

    Hello,

    I followed this article (https://cultiv.nl/blog/using-umbraco-migrations-to-deploy-changes/) to create migrations. However, when I read the comments, I saw Shannon say that apparently, it's not recommended to use "ApplicationContent.Current" in migrations context.

    However, I'd like my migration to create some default page in my site. How can I do this without accessing "ApplicationContext.Current"?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies