Skip to main content
Karl515
Level 5
February 5, 2019
Solved

Custom layer(mode)

I've followed this and install the github zip

Yet nothing is added in my layers

I want to add something here

OR here

like an export page something.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Gaurav-Behl
Gaurav-BehlAccepted solution
Level 10
February 6, 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-mode · GitHub 

9 replies

Gaurav-Behl
Gaurav-BehlAccepted solution
Level 10
February 6, 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-mode · GitHub 

Translate
Karl515
Karl515Author
Level 5
February 6, 2019

how do I add to authoring clientlibs dependency? Thanks.

Translate
Gaurav-Behl
Level 10
February 6, 2019

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

Translate
Karl515
Karl515Author
Level 5
February 6, 2019

we retail

sample

still doesn't

Translate
Karl515
Karl515Author
Level 5
February 6, 2019

How do I diagnose this? smacdonald2008​ gauravb10066713​

Restarting didn't help

Translate
Karl515
Karl515Author
Level 5
February 6, 2019

What about in this side?

Translate
Karl515
Karl515Author
Level 5
February 6, 2019

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

Translate
Gaurav-Behl
Level 10
February 6, 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.

Translate
Karl515
Karl515Author
Level 5
February 7, 2019

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

Translate