Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

1663661_pastedImage_1.png

View solution in original post

9 Replies

Avatar

Community Advisor

Add below in your headlibs

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

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



Arun Patidar

Avatar

Level 2

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

Avatar

Level 2

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

Correct answer by
Level 10

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

1663661_pastedImage_1.png

Avatar

Level 2

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

Level 4
Shweta i am also facing the same issue can you please share the solution if it got fixed for you