Hello All,
In AEM 6.3, we can implement personalization using Context Hub. We can also create a Custom Context Store using a JSONP service.
We are successful in implementing personalization following below articles.
http://www.aemcq5tutorials.com/tutorials/implement-personalization-using-contexthub-aem/
https://helpx.adobe.com/experience-manager/6-3/sites/administering/using/contexthub-config.html
Can we implement the same in AEM 6.0.? Could you please share some helpx articles in AEM 6.0?
Thanks in Advance
sreenivasula I think you can use Client Context instead of ContextHub to leverage personalisation feature.
ContextHub is new version of client context in recent versions of AEM.
As Abhishek has mentioned, you can leverage Client Context for personalization. You would need create segments and JSONP store to capture the information.
You can download the AEM 6.0 documentation from package share.
I hope this helps.
Views
Replies
Total Likes
Thanks Abhishek and Varun!
As suggested, i tried creating a custom store using JSONP store component by providing JSONP Service URL as http://echo.jsontest.com/key/value/one/two . When i click on Fetch Store with above JSONP service URL, its not fetching the properties from service and populating the drop down. Below is the service response, when accessed using browser.
{
"one": "two",
"key": "value"
}
But when i see the request in browser developer tools, network tab shows the successful request with response (in Response tab) but console tab is showing below error(no error in AEM error.log).
Uncaught SyntaxError: UnexpectedToken :(the error is at first : in the JSON response)
Could you please suggest, how to resolve this issue?
Thanks in Advance.
Views
Replies
Total Likes
For AEM 6 and Personalization - see this walk through article -- Adobe Experience Manager Help | Creating an Adobe Experience Manager personalized experience
Views
Replies
Total Likes
It is done differently on 6 vs 6.3. For ppl reading this and wanting to use 6.3 - we use Context HUB - see these 6.3 articles -
Scott's Digital Community: Using the ContextHub with the Experience Manager Toy Store site
Scott's Digital Community: Working with Experience Fragments and the Experience Manager ContextHub
These are all 6.3 articles and will show you use with Context Hub!
Views
Replies
Total Likes
Thanks Scot!
The article shared works fine, because, it uses out of the box stores for personalizing the content.
But, we have a requirement to create a custom store(pointing to an external JSONP service). We followed AEM client context documentation Client Context to create one.
when we tried creating a custom store using JSONP store component by providing JSONP Service URL as http://echo.jsontest.com/key/value/one/two . When i click on Fetch Store with above JSONP service URL, its not fetching the properties from service and populating the drop down. Below is the service response, when accessed using browser.
{
"one": "two",
"key": "value"
}
But when i see the request in browser developer tools, network tab shows the successful request with response (in Response tab) but console tab is showing below error(no error in AEM error.log).
Uncaught SyntaxError: UnexpectedToken :(the error is at first : in the JSON response)
Could you please suggest, how to resolve above issue?
Does AEM 6 really support creating a custom store using JSONP service ?
Views
Replies
Total Likes
Views
Likes
Replies