Access instances of C3UI components from console

#1

To access a UI component from console(chrome dev tools) you can use ‘env’ global variable:
env.findComponent(“ApplicationId.PageId.ComponentId”)
or
env.getDataSource(“ApplicationId.DataSourceId”)

1 Like

#2

In this case the global variable env is of type UIEnvironment. Look up more information on available functions by c3ShowType(UIEnvironment)

2 Likes