Skip to main content
Oct 16, 2015 2:28 AM UTC
Solved

jsonP response not displaying on client context window

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.
Yogesh_Upadhyay
Yogesh_UpadhyayAccepted solution
Level 6
Oct 16, 2015 2:28 AM UTC

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

Oct 16, 2015 2:28 AM UTC

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

Translate
Yogesh_Upadhyay
Yogesh_UpadhyayAccepted solution
Level 6
Oct 16, 2015 2:28 AM UTC

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

Translate
smacdonald2008
Level 10
Oct 16, 2015 2:28 AM UTC

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

Translate