Skip to Content

AEM – Proper Linking to PDF Documents

Sharing PDF files like flyers, brochures or newsletters on your website is a great communication tool and there is a simple AEM technique to do so.

First, make sure your document is in PDF format and has a standard file name like: may-2016-cloverleaf-newsletter.pdf.

lightbulbBest Practice: It is important to use all lower case letters with hyphens between words when naming files. Do not use spaces.

Second, using the Assets tab, upload your file to the Content Finder.

Third, add a Rich Text component to your page and within it, type the appropriate text for your document, something like:  May 2016 Cloverleaf Newsletter.  Highlight the text.

link-to-pdf-1

Fourth, at the top of the Content Finder, choose the Documents tab.

link-to-pdf-2

Then from the list of documents, click on the appropriate PDF file and holding down your left mouse button, drag the file near the highlighted text.  When the Rich Text content area border turns purple, release the mouse button. The link will now be associated with the text.  The text will be blue and underlined.

link-to-pdf-3

Last, click OK on the Rich Text component to save your change. Check your link!

link-to-pdf-4

lightbulbBest Practice: Once you’ve activated your web page, it is always a good idea to check for broken links and make repairs.