Expand my Community achievements bar.

SOLVED

jsonP response not displaying on client context window

Avatar

Level 1

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.

1 Accepted Solution

Avatar

Correct answer by
Level 5
3 Replies

Avatar

Level 10

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

Avatar

Correct answer by
Level 5

Hello Pradeep,

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

Yogesh

Avatar

Level 1

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