jsonP response not displaying on client context window | Community
Skip to main content
October 16, 2015
Solved

jsonP response not displaying on client context window

  • October 16, 2015
  • 3 replies
  • 897 views

Hi

I am able to add jsonp response of service: http://api.wipmania.com/jsonp?callback=${callback} to client context. Selected two properties latitude and longitude. On save the property along with value is getting reflected on the client context edit content page:

http://localhost:4502/etc/clientcontext/default/content.html.

[img]displaying.png[/img]

But when I access the client context on any website page it says: No latitude and No longitude.

[img]not-displaying.png[/img]

Can you please let me know what I am missing here so that the jsonP property displays on client context window when opened on other pages.

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 Yogesh_Upadhyay

Hello Pradeep,

may be http://labs.sixdimensions.com/blog/kellehmj/2012-08-30/creating-cq-55x-clientcontext-compatible-jsonp-servlet will help. Check constraint on server name here.

Yogesh

3 replies

smacdonald2008
October 16, 2015

If you think there is something not working properly or you encountered a bug, please open a day ticket here:

http://helpx.adobe.com/marketing-cloud/experience-manager.html

Yogesh_Upadhyay
Yogesh_UpadhyayAccepted solution
October 16, 2015

Hello Pradeep,

may be http://labs.sixdimensions.com/blog/kellehmj/2012-08-30/creating-cq-55x-clientcontext-compatible-jsonp-servlet will help. Check constraint on server name here.

Yogesh

October 16, 2015

Hello Yogesh

Problem is not with server name, in the post Michael is talking about the service URL, which I am using OOTB(http://api.wipmania.com/jsonp?callback=${callback}).

I am getting response on the clientcontext edit screen i.e.http://localhost:4502/etc/clientcontext/default/content.html.

But problem is on other pages. On these pages clientcontext says No latitude, No longitude, where as on the edit page these values are displayed.

 

Thanks

Pradeep