I was trying to get the layerDefinition properties and found a reference to the following function. However, it is not available, nor does it show up in the reference information for a DataSource.
Any ideas?
Reference to it being available:
https://developers.arcgis.com/experience-builder/guide/1.1/whats-new/
- DataSource class:
- label is renamed to getLabel().
- dataSourceJson is renamed to getDataSourceJson().
- layerDefinition is named to getLayerDefinition().
Nothing in the API reference:
https://developers.arcgis.com/experience-builder/api-reference/jimu-core/DataSource