-
Notifications
You must be signed in to change notification settings - Fork 58
Description
Request
It would be a really nice feature to enable the accessibility of URL query parameters (e.g. via window.location.search
) after deploying a Code App.
Current Situation
When running the Code App locally, it is possible to append query parameters to the application by adding them to the local app URL (_localAppUrl
). E.g.: https://apps.powerapps.com/play/e/<env-id>/a/local?_localAppUrl=http://localhost:3000/?customParam=someValue&_localConnectionUrl=http://localhost:8080/
However, after publishing the app to an environment (and running it in there), the query parameters in window.location.search
are empty. E.g.: https://apps.powerapps.com/play/e/<env-id>?tenantId=<tenant-id>&hint=<hint-id>&sourcetime=<source-time>&source=portal/customParam=someValue
When doing it like this right now, window.location.search
is simply empty (does also not contain tenantId
, etc.). Maybe it's possible to forward query params to the Code App to utilize them (like with Param()
in a Canvas App).