Copied to clipboard

Flag this post as spam?

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


  • JacobMarcussen 7 posts 77 karma points
    Nov 08, 2024 @ 13:31
    JacobMarcussen
    0

    Get page content from id

    Hi, So i've started to mirgrate from Umbraco 7 to 8. I ran into a roadblock with the following:

        var homepage = Umbraco.Content(Guid.Parse("1c419757-a28a-4a75-8c09-12499c73e917"));
    

    It returns null, and i'm not sure if its the UmbracoHelper thats something wrong with or something else.

    Any insight would be usefull. Thanks!

  • 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