1

I need to get the browser URL inside Power App canvas standalone app, is this possible?

I do not want to get parameters, I want the whole URL.

4

1 Answer 1

1

You cannot read the complete browser URL using the default functions available in Power Apps.

However, you can get the app details like GUID, app name, description, etc. using Power Apps for Makers connector.

Example: Below gives you GUID of the application:

LookUp(
    PowerAppsforAdmins.GetAdminApps(
        LookUp(
            PowerPlatformforAdmins.GetAdminEnvironment().value,
            properties.creationType = "DefaultTenant"
        ).name
    ).value,
    properties.displayName="yourAppName"
).name

Once you get the GUID of application, you can construct the URL in specific format like:

https://apps.powerapps.com/play/{App ID}?{Query}

OR:

https://apps.powerapps.com/play/e/{Environment ID}/a/{App ID}?{Query}

References:

  1. Getting current apps GUID ID within the app
  2. How do I get the App name inside my canvas app?

Not sure if this works for end users without Environment Maker security role. But, if you are using default environment, it should work.

1
  • Please Upvote(^) and accept as an Answer if it helped you in any way & it will help others with similar question in future to find the correct answer easily. It also removes this question from "Unanswered questions" list. Oct 13, 2022 at 11:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.