I'm currently building an app in Retool and need to pass a selected value ( from a table selection) from my main app to a separate module. Specifically, I'd like to know:
What's the recommended way to access or pass a selected value from the main Retool app into a module that's external to the current app?
Are there best practices or examples for setting up this kind of data flow?
Any guidance or examples would be greatly appreciated!
You can share data between the parent app and a module by using the 'Inputs' settings in the Module. You can access this Input value within the Module by referencing it's name; {{ TestValue.value }} in my example.
I hope @RetoolPV's response was helpful to you, @PaulaG! It outlines the best approach for passing data from an app into a nested module.
Looking back at your initial post, though, it almost sounds like you're trying to pass data from an app into a module that lives in a completely separate app. Am I interpreting that correctly? If so, there's not a particularly good solution for such a pattern. You would likely need to persist data from the app to an intermediary database that could then be read by the external module.
Hopefully you're all set, but I thought I'd check in just in case! Don't hesitate to follow up here if you have any additional questions.