Hi All,
I'm following the instructions in this GitHub link to enable the Table of Contents component in my local WKND project. You can find the TableOfContentsFilter is enabled in below as per the instructions, but for some reason, the ToC component is not appearing in allowed components as expected.
OSGi Config:
Allowed Components:
Has anyone encountered a similar issue or have any suggestions on troubleshooting this problem? Any insights or guidance would be greatly appreciated!
Thank you in advance for your help.
Github Link: https://github.com/adobe/aem-core-wcm-components/tree/main/content/src/content/jcr_root/apps/core/wc...
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @eobaseki ,
The configuration is not about show/hide of the component in your template policies, it's about rendering the content of the component on your page or not.
Please refer https://experienceleague.adobe.com/en/docs/experience-manager-core-components/using/wcm-components/t...
If you want to make use of this component, create a proxy component at the project level, provide the component group and map that component to
sling:resourceSuperType="core/wcm/components/tableofcontents/v1/tableofcontents"
Then you can see the component available in template policy.
Hi @eobaseki ,
The configuration is not about show/hide of the component in your template policies, it's about rendering the content of the component on your page or not.
Please refer https://experienceleague.adobe.com/en/docs/experience-manager-core-components/using/wcm-components/t...
If you want to make use of this component, create a proxy component at the project level, provide the component group and map that component to
sling:resourceSuperType="core/wcm/components/tableofcontents/v1/tableofcontents"
Then you can see the component available in template policy.
Thanks a lot @sravs. I can confirm that the Table of Contents is now appearing on my local environment after creating a proxy component in CRXDE. You saved my day; thank you so much
Hi,
Did you verify that all bundles are active? This issue could be related to the version of Core components you're using. I installed version 2.22.10 via the package manager, and the component is enabled by default. I'm testing this in a new AEM 6.5.17 instance. Also, try adding this component to a different page. I'm testing it in the Demo template, which is included as part of the Core components.
Hope this helps
Thank you for your comment @EstebanBustamante. It turns out the issue was related to not creating the proxy component.
@eobaseki Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Noted!
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies