Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I've posted a related question is in the ArcGIS Desktop forums, but hasn't gotten any replies yet. In that case, I would like tackle this in another way, which is dynamically changing a datasource using arcgis js api. Is this possible?

To give some detail, the layers defined in my mapservice are joined with another view through oledb. Will the class QueryDataSource be able to do this, and how?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

You can at ArcGIS 10.1 by using dynamic workspaces. Just define a workspace with an attached ID, then you can pull any layer or table in the workspace as a datasource. You can run queries against that dynamic workspace datasource or use a renderer to render the data source. The data source can be vector or raster, though it is not that clear how you define the renderer for a raster data source.

share|improve this answer
    
Thank you, but unfortunately I'm using only 10. It's something to look forward to, anyway. –  NeoJigglypuff Jun 29 '12 at 0:07
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.