Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

AEM hyperLink in Dialog

Avatar

Level 1

Hello Everyone,

I'm trying to add a hyperLink in component Dialog and managed to add that in Touch Ui using

<?xml version="1.0" encoding="UTF-8"?>

<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"

   jcr:primaryType="cq:Widget"

   sling:resourceType="granite/ui/components/foundation/hyperlink"

   fieldLabel="Click for Icons"

   href="www.google.com"

   name="./iconLink"

   target="_blank"

   text="Click here for icon names"/>

and it looks like this Capture2.JPG

Is there any way to get the same in Classic UI?smacdonald2008

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

please use granite type

Hyperlink — Granite UI 1.0 documentation

for classic ui use lable xtype and as value give HTML

CQ5 | Widgets API



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

please use granite type

Hyperlink — Granite UI 1.0 documentation

for classic ui use lable xtype and as value give HTML

CQ5 | Widgets API



Arun Patidar