Solved! Go to Solution.
Hi,
You won't be able to do Identify or Labeling using the 'dynamic workspaces' functionality (i.e. ad hoc adding of data rather than through a map package / mpk) at 10.1.1, but the REST API does support query on dynamic layers. The Java SE Runtime API doesn't have support within the Query classes for this, but look for this at 10.2.
For now to query a dynamic-workspace-style layer, e.g. a shapefile, you would need to construct your own query request, an example is on this page: http://resources.arcgis.com/en/help/rest/apiref/ms_dyn_query.html
e.g. Example 1, where 'layer={...}' could be obtained in code from the DynamicLayerInfo of the layer you want to query.
If you'd like more information let me know,
~elise
Hi,
You won't be able to do Identify or Labeling using the 'dynamic workspaces' functionality (i.e. ad hoc adding of data rather than through a map package / mpk) at 10.1.1, but the REST API does support query on dynamic layers. The Java SE Runtime API doesn't have support within the Query classes for this, but look for this at 10.2.
For now to query a dynamic-workspace-style layer, e.g. a shapefile, you would need to construct your own query request, an example is on this page: http://resources.arcgis.com/en/help/rest/apiref/ms_dyn_query.html
e.g. Example 1, where 'layer={...}' could be obtained in code from the DynamicLayerInfo of the layer you want to query.
If you'd like more information let me know,
~elise