Copied to clipboard

Flag this post as spam?

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


  • tofsti 2 posts 22 karma points
    Oct 14, 2019 @ 09:58
    tofsti
    0

    how to render content from specific page

    Hey! A couple of years since i last worked with umbraco, hope that someone can help me with the following:

    I have a spesific page that i want to render all the content from and display on several pages (these pages will also have some other content).

    Is there something similar to the Umbraco.RenderTemplate that can do this?

  • Liam Dilley 152 posts 378 karma points
    Oct 13, 2020 @ 00:12
    Liam Dilley
    0

    This is unanswered but shows up high in google when you search for this so...

    In Umbraco 7 You can get the page object like:

    var thePage = Umbraco.TypedContent(101);
    

    In Umbraco 8:

    var thePage = Umbraco.Content(1476);
    
Please Sign in or register to post replies

Write your reply to:

Draft