Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Client Context is not updating on page

Avatar

Level 4

Hello,

I am following article https://docs.adobe.com/docs/en/cq/5-6-1/administering/client_context.html. At this step "Add the JSONP Store Component " after calling API http://api.wipmania.com/jsonp?callback=${callback} I can see details populating on client context in edit mode but when I come back on page and refresh it, I don't see it loading.

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Level 4
4 Replies

Avatar

Administrator

Hi 

Could you please share the error message coming when data is not populating? and which AEM version you are using ?

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

Avatar

Level 9

prohira wrote...

Hello,

I am following article https://docs.adobe.com/docs/en/cq/5-6-1/administering/client_context.html. At this step "Add the JSONP Store Component " after calling API http://api.wipmania.com/jsonp?callback=${callback} I can see details populating on client context in edit mode but when I come back on page and refresh it, I don't see it loading.

Thanks.

  Kindly look at the browser console and JSONP call. Make sure you are getting a correct JSOP store response also. Share more details if you can.

--

jitendra

Avatar

Level 4

I don't see any calls going thru in browser console (also I don't see any errors in error.log) when I am on page but I can see a JSONP call here: http://localhost:4702/etc/clientcontext/default/content.html and it indeed shows me a proper response.

Am I missing anything? Can you please try on your machine and let me know if it works for you.

Thanks.

Avatar

Correct answer by
Level 4

Finally I got it resolved.

I went thru this post: http://labs.6dglobal.com/blog/2012-08-30/creating-cq-55x-clientcontext-compatible-jsonp-servlet/ and it helped.