Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

How to extend LCES foundation (provided) components?

Avatar

Level 4

Hi All,

Is there way to extend the functionality of the components provided by LCES2.5?

I would like to write a component that is based on the some foundation component with all the features as is but with extra additional custom

function(s) / capability.

Thanks

YogLc

3 Replies

Avatar

Level 10

I don't think you can just extend an existing one. You can create a new component that calls an existing one and add a few more properties to it.

Jasmin

Avatar

Level 4

Hi Jasmin,

I am not clear how to add more property by calling  existing  component. Can you point me to an example that explain your idea 'You can create a new component that calls an existing one and add a few more properties to it.'?

Thanks lot,

YogLC

Avatar

Level 10

Ultimately what you need to do is write your own component.

In that component you can call one of the existing services we have and then do some modification to the result before passing the result to your component.

That might or might not help you.

Jasmin