Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Custom Article Component

Avatar

Level 4

Has anyone had the need/requirement to create a custom Article component? If so, what type of requirement necessitated a custom component, instead of using the various OOTB components, (e.g. article-list, article-summary et. al)??? 

1 Accepted Solution

Avatar

Correct answer by
Level 10

For that requirement - look at this out of the box sample:

http://localhost:4502/editor.html/content/geometrixx-media/en/entertainment.html

It will give you a good idea on how to get started.  You can use ?debug=layout to see what components are used and look through those components. 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

For that requirement - look at this out of the box sample:

http://localhost:4502/editor.html/content/geometrixx-media/en/entertainment.html

It will give you a good idea on how to get started.  You can use ?debug=layout to see what components are used and look through those components. 

Avatar

Administrator

Hi 

Customizing a complements can be done because of something that is required by you, but not catered by our OOTB components. Let say, you need is to find a shop near your mentioned location, so in-order to do so, you would like create a sling component, what will communicate with Google API or any 3rd party APIs or your logic. When something is needed and not been catered by OOTB, we need to change the functionality.

And to talk abut Article /Paragraph components, again there could be many use cases,

a. You want to get data automatically from third party APIs or Data stores.

b. You want to show for page information with customize layout.

c. Customize data (personalization).

d. Custom dialog box.

e. Adaptive forms

f. Uploading of assets directly 

g. Adding manuscript .

 

To start whit how to create a custom component, please refer to this community link:- https://helpx.adobe.com/experience-manager/using/creating-custom-cq-component-uses.html

Other reference links: 

Link:-http://teknopoint.us/creating-custom-component-with-custom-dailog/

Link:- http://blog.twintechs.com/creating-custom-pre-populated-drop-down-components-for-aem-adaptive-forms

Link:- http://experience-aem.blogspot.in/2014/04/aem-cq-561-using-manuscripts.html

Link:- http://www.aemcq5tutorials.com/tutorials/aem-create-custom-component-in-cq5/

 

I hope this would help you.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni