# Interface BuildingComponentSublayerExtensionProperties

Properties that can be passed into the constructor for BuildingComponentSublayerExtension.

interface BuildingComponentSublayerExtensionProperties {
attachmentTypes?: string[];
enableClientSideData?: boolean;
failureMode?: FailureMode;
featureActions?: MenuProperties | Menu<MenuItemProperties, MenuProperties, MenuItem<MenuItemProperties, MenuProperties>>;
featureSettings?: FeatureSettingsProperties;
featureSourceActions?: MenuProperties | Menu<MenuItemProperties, MenuProperties, MenuItem<MenuItemProperties, MenuProperties>>;
hyperlinks?: (HyperlinkProperties | Hyperlink)[];
iconUrl?: string;
id?: string;
layerListSettings?: LayerListSettingsProperties;
onAddFeature?: Action;
onEditFeature?: Action;
relationships?: (Relationship | RelationshipProperties)[];
schema?: SchemaProperties;
sublayer?: BuildingGroupSublayer | BuildingComponentSublayer | BuildingSublayerProperties;
sublayerExtensions?: (SublayerExtension<SublayerExtensionProperties> | BuildingSublayerExtensionProperties)[];
taskSettings?: TaskSettingsProperties;
visibilityMode?: "inherited" | "independent" | "exclusive";
}

#### Hierarchy (view full)

- BuildingSublayerExtensionProperties
  - BuildingComponentSublayerExtensionProperties

#####
Index

### Properties

attachmentTypes?
enableClientSideData?
failureMode?
featureActions?
featureSettings?
featureSourceActions?
hyperlinks?
iconUrl?
id?
layerListSettings?
onAddFeature?
onEditFeature?
relationships?
schema?
sublayer?
sublayerExtensions?
taskSettings?
visibilityMode?

##
Properties

### `Optional` attachmentTypes

attachmentTypes?: string[]

See data/FeatureSource!FeatureSource.attachmentTypes.

Inherited from BuildingSublayerExtensionProperties.attachmentTypes

### `Optional` enableClientSideData

enableClientSideData?: boolean

See BuildingComponentSublayerExtension.enableClientSideData.

### `Optional` failureMode

failureMode?: FailureMode

See support/InitializableBase!InitializableBase.failureMode.

Inherited from BuildingSublayerExtensionProperties.failureMode

### `Optional` featureActions

featureActions?: MenuProperties | Menu<MenuItemProperties, MenuProperties, MenuItem<MenuItemProperties, MenuProperties>>

A menu for actions specifically related to features from this source.

Inherited from BuildingSublayerExtensionProperties.featureActions

### `Optional` featureSettings

featureSettings?: FeatureSettingsProperties

See data/FeatureSource!FeatureSource.featureSettings.

Inherited from BuildingSublayerExtensionProperties.featureSettings

### `Optional` featureSourceActions

featureSourceActions?: MenuProperties | Menu<MenuItemProperties, MenuProperties, MenuItem<MenuItemProperties, MenuProperties>>

A menu for actions specifically related to this source.

Inherited from BuildingSublayerExtensionProperties.featureSourceActions

### `Optional` hyperlinks

hyperlinks?: (HyperlinkProperties | Hyperlink)[]

See data/FeatureSource!FeatureSource.hyperlinks.

Inherited from BuildingSublayerExtensionProperties.hyperlinks

### `Optional` iconUrl

iconUrl?: string

See mapping/_SublayerExtension!SublayerExtension.iconUrl.

Inherited from BuildingSublayerExtensionProperties.iconUrl

### `Optional` id

id?: string

The unique ID to assign to the entity. If not specified, one will be generated.

Inherited from BuildingSublayerExtensionProperties.id

### `Optional` layerListSettings

layerListSettings?: LayerListSettingsProperties

See mapping/_SublayerExtension!SublayerExtension.layerListSettings.

Inherited from BuildingSublayerExtensionProperties.layerListSettings

### `Optional` onAddFeature

onAddFeature?: Action

See data/FeatureSource!FeatureSource.onAddFeature.

Inherited from BuildingSublayerExtensionProperties.onAddFeature

### `Optional` onEditFeature

onEditFeature?: Action

See data/FeatureSource!FeatureSource.onEditFeature.

Inherited from BuildingSublayerExtensionProperties.onEditFeature

### `Optional` relationships

relationships?: (Relationship | RelationshipProperties)[]

See mapping/_SublayerExtension!SublayerExtension.relationships.

Inherited from BuildingSublayerExtensionProperties.relationships

### `Optional` schema

schema?: SchemaProperties

See data/FeatureSource!FeatureSource.schema.

Inherited from BuildingSublayerExtensionProperties.schema

### `Optional` sublayer

sublayer?: BuildingGroupSublayer | BuildingComponentSublayer | BuildingSublayerProperties

See mapping/_SublayerExtension!SublayerExtension.sublayer.

Inherited from BuildingSublayerExtensionProperties.sublayer

### `Optional` sublayerExtensions

sublayerExtensions?: (SublayerExtension<SublayerExtensionProperties> | BuildingSublayerExtensionProperties)[]

See mapping/_SublayerExtension!SublayerExtension.sublayerExtensions.

Inherited from BuildingSublayerExtensionProperties.sublayerExtensions

### `Optional` taskSettings

taskSettings?: TaskSettingsProperties

See data/FeatureSource!FeatureSource.taskSettings.

Inherited from BuildingSublayerExtensionProperties.taskSettings

### `Optional` visibilityMode

visibilityMode?: "inherited" | "independent" | "exclusive"

See mapping/_SublayerExtension!SublayerExtension.visibilityMode.

Inherited from BuildingSublayerExtensionProperties.visibilityMode