Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat]: Add global variable for application name #1526

Open
lanedsmu opened this issue Feb 12, 2025 · 2 comments
Open

[Feat]: Add global variable for application name #1526

lanedsmu opened this issue Feb 12, 2025 · 2 comments
Assignees
Labels
Javascript Frontend Pull requests that update Javascript code

Comments

@lanedsmu
Copy link

Having a variable containing the current application name would help streamline some functionality; we propose adding this alongside, e.g., the url and currentUser variables.

Alternatives
This could be found using the url variable and an API query, but it would be nice if that were more easily accessible via a Lowcoder global data variable.

@FalkWolsky
Copy link
Contributor

We agree. Next to "currentUser" could be an "currentApp" variable.

@FalkWolsky FalkWolsky added the Javascript Frontend Pull requests that update Javascript code label Feb 13, 2025
@FalkWolsky FalkWolsky moved this to 🆕 New in Lowcoder Feb 13, 2025
@BobLouderback
Copy link

How would this work for modules? Inside the module, I think should return the module name. Outside the module, the app name. However, it might be useful for the module to "know" which app is calling it, so from inside the module, maybe some way to see what the "parent" app is at the moment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Javascript Frontend Pull requests that update Javascript code
Projects
Status: 🆕 New
Development

No branches or pull requests

4 participants