Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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

AEM LinksLinkedIn

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

AEM LinksLinkedIn