In list component how we can author pdf documents! Is it possible?
Solved! Go to Solution.
Views
Replies
Total Likes
yes,
But instead of doing changes in core either you should overlay(by copy pasting) or extend(override by specifying sling:superResourceType) the list component in your project.
Change the pagefield to pathfield in overridden component not in /libs one or core component
Thanks
I am not able to see dam path in the fixed list option It was targeting only pages how we can achieve it for dam path for pdf documents?
Hi @ramsaipavan ,
we will not be able to link pdf/docs as page field in list is of type cq/gui/components/coral/common/form/pagefield which is supposed to accept page only.
You can overlay to use or simply create new as it is multifield with few variation of sorting.
Thanks
Can I do like this
/apps/cq/gui/components/coral/common/form/pathfield or browserfield
Instated off coming from cq i was adding apps as new path will it work fine?
yes,
But instead of doing changes in core either you should overlay(by copy pasting) or extend(override by specifying sling:superResourceType) the list component in your project.
Change the pagefield to pathfield in overridden component not in /libs one or core component
Thanks
Hi @ramsaipavan
You can override the core component as suggest by @MukeshYadav_
Or you can use absolute PDF urls.
However I have created a request : https://github.com/adobe/aem-core-wcm-components/issues/2846