How to Collect Active Modules in App with JS?

Hi @gibbeth! Glad you've been enjoying Retool.

I don't believe it is currently possible to programmatically get a list of all modules and then take actions (e.g trigger a query) in a JS query. The relationships between module-to-parent-app and module-to-module need to be defined explicitly, with the data/queries passed between each as an input or output.

I'll also pass along this post about triggering a query within a Module from the parent app in case you find that useful for your app.

Does that help? Let me know if there are specific hurdles you're running into as you build.