Client Context is not updating on page | Community
Skip to main content
prohira
Level 3
December 28, 2015
Solved

Client Context is not updating on page

  • December 28, 2015
  • 4 replies
  • 1918 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by prohira

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.

4 replies

kautuk_sahni
Community Manager
Community Manager
December 29, 2015

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
Jitendra_S_Toma
Level 10
December 29, 2015

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

prohira
prohiraAuthor
Level 3
December 29, 2015

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.

prohira
prohiraAuthorAccepted solution
Level 3
December 29, 2015

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.