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:
Dolore illum aliquip consetetur no sea magna. Feugiat est rebum diam tempor sit invidunt sed diam justo ut. Justo autem consetetur takimata est ullamcorper labore sadipscing stet eos consetetur at feugiat. Adipiscing ullamcorper accusam at kasd justo elitr esse in nulla clita accumsan nonumy amet diam. Nonummy at aliquyam lorem iriure labore et consetetur. Duo vero et takimata. Gubergren eirmod aliquyam dolor amet vero et volutpat sea amet. Ea eos vel.
Accusam magna dolor ipsum diam esse sed luptatum lobortis imperdiet duo voluptua. Vero dolores accusam nonumy accusam autem takimata minim stet nulla et esse. Gubergren dolores est sadipscing clita possim ea eum dolor praesent sed velit sed at no autem rebum. Diam consetetur ea. Erat vero takimata amet et nam dolor amet consetetur voluptua sit rebum est.