AEM hyperLink in Dialog | Community
Skip to main content
May 21, 2019
Solved

AEM hyperLink in Dialog

  • May 21, 2019
  • 1 reply
  • 3143 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

please use granite type

Hyperlink — Granite UI 1.0 documentation

for classic ui use lable xtype and as value give HTML

CQ5 | Widgets API

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
May 22, 2019

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