Custom Editable Toolbar Action

August 21, 2019    customization aem touchui 6.5


Purpose

Sometimes you want to add additional authoring functionality for your components, therefore you might need to add additional toolbar action.

Example use case

For example we have the Hello World component from the aem archetype and we want to check, who was the last one, who edited this component.

Our initial toolbar.

initial toolbar

Let’s add a new toolbar and register it.

Update toolbar.

updated toolbar

Now we just need to check that execute method works as expected.

check execute method




comments powered by Disqus