Access application DataSource from js

#1

I’ve a fully js custom UI component that extends C3.view.Component, how can I access all DataSources (or a given DataSource) of my application?

0 Likes

#2

this.get(“environment”).getDataSource([your_data_source_id])

e.x. this.get(“environment”).getDataSource(“DeveloperAdmin.ApplicationNotificationPollingStatus”)

0 Likes