Custom layer(mode)

Karl515

05-02-2019

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.

Accepted Solutions (1)

Accepted Solutions (1)

Gaurav-Behl

MVP

05-02-2019

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-... 

Answers (8)

Answers (8)

Gaurav-Behl

MVP

06-02-2019

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.