web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Launch() Sample to ope...
Power Apps
Unanswered

Launch() Sample to open external app

(1) ShareShare
ReportReport
Posted on by 2

Does anybody of a sample of how to open an external app using the Launch function?  For example, if I want to open the "calc.exe", what would be the syntax?  The tutorial shows to use the app ID, but I'm not sure how to get the app ID.

 

Thank you,

Wayne

 

 

-Reference-

 

 

Download, Launch, and Param functions in PowerApps

Syntax

Download( Address )

  • Address - Required. The address of a web resource to download.

Launch( Address [, ParameterName1, ParameterValue1, ... ] )

  • Address - Required. The address of a webpage or the ID of an app to launch.

  • ParameterName(s) - Optional. Parameter name.

  • ParameterValue(s) - Optional. Corresponding parameter values to pass to the app or the webpage.

Param( ParameterName )

  • ParameterName - Required. The name of the parameter passed to the app.
Categories:
I have the same question (0)
  • CarlosFigueira Profile Picture
    on at

    Hello,

     

    The launch function can be used to open either a web browser (if the parameter points to a website), or another app within the apps that you own in your PowerApps subscription. The format isn't very discoverable at this point (we're working to make it easier), but if you go to the web portal (https://web.powerapps.com), select "My Apps", and click any of your apps, it will launch the app in the web browser. In the browser URL, you will find the app id. For example, for this app:

    AppId.PNG

    The app id is "/providers/Microsoft.PowerApps/apps/087103e2-fa74-3dfc-3cb8-b4fab28e319a" (unescaping the '%2f' into '/'), and you can launch it from a button with a formula Launch("/providers/Microsoft.PowerApps/apps/087103e2-fa74-3dfc-3cb8-b4fab28e319a").

  • Jparker Profile Picture
    37 on at

    @CarlosFigueira wrote:

    Hello,

     

    The launch function can be used to open either a web browser (if the parameter points to a website), or another app within the apps that you own in your PowerApps subscription. The format isn't very discoverable at this point (we're working to make it easier), but if you go to the web portal (https://web.powerapps.com), select "My Apps", and click any of your apps, it will launch the app in the web browser. In the browser URL, you will find the app id. For example, for this app:

    AppId.PNG

    The app id is "/providers/Microsoft.PowerApps/apps/087103e2-fa74-3dfc-3cb8-b4fab28e319a" (unescaping the '%2f' into '/'), and you can launch it from a button with a formula Launch("/providers/Microsoft.PowerApps/apps/087103e2-fa74-3dfc-3cb8-b4fab28e319a").



    So ok I created a button that uses the Launch code.  

     

    EX:  Launch("Http;// one drive link to open a excel file")

     

    But the excel file can't open in office 365 excel app due to some formulas and protection i need it to open in the app users local excel program either windows base android or iphone.  So how do i accomplish that please sir.  Not many examples running around the web.

  • Meneghino Profile Picture
    6,949 on at

    Hi @Jparker  as mentioned in our other discussion, the link to the Excel file should open in the phone's browser.

    At least in my case it opened correctly.

  • GeraintDavies Profile Picture
    13 on at

    How about to open a PowerApps app, from Microsoft Flow?

     

    e.g. Create a Flow which is: PowerApps button -> Push Notification "Something has changed!"

     

    The user is prompted by a push notification that at the moment, has to come from the Microsoft Flow app. I'd like this to include a link to the PowerApps app for them to open it directly from the notification.

     

    I've tried "%2fproviders%2fMicrosoft.PowerApps%2fapps%2f087103e2-fa74-3dfc-3cb8-b4fab28e319a" (substituting my app id for this one) but it didn't work.

     

  • Meneghino Profile Picture
    6,949 on at

    The hyperlinks to PowerApps that work for me are in the form:

    https://web.powerapps.com/apps/b6a27b52-xxxx-xxxx-xxxx-xxxxxxxxxx

     

    Where does your type of link ("%2fproviders%2fMicrosoft.PowerApps%2fapps etc.") come form?

  • GeraintDavies Profile Picture
    13 on at

    Thanks Meneghino, that link redirects me to the app.

     

    I had taken the "%2fproviders%2fMicrosoft.PowerApps%2fapps etc." format from Carlos's explaination of what to pass the Launch() function (about 4 posts up).

     

    Any idea if you can direct to a specific **screen** in the app?

  • Meneghino Profile Picture
    6,949 on at

    hi @GeraintDavies

    try the Param function, then you can try to redirect with an OnVisible on the landing screen

  • Sru Profile Picture
    on at

    Hi @Meneghino,

     

    can you give a sample example on how to use param and redirect to display page of single sharepoint list item.

     

    Thanks,

    Sru

  • Meneghino Profile Picture
    6,949 on at

    Hi @Sru

    Have the link to open the app as something like this:

    https://web.powerapps.com/apps/96062213-2c6b-a6ab-04d8-f0917e8af9b2?MyParam=123

     

    Then within the app, use Param("MyParam") to use the value "123" to point to the desired record.

     

    You can then point to the desired record for example by using Value(Param("MyParam")) in the Default property of a gallery.

     

    Hope this helps.

  • Sru Profile Picture
    on at

    Thanks for the reply @Meneghino it worked.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard