You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m trying to understand how to use environment variables in a Code App.
The official documentation only covers usage for data sources:
Use environment variables in code apps
However, it’s unclear how to work with string environment variables.
Questions:
How can string environment variables be accessed and used in a Code App?
Should I add environment variable tables as data sources (similar to Canvas Apps)?
Or is there a recommended / better approach?
Expected outcome:
Clear guidance or best practices for handling non–data source environment variables (e.g., strings) in Code Apps.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I’m trying to understand how to use environment variables in a Code App.
The official documentation only covers usage for data sources:
Use environment variables in code apps
However, it’s unclear how to work with string environment variables.
Questions:
How can string environment variables be accessed and used in a Code App?
Should I add environment variable tables as data sources (similar to Canvas Apps)?
Or is there a recommended / better approach?
Expected outcome:
Clear guidance or best practices for handling non–data source environment variables (e.g., strings) in Code Apps.
Beta Was this translation helpful? Give feedback.
All reactions