Custom Widget on Personal Dashboard
Most of my custom widgets (OpenSocial Gadgets) run fine on the personal dashboard using the JTS proxy service to ask for data from CCM and DOORS. However, when I have a curly brace it seems to break.
For example, this returns data:
AND this returns data:
https://jazz.d.com/jts/_iframeproxy/https://rtc.d.com/ccm/oslc/queries/_zdQ1oE6eEe6j0MLPh3xwXg/rtc_cm:results.json?oslc_cm.properties=dc:identifier,dc:title
AND this returns data:
https://jazz.d.com/jts/_iframeproxy/https://rtc.d.com/ccm/oslc/queries/_zdQ1oE6eEe6j0MLPh3xwXg/rtc_cm:results.json?oslc_cm.properties=dc:identifier,dc:title,rtc_cm:state
BUT this returns a blank response:
https://jazz.d.com/jts/_iframeproxy/https://rtc.d.com/ccm/oslc/queries/_zdQ1oE6eEe6j0MLPh3xwXg/rtc_cm:results.json?oslc_cm.properties=dc:identifier,dc:title,rtc_cm:state{}
The response is blank when going through proxy, but this also returns data:
https://rtc.d.com/ccm/oslc/queries/_zdQ1oE6eEe6j0MLPh3xwXg/rtc_cm:results.json?oslc_cm.properties=dc:identifier,dc:title,rtc_cm:state{}
However, since our apps are hosted on different servers, I need to use the proxy service to ask JTS to retrieve the data when it is coming from CCM.
Does anyone know how I can properly escape the { and } in my query url to get the proxy service to use it?
Thank you!
Comments
Dave Evans
3 hours agoNote: There is an asterisk between the curly braces to ask for all sub-level properties of the state, but trimmed by the forum. {*}