I would recommend to allow editors to upload files in the media section (maybe add a folder "Embedded PDF's" or something for organization) by editing the user groups.
Then, in the DocumentTypes you want to display the pdf, you can add a property with the "media picker" editor, so they can choose a pdf-file. You can also add a start folder for the media section.
In your template, you can then use a iFrame to display the pdf:
// check for file and make sure its a pdf
if (Model.File != null && Model.File.UmbracoExtension == "pdf")
{
// display pdf in iframe
<iframe src="@Model.File.Url" />
}
How to display PDFs
What is the recommended way to allow content authors to upload PDFs which can then be displayed embeded in the web page?
I would recommend to allow editors to upload files in the media section (maybe add a folder "Embedded PDF's" or something for organization) by editing the user groups.
Then, in the DocumentTypes you want to display the pdf, you can add a property with the "media picker" editor, so they can choose a pdf-file. You can also add a start folder for the media section.
In your template, you can then use a iFrame to display the pdf:
is working on a reply...