Update Graphics Layer Activity


Creates or updates a graphics layer in a client application.

Inheritance Hierarchy:



This activity allows you to update an existing graphics layer or create the layer if it does not already exist. You can provide new features to add to the layer and optionally clear any existing features. You can also assign a renderer to control the symbology of the layer.

In a Workflow:

You would use this activity to create a persistent layer in a viewer application that contains custom features and rendering. For example, you could use a Query Task activity to obtain a FeatureSet, then use this activity to create a new graphics layer that contains these features with the symbology of your choosing.


Name Description

In Arguments


The FeatureSet or collection of Graphics to add.

Graphics Layer Id

The Id of the GraphicsLayer to create or edit.

Remove All Features

If true, removes all Graphics from the GraphicsLayer.


The Renderer to assign to the the GraphicsLayer.

Note the Renderer, along with any Symbols it contains, must be defined inline and must implement the ESRI.ArcGIS.Client.IJsonSerializable interface.

If a Renderer more complex than ESRI.ArcGIS.Client.SimpleRenderer is required, you may use the ESRI.ArcGIS.Client.Renderer.FromJson() method to create a Renderer from a JSON string.

Renderer Takes Precedence

If true, the Renderer of the GraphicsLayer will take precedence over Symbols of Graphics.

This argument is only supported in the Geocortex Viewer for Silverlight.


Display Name


You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain.

External Id

An activity handler within a client can reference this particular activity using this external identifier.

Version Information:

Supported from: Geocortex Essentials 3.15, Geocortex Viewer for Silverlight 1.10, Geocortex Viewer for HTML5 1.3.