Theme controllers have access to all there widgets configs with method getAllConfigs();
Is there a way to do the same for all other widgets ?
In any widget you can use this.appConfig to get access to the main config.json.
I think my problem is that I'm not in a widget when trying do do that so I don't have access to appConfig.
What are you in when you want to get access to the appConfig?
I'm in an outside class.
What I did is create an instance of this class from within a widget and pass it the appConfig and it worked.
Thank you Robert.
or better access it through the WidgetManager.
Retrieving data ...