is it possible to add links in template | Community
Skip to main content
arjuns71585267
Level 4
Sep 26, 2018 12:22 PM UTC
Solved

is it possible to add links in template

Hi Everyone,

I tried using <a href> tag inside my HTL page to add links i my aem template and it didn't work...

Any way to create hyperlinks?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
VeenaVikraman
VeenaVikramanAccepted solution
New Participant
Sep 26, 2018 1:22 PM UTC

Hi Arjun

    There could be chances that HTL might have filtered thinking it as invalid link. HTL has inbuilt XSS protection. Could you please provide a sample of the link or code you were trying ?

I have tried to pull few links from the web

Adobe AEM Sightly

12 replies

smacdonald2008
Level 10
Sep 26, 2018 1:24 PM UTC

Are you using Editable Templates - in this case - you can drop a component into an editable template that contains a link.

Translate
VeenaVikraman
VeenaVikramanAccepted solution
New Participant
Sep 26, 2018 1:22 PM UTC

Hi Arjun

    There could be chances that HTL might have filtered thinking it as invalid link. HTL has inbuilt XSS protection. Could you please provide a sample of the link or code you were trying ?

I have tried to pull few links from the web

Adobe AEM Sightly

Translate