Map Project-based Component Removal - Spectrum_Spatial_Analyst - 23.1

Spectrum Spatial Analyst Extensibility Guide

Product type
Software
Portfolio
Locate
Product family
Spectrum
Product
Spectrum > Spatial > Spectrum Spatial Analyst
Version
23.1
Language
English
Product name
Spectrum Spatial Analyst
Title
Spectrum Spatial Analyst Extensibility Guide
Topic type
Tips
Reference
Overview
Configuration
How Do I
First publish date
2007

There may be certain cases when a developer wants to remove components in certain conditions only. In this case, all users need to create a map project and configure the component to remove in the CustomAnalystModuleConfig.json file. A typical entry in CustomAnalystModuleConfig.json would look like this:

"componentsToRemove":[
	{"componentName":"BaseMapSwitcherComponent", 
	"fromMapConfig":"Drive Time"}]		

When removing the same component from more than one map project, the entry for the component repeats for each map project.