cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
3tsolutions
Advocate I
Advocate I

Launch not work

I've a button

DisplayMode -> DisplayMode.Edit

OnSelect -> Launch(my_path)

 

it's in a Gallery

DisplayMode -> DisplayMode.Edit

 

my_path is a field

type: hyperlink column

value:   https://my_site.sharepoint.com/sites/my_page/my_document_library/my_folder/

 

I open my powerapps in browser , when I try to open the url it dosen't work.

 

3 REPLIES 3
3tsolutions
Advocate I
Advocate I

I've check the return of the function Launch , after the button pressed

the return is True

 

So the function it's work but the page doesn't load ?

 

example code:

 

If(Launch(my_path);Set( ctrl_var; "YES" );Set( ctrl_var; "NO" )) 

 

 

I found the solution at the problem.

 

The browser as set to block pop-up windows , so the Launch it's work but the browser stop the opening of the page.

So I manualy change the permission of the browser and the link now it's work.

 

But now I've to find a way to change the permission of the browser automatically.

RoryL
Community Support
Community Support

 

Hi 3tsolutions,

 

Thank you for your post to the community. I am glad you were able to find a solution for the problem. The browser will need to allow popups from the Power Apps player if the page is opening a new window. More information about the Launch function is also available here: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-param

 

Thanks again,

Rory

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,958)