Select to view content in your preferred language

DataSourceManager.getInstance() not returning all dataSources at v1.13

764
1
Jump to solution
01-11-2024 09:17 PM
Labels (1)
LeonAus
Regular Contributor

I'm wondering if something has changed with DataSourceManager.getInstance() between v1.11 and v1.13 and I need to modify my code or this is a bug.

At v1.11, when I call DataSourceManager.getInstance().getDataSources() I get all the dataSources in my map:

LeonAus_0-1705035582744.png

After upgrading Developer Edition to 1.13, the same DataSourceManager.getInstance().getDataSources() only gets a subset of the dataSources:

LeonAus_1-1705035895049.png

Can anyone shed some light on what is going on here?

Thanks.

0 Kudos
1 Solution

Accepted Solutions
MarcelŠíp
Esri Contributor

Hi @LeonAus, this is most probably related to breaking changes in 1.12 - not all data sources are created by default anymore. See the documentation for more details: https://developers.arcgis.com/experience-builder/guide/1.12/whats-new/#datasource

View solution in original post

1 Reply
MarcelŠíp
Esri Contributor

Hi @LeonAus, this is most probably related to breaking changes in 1.12 - not all data sources are created by default anymore. See the documentation for more details: https://developers.arcgis.com/experience-builder/guide/1.12/whats-new/#datasource