Select to view content in your preferred language

ExB Dev Edition 1.17 breaking change, getChildDataSources() no longer supported

99
1
Wednesday
Labels (1)
SerjStol
Frequent Contributor

Hello dear mappers,

In a process of updating my custom widget from 1.14 exb dev version to 1.17 due to some breaking changes that make it not work in enterprise 11.5.

Seems like getChildDataSources() property of DataSource object is no longer available? I tried getAllDerivedDataSources()  and getAllLocalDataSources() but they all return empty array. 

SerjStol_0-1761765666070.png

 

P.S. Documentation still references getChildDataSources() but its no longer part of the API. Data sources | ArcGIS Experience Builder | Esri Developer

0 Kudos
1 Reply
SerjStol
Frequent Contributor

Update: it seems to be still working...  Declaring DataSource as FeatureServiceDataSource gets rid of the TS error as it gains access to child properties

0 Kudos