How we can enable documents within the List Component ? | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by MukeshYadav_

@mukeshyadav_ 

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

Ref https://aemvardhan.wordpress.com/2017/02/22/understand-aem-sling-resource-merger-override-and-overlay-concepts/

Thanks

 

1 reply

arunpatidar
Community Advisor
Community Advisor
September 3, 2024
Level 2
September 3, 2024

@arunpatidar 

 

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?

MukeshYadav_
Community Advisor
MukeshYadav_Community AdvisorAccepted solution
Community Advisor
September 3, 2024

@mukeshyadav_ 

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

Ref https://aemvardhan.wordpress.com/2017/02/22/understand-aem-sling-resource-merger-override-and-overlay-concepts/

Thanks