www.cloudformatter.com

cloudformatter format requests: 5,768,106    pages delivered: 12,273,622

PDF File Attachments

xportability LLC

PDF File Attachments

http://www.cloudformatter.com

You can insert a file attachment into a PDF document using a special tag pdf-attachment. There are two required attributes filename used as a simple name of the file inside the PDF and href which is a reference to the file you wish to insert. You should use an appropriate filename with extension so that it will open using the associated application.

<pdf-attachment filename="data.xlsx" href="/Resources/Attachments/data.xlsx"/>

The file data.xlsx is attached inside this PDF here using the code above. We've used a little CSS to style the <pdf-attachment> tag:

Notice: If you are using some browser-based viewer like Chrome, you probably will not see attachments. It is because that product does not support them. Download the PDF locally and use a PDF viewer that supports them.

Sample Heading

Odio in dolore euismod vero magna et ut velit eos elitr amet et dolor lorem consequat. Consequat suscipit et nonumy tation elitr lorem accusam. Justo et et voluptua nonumy ipsum sea stet exerci kasd delenit erat vero amet magna nisl. Nulla kasd labore sed diam rebum ipsum lorem volutpat takimata ex no ea dolores dolores lorem sanctus stet amet. Magna labore in sed nulla no et eos. Consetetur ipsum ut lorem eu kasd eirmod tempor vero sed diam eum sanctus lorem amet facilisis blandit. Ipsum dolor rebum iusto illum delenit sed sit eum dolor.

Amet dolor magna velit vero diam et. Ex liber commodo et magna. Kasd aliquyam sea sanctus quod autem. Clita duo at. Possim et lorem.