It's all about the answers!

Ask a question

HTTP Filtered Provider Value Set works in test mode, but blank in presentation mode


Tom Malnar (23137) | asked May 31 '13, 4:32 p.m.
I setup Apache and serving an xml page. 

<xml>
<node>
<value>Tom 1</value>
</node>
<node>
<value>Tom 2</value>
</node>
<node>
<value>Tom 3</value>
</node>
</xml>

When I run the test everything works,

[HttpFilteredValueSetProvider]Retrieving values from HttpConnector...
[HttpConnector]Retrieving XML document...
[HttpConnector]Issue a new HTTP requestGET /test.xml 
Accept: application/xml 
Host: 192.168.6.119 
Connection: Keep-Alive
[HttpConnector]Got response 'OK'200 OK 
Date: Fri, 31 May 2013 20:25:29 GMT 
Server: Apache/2.4.2 (Win64) OpenSSL/1.0.1 
Last-Modified: Fri, 31 May 2013 20:22:56 GMT 
ETag: "8e-4de096164a8bc" 
Accept-Ranges: bytes 
Content-Length: 142 
Keep-Alive: timeout=5, max=100 
Connection: Keep-Alive 
Content-Type: application/xml
[HttpConnector]Retrieved XML document<xml> 
<node> 
<value>Tom 1</value> 
</node> 
<node> 
<value>Tom 2</value> 
</node> 
<node> 
<value>Tom 3</value> 
</node> 
</xml>
[HttpConnector]Identified 3 rowsXPath: //xml/node
[HttpFilteredValueSetProvider]Retrieved 3 values

I saved the project.  When I tried creating an attribute (small string) and placing it in a presentation, 
no matter what I do, I always get a blank control on the presentation.
Any ideas as to what step I am missing?

4 answers



permanent link
Eric Jodet (6.3k5111120) | answered Jun 03 '13, 8:12 a.m.
JAZZ DEVELOPER
 Hello Tom,
I guess you verified that your small string attribute was using your HTTP ValueSet provider.

You may use Firefox and Firebug to load a new work item and search for any error while loading the values.

Let me know.
Thanks
Eric.

permanent link
Tom Malnar (23137) | answered Jun 03 '13, 10:00 a.m.
 Eric, I tried snooping with Firebug, and I don't see any errors or warnings.  However I don't see the GET that goes and fetches the value set.


permanent link
Eric Jodet (6.3k5111120) | answered Jun 03 '13, 10:06 a.m.
JAZZ DEVELOPER
 Hello Tom,
I captured a screen cap from https://jazz.net/library/article/1257

If you don't see the GET to your server, then possibly, you did not select your HTTP VSP as provider for your attribute.
May you please check / confirm?

Thanks

permanent link
Tom Malnar (23137) | answered Jun 03 '13, 10:14 a.m.
 Stupid me, I created the attribute in the wrong category (wrong work item type).  
Its now working.   Thank you very much!



Comments
Eric Jodet commented Jun 03 '13, 10:23 a.m.
JAZZ DEVELOPER

 Glad it's working now.

Thanks Tom.

Eric.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.