lowcoder icon indicating copy to clipboard operation
lowcoder copied to clipboard

[Feat]: allow Modules to be opened via Go To An Other App action

Open jdh148 opened this issue 2 months ago • 0 comments
trafficstars

Is your feature request related to a problem? Please describe. I have an app that opens some screens in a modal, but want the ability for users to also open them in a new tab. I created the screen as a module, and the modal points to the module. However getting the module to open in a new tab is more difficult.

Describe the solution you'd like Modify the "Go to an other App" event action so that it can point to modules and pass input parameters

Describe alternatives you've considered I have found two solutions: First, create a second app that just contains the module and have the event Go To Another App action point to the second app. However this is a nuisance if you have to setup multiple apps. It also causes clutter on the user's My Apps list, and we may not want the user to be able to directly access the module without going through the proper app first.

Second, use javascript to open the module with the utils.openApp() function. However this is not as clean or easy to setup as Go To Another App action. Also now it means the module must be shared with the user, which again adds clutter to their My Apps list may not be desired. Also it requires mapping the URL parameters to the input parameters - which is not difficult, but is an extra step. I handled this by setting {{url.query.____}} as the default value of the inputs.

Additional context None.

jdh148 avatar Sep 04 '25 03:09 jdh148