We've changed the logic for previews due to changes in the Umbraco core. Problem is the changes in the security model - even an old version of Newsletter Studio would not work with the 7.3.1-release of Umbraco since the HttpContext (used in the aspx-file that you refer to) will return null for the current user.
Since this is not a public feature or api we don't keep the backwards compatibility if it takes to much work.
It's not a feature that we provide an api for - you can look at the source and network traffic in the developer console but I can't give you any code snippets.
RenderNewsletter
Prior to version 2.1.4 I was using the direct link
/App_Plugins/NewsletterStudio/Pages/RenderNewsletter.aspx?id=42&r=1451131916470
to get rendered html of a sent e-mail, by just knowing the ID number.
When using the same on the 2.1.4 doesnt seem to be working as it returns an empty aspx page (no content shown).
Given the ID of the newsletter, what would be the best way to get rendered html of the newsletter - perhaps a method/call that i can use within razor?
Hi!
We've changed the logic for previews due to changes in the Umbraco core. Problem is the changes in the security model - even an old version of Newsletter Studio would not work with the 7.3.1-release of Umbraco since the HttpContext (used in the aspx-file that you refer to) will return null for the current user.
Since this is not a public feature or api we don't keep the backwards compatibility if it takes to much work.
// m
Hi Markus
I have a page where i show sent newsletters with a link to view them in "Rendered" form
so the
/App_Plugins/NewsletterStudio/Pages/RenderNewsletter.aspx?id=12
was working just fine when I pass the ID of the newsletter.
With 2.1.4, what i can do to get the same RenderNewsletter by passing the id?
Hi Keilo!
It's not a feature that we provide an api for - you can look at the source and network traffic in the developer console but I can't give you any code snippets.
// m
Can I use the readonline link by passing the id of a newsletter, that should render the newsletter.
I think it encodes the id so it doesnt accept plain id, what algorithm does it use to encode the id?
is working on a reply...