Jump to content

Embed Document

Recommended Posts

Hi @Catra- you can embed documents in DataPages, see this article: https://howto.caspio.com/tech-tips-and-articles/advanced-customizations/tech-tip-embed-documents-in-datapages/

For Dropbox, follow this workaround:

1. Change the code with this:

<object style="width:718px; height:700px;" frameborder="0" data="[@field:Attachment]" type="application/pdf">
<embed src="[@field:Attachment]" type="application/pdf" />

You can freely change the height and width. 

2. Replace the end of the URL with 'raw=1'. Here's an example:

From: https://www.dropbox.com/Link.pdf?dl=0
Change it to: https://www.dropbox.com/Link.pdf?raw=1

Then Disable AJAX of the DataPage  - to disable, check this article: https://howto.caspio.com/datapages/ajax-loading/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...