Skip to content

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

@jdh148

Description

@jdh148

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Javascript FrontendPull requests that update Javascript code

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions