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

AEM/Target Integration: Don't see Targeting Option from Edit menu

Avatar

Avatar
Give Back 3
Level 2
nii-ra
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

2 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
Boost 3
View profile

Avatar
Give Back 3
Level 2
nii-ra
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

2 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
Boost 3
View profile
nii-ra
Level 2

08-08-2018

Hi there,

I have successfully created a Cloud Configuration for Target in AEM Cloud Services. I also applied the config on the page I am trying to apply Targeting on.

However, I am not able to see the Targeting option in the Edit menu. Couple of screenshots below. Please help.

target-cloud-config.png

no-targeting-option.jpg

Replies

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,271 likes

Total Posts

3,150 posts

Correct Reply

887 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,271 likes

Total Posts

3,150 posts

Correct Reply

887 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

08-08-2018

Hi,

You need to include below clientlibs and resource in page component in order to work with targeting

<!--/* Include Context Hub */-->

<sly data-sly-call="${clientLib.js @ categories='granite.utils'}"/>

<sly data-sly-resource="${'contexthub' @ resourceType='granite/contexthub/components/contexthub'}"/>

Avatar

Avatar
Give Back 3
Level 2
nii-ra
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

2 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
Boost 3
View profile

Avatar
Give Back 3
Level 2
nii-ra
Level 2

Likes

4 likes

Total Posts

32 posts

Correct Reply

2 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
Validate 1
Boost 3
View profile
nii-ra
Level 2

09-08-2018

Thank you! Although adding the references above didn't help directly, it pointed me in the right direction. I had to add these to head.html

<sly data-sly-resource="${'contexthub' @ resourceType='granite/contexthub/components/contexthub'}"/>

<cq:include script="/libs/cq/cloudserviceconfigs/components/servicelibs/servicelibs.jsp"/>

Avatar

Avatar
Validate 1
Level 2
Berus
Level 2

Likes

4 likes

Total Posts

20 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Shape 1
Give Back
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
Berus
Level 2

Likes

4 likes

Total Posts

20 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Shape 1
Give Back
Boost 3
Boost 1
View profile
Berus
Level 2

25-02-2020

Is there official documentation from Adobe on what scripts should be added? Can you please share that? Im working on AEM v6.5.3 if that helps.