cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CNT
Level: Powered On

Launch() Function

Hello!

 

I am trying to use the Launch() function to open a local html file in the default browser. The code looks like...

Launch("D:\WebPage.html")

Nothing happens. Any clues?

 

3 REPLIES 3
FlexmindTeam
Level: Powered On

Re: Launch() Function

Try using : Launch("file:///D:/WebPage.html") and check whether it's working or not.

You can also refer https://powerusers.microsoft.com/t5/Creating-Apps/Using-Launch-to-open-files/td-p/164794

for your reference.

 

 

Community Support Team
Community Support Team

Re: Launch() Function

Hi @CNT ,

Do you want to open a local html file by using launch control?

I’ve made a similar test,but it didn’t work.The formula is as follows:

Launch("file://D:\test.html")

I’ve searched related information. I’m afraid that the function of using the Windows file server path by launch control within PowerApps has not yet been implemented.

The launch function is used to open a webpage or an app.It can only use URL temporarily.

I suggest you to express your views on PowerApps Ideas Forum. Your precious advice will be very helpful for our work.

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

As an alternative solution, you could store the files within your Cloud service, such as, OneDrive, Dropbox, etc. Then use Launch function to open the file based on the file link.

For example,I’ve uploaded a html file to my OneDrive. Click on the html file in OneDrive to see its url(https://.....).

The Launch function I used as below:

Launch("https://....")

then it works.

 

 

 

Best regards,

Community Support Team _ Phoebe Liu

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
CNT
Level: Powered On

Re: Launch() Function

Thanks @FlexmindTeam and @v-yutliu-msft for your suggestions.

Yes, this feature is just not supported. PowerApps team have to add it in the future.

 

I have made a new idea suggestion,

Improvements to Launch() 

 

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,960)