Expand my Community achievements bar.

AEM 6560 - Sites show author entered component name in content tree | AEM Community Blog Seeding

Avatar

Administrator

BlogImage.jpg

AEM 6560 - Sites show author entered component name in content tree by Sreekanth Choudry Nalabotu

Abstract

When multiple components of the same type eg. Text are added on a page, it might be confusing finding the right component when author uses content tree. The following extension gives flexibility adding more user friendly component instance name on page...

Solution
1) Login to CRXDE Lite (http://localhost:4502/crx/de), create folder /apps/eaem-content-tree-comp-name

2) For the Additional Info dialog tab html, create node /apps/eaem-content-tree-comp-name/ui/addInfo with the following structure















3) Create node /apps/eaem-content-tree-comp-name/clientlib of type cq:ClientLibraryFolder, add String[] property categories with value [cq.authoring.dialog.all], String[] property dependencies with value lodash.


4) Create file (nt:file) /apps/eaem-content-tree-comp-name/clientlib/js.txt, add

custom-comp-names.js

Read Full Blog

AEM 6560 - Sites show author entered component name in content tree

Q&A

Please use this thread to ask the related questions.



Kautuk Sahni
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies