Copied to clipboard

Flag this post as spam?

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


  • Jonathan Roberts 409 posts 1063 karma points
    Nov 07, 2016 @ 15:17
    Jonathan Roberts
    0

    Display Umabrco.Page Properties

    Hi, I have a Temp Page that i would like to display as HTML - using versions not the published page.

    I am using MVC and I am using:

    var pc = new PreviewContent(user, new Guid("68dc819a-8540-4c91-b58b-f5a7bc52c79c"), false);
    
    Document d = new Document(1063, new Guid("68dc819a-8540-4c91-b58b-f5a7bc52c79c"));
    
    pc.PrepareDocument(user, d, true);
    
    umbraco.page p = new umbraco.page(d);
    

    What Im trying to do is get this page (p) to display as HTML in a webpage using MVC.

    Is this possible?

    Jon

  • 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