Select to view content in your preferred language

Passing XML data to a widget

2145
1
08-19-2011 08:36 AM
DonaldCatanzaro
Emerging Contributor
Hi All,

I am a bit new to the FlexViewer and have been working on it for a bit over the last month or so.

Unfortunately, the data I wish to access is not available as a MapService, but the geographic points and a foreign key to the data I want are available.  The foreign key can be used via an API which then pushes the data out as an XML file.  Of course I need to use an XSLT stylesheet to transform the data into the one number I want (it is a sum of a bunch of variables).

Thus, I would like to modify either the Chart Widget and/or the Identify Widget to display XSLT transformed data that comes from that XML data via the API.

Right now, I have modified the Identify Widget so that the hyperlink opens a browser which shows the XML results of the query to the API.

What I really want to do of course is have the result appear in the pop-up window for Identify and/or the Chart Widget.

I've searched the forums and did not find another thread similar enough to mine to be of assistance.  Could someone give me some guidance on my next steps here to get the XML data into the pop-up window ? 

Thanks in advance !

-Don
Tags (2)
0 Kudos
1 Reply
DonaldCatanzaro
Emerging Contributor
Hi All,

It appears that the Weather Underground widget (http://www.arcgis.com/home/item.html?id=f6bf35d7e7dc4db697f9718fd1b2b53f#)  takes data from an XML based API and displays it.

I may be able to hack it apart but there is a lot of extra bits and pieces - any help would be greatly appreciated !

-Don
0 Kudos