Component Context Parameter - Spectrum_Spatial_Analyst - Latest

Spectrum Spatial Analyst Extensibility Guide

Product type
Software
Portfolio
Locate
Product family
Spectrumâ„¢ software
Product
Spectrumâ„¢ software > Spatial > Spectrum Spatial Analyst
Version
Latest
ft:locale
en-US
Product name
Spectrum Spatial Analyst
ft:title
Spectrum Spatial Analyst Extensibility Guide
Copyright
2025
First publish date
2007
ft:lastEdition
2025-10-28
ft:lastPublication
2025-10-28T15:15:05.535000
L1_Product_Gateway
L2_Product_Segment
L3_Product_Brand
L4_Investment_Segment
L5_Product_Group
L6_Product_Name

The Spectrum Spatial Analyst extensibility platform provides support for passing in context parameters from dynamic container components to its child components, including child components created by developers. Developers can use the data as per their needs to adjust the logic of the components they create. For example, when a user draws a circle annotation, a developer creates a custom component to query within the circle annotation. The Spectrum Spatial Analyst Extensibility Platform passes in all the information about circle annotation to the custom component like radius, XY location, name of annotation and so on.

Context data may be useful for passing the information to external systems or it can be used to make the component rendering exclusive for an instance of the dynamic container. For example, if there are more than one circle annotation and developer wants to show the component for the first circle annotation only then he can use the annotation name from the context parameter to restrict the view of the new component in its template.

To access this context data, a component developer needs to create an input field with name data: any in its own created typescript component. Inside this data field, each of the dynamic containers has a specific name for context parameters; for example, the annotationLegendItem context parameter name is annotationLegendObject. The following table provides the names of all the context data parameters that are available for different dynamic components:

Component Name Context parameter Name (For example, data. annotationLegendObject)
AnnotationLegendItem annoationLegendObject
EnvinsaTileLegendItem legendGroupObject
MVTLegendItem legendGroupObject
AnnotationLegendGroupItem annoationGroupObject
QueryLegendItem queryLegendObject
SpatialLegendItem legendGroupObject
SpatialSubLegendItem legendObject
ThematicLegendItem legendGroupObject
TMSLegendItem legendGroupObject
VectorLayerLegendItem vectorLayerLegendObject
WMSLegendItem legendGroupObject
XYZLegendItem legendGroupObject
CalloutCardContainer calloutObject
CalloutContainer calloutRecordObject