This is a Template that allows content authors to select a media file from the Media Library and customize its name to create the URL like /sitename/pdfs/brouchers
We need this component because if pdf are accessed directly from sitecore media library URLs would be similar to //{host}/-/media/pdfs/BrochurlPdf.ashx and this is not clearly SEO friendly.
There is a similar implementation on alexion.com but that is defined at a project level and can not be reused.
Name |
Description |
Default |
---|---|---|
Template Path |
||
Path |
/sitecore/templates/Feature/File/PdfFile |
|
Field |
||
Name |
Specify the name of the brocher. |
|
Field |
||
PdfFile |
Select the pdf from the media library. |