Copied to clipboard

Flag this post as spam?

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

  • John 18 posts 74 karma points c-trib
    Mar 28, 2016 @ 21:11

    I have a separate route that will generate a PDF of a page. This works well however I would like to generate a preview of the PDF for unpublished content.

    Is there a way to do this by extending the umbraco Preview?

    Alternitivly if I create a customer preview route for the PDF I have an issue getting an IPublishedContent of the draft/preview. If I get an IContent the issue is that all our code so far is based on IPublishedContent and does not seem and easy way to adapt IContent to IPublishedContent.

Please Sign in or register to post replies

Write your reply to: