Replies: 1 comment 2 replies
|
Hi, The documentation here explains how to call Dataverse Actions and Functions from a Code App. I would recommend trying this approach with the 'RetrieveEnvironmentVariableValue' function: https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/reference/retrieveenvironmentvariablevalue?view=dataverse-latest |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
All reactions