Select to view content in your preferred language

Dynamic Workspace

2548
2
01-08-2013 12:06 AM
by Anonymous User
Not applicable
Original User: vdkamp

Is it foreseen at ESRI to implement the use of Dynamic Workspace in the viewer? For example: adding a new layer from a registered workspace and have the Layer List and Legend updated automatically.
0 Kudos
2 Replies
by Anonymous User
Not applicable
Original User: ad_giles@hotmail.com

Albert,

Dynamic workspaces were added at 3.0:

http://resources.arcgis.com/en/help/flex-api/concepts/index.html#/Dynamic_Workspaces/017p0000002s000...

Not sure if associated layer lists / TOC get updated when layers are added as I have not tried them yet

Regards

Anthony
0 Kudos
HeatherGonzago
Esri Contributor
Currently working with dynamic workspace functionality (adding layers on the fly, dynamic rendering, etc.) can be done via the API. This is doc'd at http://resources.arcgis.com/en/help/flex-api/concepts/index.html#//017p0000002p000000.

Functionality for this behavior is currently not available directly using OOTB Viewer. You would need to create a custom widget that implements this. Bjorn and I showed this in last year's Dev Summit in addition to Lloyd and Bjorn showed it at last year's UC.

These demos were specific for rendering but you could take that same premise using samples in the API (under the what's new section) and write it into your own custom widget.

This is something that is being considered for a future release of Viewer.

http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#//01m300000020000000 - developing in viewer concepts
http://resources.arcgis.com/en/help/flex-api/samples/index.html#//01nq0000006m000000 - API samples
http://proceedings.esri.com/library/userconf/devsummit12/index.html - dev summit proceedings, search for configuring customizing flex viewer

http://proceedings.esri.com/library/userconf/proc12/tech-workshops.html- ArcGIS Viewer for Flex-Advanced Topics
0 Kudos