Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
This conversation has been locked due to inactivity. Please create a new post.
Hi All,Just a quick question. Is there a way I can have PDFs open inline instead of as a download inside the author/view as published section of aem. I have these opening inline in our live site via a dispatcher rule, not sure where to apply this for the author itself 😞 Any help would be appreciated.
Solved! Go to Solution.
Hi @RooRue,
For more details please refer:http://www.sgaemsolutions.com/2019/10/aempdf-is-getting-downloded-instead-of.html
Dispatcher Configuration:
<LocationMatch "\.(?i:pdf)$"> ForceType application/pdf Header set Content-Disposition inline </LocationMatch>
Please refer: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/pdf-from-dispatchers-shoul...
Hope that helps!
Regards,
Santosh
View solution in original post
Hi @RooRue
PDF viewer in core components library allows for the inclusion of a PDF document on a page. The Customize Tab in this component allows the author to define the options available in the viewer to the reader and how the viewer should be presented.
https://experienceleague.adobe.com/docs/experience-manager-core-components/using/wcm-components/pdf-...
Hope this helps.
Views
Likes
Replies