Hello All,
We are in process of upgrading from AEM 6.1 to AEM 6.3 and in the process of moving from client context to contexthub.
We have got ContextHub working in AEM 6.3 instance but what we are not sure is how we migrate client context segmentation content to context hub (content that reside within /content/campaigns)
We did a quick check and changing just the segment information (change from client context segment to context hub segment) within experience did not retain the targeted content.
Please let us know if we need to do anything specific?
Many Thanks
Best Regards,
Shishank
Solved! Go to Solution.
Views
Replies
Total Likes
I would recommend you to read this old post:- Re: ClientContext to ContextHub migration guide
tc82 gave the wonderful answer on ClientContext to ContextHub migration.
style="padding-left:45px"
style="padding-left:45px"
style="padding-left:45px"
style="padding-left:45px"
style="padding-left:45px"function callingSatellitePageBottom(){
if (window.ContextHub) {
ContextHub.eventing.on(ContextHub.Constants.EVENT_INITIALIZED + ":XXXX", function(event, data) {
_satellite.pageBottom();
});
}
}
<cq:includeClientLib css="cardinalhealth.oe.customclientcontextlibs" /><cq:include path="contexthub" resourceType="granite/contexthub/components/contexthub"></cq:include>
//ContextHub tree details command:
var data = ContextHub.getStore('XXXX').getTree();
Note: XXXX is the store name
Views
Replies
Total Likes
I would recommend you to read this old post:- Re: ClientContext to ContextHub migration guide
tc82 gave the wonderful answer on ClientContext to ContextHub migration.
style="padding-left:45px"
style="padding-left:45px"
style="padding-left:45px"
style="padding-left:45px"
style="padding-left:45px"function callingSatellitePageBottom(){
if (window.ContextHub) {
ContextHub.eventing.on(ContextHub.Constants.EVENT_INITIALIZED + ":XXXX", function(event, data) {
_satellite.pageBottom();
});
}
}
<cq:includeClientLib css="cardinalhealth.oe.customclientcontextlibs" /><cq:include path="contexthub" resourceType="granite/contexthub/components/contexthub"></cq:include>
//ContextHub tree details command:
var data = ContextHub.getStore('XXXX').getTree();
Note: XXXX is the store name
Views
Replies
Total Likes
Views
Likes
Replies