    

 ## On this page

  

 

 # getDataCollectorForDataExplorer

 Last update: 18.06.2026 

abstract fun [getDataCollectorForDataExplorer](get-data-collector-for-data-explorer.md)(dataExplorer: [DataExplorer](./../-data-explorer/index.md)): [DataCollector](./../-data-collector/index.md)

Retrieves a DataCollector for the DataExplorer with the specified ID.

#### Return

A DataCollector for the DataExplorer with the specified ID

#### Parameters

dataExplorerThe DataExplorer for which to retrieve a DataCollector#### Throws

[ModelCenterException](./../-model-center-exception/index.md)If something goes wrong in retrieving a DataCollector for the specified DataExplorerID