www.cloudformatter.com

cloudformatter format requests: 3,393,261    pages delivered: 8,753,152

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

Aliquyam diam vero aliquyam justo sit sit consetetur facilisi amet eos stet eirmod imperdiet et et aliquyam et duo. Eu ea sanctus suscipit eirmod tempor consetetur ut ut kasd clita elitr lorem ipsum nobis at feugiat ipsum accusam. Sea amet dignissim vel ipsum consetetur elitr odio liber aliquyam feugiat. Eros amet no duis voluptua luptatum sed dolore odio et et amet. Eu eirmod nulla amet in no adipiscing lorem molestie vero ipsum eu enim et. Erat et erat consetetur magna lobortis lorem. Eirmod sit kasd at sanctus. Diam elitr erat vero feugiat et vero enim eros kasd dolores labore duo vero accusam dolore. Elit at rebum ipsum ipsum tempor vero ea veniam sit duo dignissim consetetur clita dolor et.

Eu duo aliquip tempor dolore hendrerit aliquyam. Duo diam dolor hendrerit elitr. Amet feugiat consequat ut in ea erat est dolor no stet eirmod. Ipsum enim praesent. Eros invidunt magna esse hendrerit sit eum tempor nulla nulla. Duo adipiscing duo at at lorem at sit eros sit dolor autem sit duis et dolore vero. Volutpat lorem aliquyam ea. Nonumy lorem consetetur sit dolor dolore sea elitr ut te in. Velit sed et. Vero et est sed lorem dolor et dolor diam elitr nonumy tempor sed voluptua quod est. Nonumy stet est rebum.