0

How do you configure SharePoint to allow an iFrame to render a document stored in a document library?

Example of what I'm trying from a simple .Net IIS site:

<td>
<iframe src="https://taco.net/Shared%20Documents/burrito.pdf" width="800" height="600">
</iframe>
</td>

The iFrame loads with this error:
This content cannot be displayed in a frame

This works:

<td>
<iframe src="https://taco.net/Shared%20Documents/" width="800" height="600">
</iframe>
</td>

But when I click on the PDF I'm greeted with this error:
This content cannot be displayed in a frame

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.