コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

How to Create a new componentgroup in AEM via a service

Avatar

Level 3

Hi All,

We have a requirement where we have selected list of components which we need to display in side kick. Since AEM provides OOTB design functionality but our requirement is to read a configuration where list of components has been defined and based on that create a new component group and display it in sidekick by modifying the default design of the page template.

Please let me know if anyone has come up with such requirement or have created component Group pro-grammatically.

Thank you,

Regards,

Shikha

1 受け入れられたソリューション

Avatar

正解者
Level 10

Hi Shikha,

Grouping of components should not be driven dynamic. You need to mentioned the component group when you create the components and group the components logically based on a criteria may be feature wise, site wise etc..

Now, once you have the component groups and the components in the group, then you can control what components needs to be displayed/enable on a page/template. So when author creates a page, then all the components for that template would be displayed.

Also, before customizing all of that programmatically, we will have to think why this approach doesnt work and also is it worth customizing so much !

Please give us your use case aswell so that we can see if there is any better approach for the same.

 

Thanks,

Lokesh

元の投稿で解決策を見る

1 返信

Avatar

正解者
Level 10

Hi Shikha,

Grouping of components should not be driven dynamic. You need to mentioned the component group when you create the components and group the components logically based on a criteria may be feature wise, site wise etc..

Now, once you have the component groups and the components in the group, then you can control what components needs to be displayed/enable on a page/template. So when author creates a page, then all the components for that template would be displayed.

Also, before customizing all of that programmatically, we will have to think why this approach doesnt work and also is it worth customizing so much !

Please give us your use case aswell so that we can see if there is any better approach for the same.

 

Thanks,

Lokesh