Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

saravananr10875
Community profile saravananr10875 Level 1
Job title here
Location here
1 BADGE
Level 1

Level 1

Learn more
Joined the community 30-10-2018 7:47:21 AM
Offline
Top badges earned by saravananr10875
Customize the badges you want to showcase on your profile
How to use onclick method inside AEM compoenent
Avatar
Validate 1
Level 1
saravananr10875
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
saravananr10875
- Adobe Experience Manager
Hi All,Am having a AEM6 html component, am getting the values from dialog and using it inside the component via the .js file and using the return properties.I could able to get the authored values but it is getting null or empty when am using it inside the onclick method. Please find below the code snippet below. The content I authored is getting displayed in class and Id, but it is not displaying in the onClick method. Below is the Output am getting after authoring. Output I needed is : Many thanks,Saravanan R

Views

350

Likes

0

Replies

1
Need to include script inside head tag - separate for production and separate for staging
Avatar
Validate 1
Level 1
saravananr10875
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
saravananr10875
- Adobe Experience Manager
Hi Team,Am having a requirement to include a script tag for staging and a different script for production.This should works on condition. If the url the is accessed from staging environment a script tag should be added and if the same pag is accessed from domain it should take a another script tag.

Views

117

Likes

0

Replies

0