Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

How to use Anchor Button

Avatar

Level 2

How to use AnchorButton component from granite ? I am using AEM 6.4. I want to have link as a button so that author can have different link for different button on pages.I am struggling with how to write content.xml file in eclipse.

Please Help.

1 Accepted Solution

Avatar

Correct answer by
Level 10

That component belongs to granite and more of works with config with any dialog. If its for a customer project, I would advise to build your own or take the reference from /apps/weretail/components/content/button

However you can use these config

1644739_pastedImage_0.png

Output.

1644740_pastedImage_1.png

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

That component belongs to granite and more of works with config with any dialog. If its for a customer project, I would advise to build your own or take the reference from /apps/weretail/components/content/button

However you can use these config

1644739_pastedImage_0.png

Output.

1644740_pastedImage_1.png