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

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

Mark Solution

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

解決済み

Custom layer(mode)

Avatar

Level 5

I've followed this and install the github zip

1684464_pastedImage_0.png

Yet nothing is added in my layers

1684465_pastedImage_1.png

I want to add something here

1684469_pastedImage_2.png

OR here

1684471_pastedImage_4.png

like an export page something.

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

Avatar

正解者
Level 10

Customizing Page Authoring

The new clientlib must:

  • depend on the authoring clientlib cq.authoring.editor.sites.page
  • be part of the appropriate cq.authoring.editor.sites.page.hook category

In this package, you will notice the categories="[cq.authoring.editor.sites.page.hook]", add that as a dependency to your authoring clientlibs and then test.

aem-authoring-new-layer-mode/.content.xml at master · Adobe-Marketing-Cloud/aem-authoring-new-layer-... 

元の投稿で解決策を見る

9 返信

Avatar

正解者
Level 10

Customizing Page Authoring

The new clientlib must:

  • depend on the authoring clientlib cq.authoring.editor.sites.page
  • be part of the appropriate cq.authoring.editor.sites.page.hook category

In this package, you will notice the categories="[cq.authoring.editor.sites.page.hook]", add that as a dependency to your authoring clientlibs and then test.

aem-authoring-new-layer-mode/.content.xml at master · Adobe-Marketing-Cloud/aem-authoring-new-layer-... 

Avatar

Level 5

how do I add to authoring clientlibs dependency? Thanks.

Avatar

Level 10

11.png

** this is just a placeholder, modify it per requirements

Avatar

Level 5

we retail

1685216_pastedImage_0.png

sample

1685217_pastedImage_1.png

still doesn't

1685218_pastedImage_6.png

Avatar

Level 5

How do I diagnose this? smacdonald2008gauravb10066713

Restarting didn't help

Avatar

Level 5

What about in this side?

1685228_pastedImage_0.png

Avatar

Level 5

I got it now. but by embedding it to clintlib-base.

1685332_pastedImage_0.png

Avatar

Level 10

If you 'embed' it in base clientlibs then you are defeating the purpose of using "author(ing)" specific libraries. You would never want the editor layer to be available on publish server and to the end-user which becomes an overhead.

Avatar

Level 5

I removed it from dependencies/embed yet it's still showing. Is there anyway I can clear cache in aem?