Hi I'm trying to embed a pdf file in my page... I've founded the this code and tryed it but I had no result... could you help me? here it is:
"<embed height=""166"" src="""+ TableRecords1.List.current.FILE.FileName + """ type=""application/pdf"" width=""216"">"
tks
Hi Rui,
If you go to https://<yourserver>/<eSpaceName>/Filename can you download the file?
Does the filename have a .pdf extension?
Do you have Adobe Acrobat installed on your computer?
Cheers,
Tiago Simões
In that case the problem is not with the embedded pdf viewer, it's with the download.
- If you have the file in the database make sure you create a web screen with a download tool in the preparation and then use that screen URL in the embed object
- If your file is in the server filesystem make sure you have the correct path.
<iframe src="https://docs.google.com/gview?url=https://example.com/mypdf.pdf&embedded=true" style="width:718px; height:700px;" frameborder="0"></iframe>