Error in documentation or missing function? getLayerDefinition()

225
1
02-02-2023 05:29 AM
Labels (1)
PaulNRWA
New Contributor III

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

0 Kudos
1 Reply
DougLogsdon2
New Contributor III

That method is a part of the subclass FeatureLayerDataSource. But it looks like it is not yet included in the documentation there either.

0 Kudos