//Add this private var to the top with other private vars private var _configData:ConfigData; //Add this line to the postConfigHandler function _configData = configData; //After this line var configData:ConfigData = event.data as ConfigData;
Sandra,
//Add this line to the postConfigHandler function
_configData = configData;
//After this line var configData:ConfigData = event.data as ConfigData;
There was a previous thread on the old forum to pass search parameters into a url string,
http://forums.esri.com/Thread.asp?c=158&f=2421&t=294907&mc=104#msgid925229
I would like to see if anyone has accomplished this for the new viewer. I have a non-spatial flex application that runs a query on a ArcServer service and returns the results into a datagrid, I then have a button that exports the results into a pdf report. I would like to have another function that takes a value from the datagrid, populates it into a URL string that opens a new browser and zooms to that selected feature.
thanks,
Aaron
Golden,
If you are using the 2.4 api, then I would use Robert's new enhanced search widget, you can find it HERE. He was able to integrate all the code needed to accomplish exactly what was done in this forum, everything is outlined in the documentation included in the download. I am using the latest version and it was easy to configure. If you do use Robert's widget make sure you rate it on the download page
Aaron
I followed the instructions in the documentation. Are you using the enhanced search widget 2.4? If so there are no code changes to the flexviewer, everything should be configured from the search widget xml. What URL string are you using to try and search?
Aaron