How to create a widget with multiple data source?

3373
2
11-18-2015 08:13 AM
HoriaTudosie
Occasional Contributor II

I need to combine count results on queries on multiple layers.

(I have a layer for each geometry type, however with same attributes. I need a chart which should not differentiate the geometry type!)

The custom widget comes with just a configurable data source (and title) hard-coded in the configuration pop-up.

How can I add a second and a third data source?

2 Replies
NoppadonHimananto
New Contributor II

I think it can't add more data-source in this version.

you may connect with other data-source by manual coding.

0 Kudos
HoriaTudosie
Occasional Contributor II

Yes, I have figured out, I have even fix the bug from getDataSourceProxies, but I still cannot obtaing notifications from other data sources.

Also, I cannot save settings without binding them to the data source configured in configuration...

0 Kudos