targeting option is not appearing on the modes dropdown on a page

Avatar

Avatar

shwetakhatana

Avatar

shwetakhatana

shwetakhatana

08-01-2019

I have created a page in my project under sites and when i am editing that page I am not able to see the targeting mode in the modes dropdown in order to apply it on the experience fragment used.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Gaurav-Behl

MVP

Avatar

Gaurav-Behl

MVP

Gaurav-Behl
MVP

09-01-2019

Check if Personalization is configured in root page properties and doesn't point to /etc

1663661_pastedImage_1.png

Answers (7)

Answers (7)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

3.0K

Likes

1.1K

Correct Reply

840

Avatar

Arun_Patidar

MVP

Total Posts

3.0K

Likes

1.1K

Correct Reply

840
Arun_Patidar
MVP

08-01-2019

Add below in your headlibs

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

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

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

08-01-2019

Go through this document - it sets up the page so this appears -- Working with Experience Fragments and the Experience Manager ContextHub

Avatar

Avatar

shwetakhatana

Avatar

shwetakhatana

shwetakhatana

09-01-2019

yes thanks, i also tried this watching a video on the link Adobe Experience Manager Help | Set up ContextHub with AEM Sites , now I have got my targeting mode on the project's pages.

But after that the contextHub option on toolbar in the preview mode is not coming. Can i get help on that too?

Avatar

Avatar

shwetakhatana

Avatar

shwetakhatana

shwetakhatana

08-01-2019

It is already there in my customheaderlibs file, although i remember one thing i did, which might have been wrong.

  • On the Experience Manager rail, click or tap Tools > Sites > Context Hub.

  • Click or tap the default Configuration Container.

  • Click or tap the Context Hub Configuration.

  • Click or tap the Create button, and then click or tap Context Hub UI Mode.

    But now when i am goint to tools- sites- contexthub, there is no default configuration container under global, it shows legacy configuration container and clicking on it shows me null.
    1663457_pastedImage_1.png

Avatar

Avatar

shwetakhatana

Avatar

shwetakhatana

shwetakhatana

08-01-2019

yes it is seen on we-retail only, but i cannot see it on my own projects.

Avatar

Avatar

Gaurav-Behl

MVP

Avatar

Gaurav-Behl

MVP

Gaurav-Behl
MVP

08-01-2019

check if you are able to see it on we-retail page?

http://localhost:4502/editor.html/content/we-retail/us/en.html