cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

How to implement link in button

I need to follow the link while pressing the button

I have used Launch(My URL) but it doesn't work

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: How to implement link in button

Hi @Aleksey1 ,

Do you want to fire a flow or an canvas app when you press a button in your app?

 

If you want to run another app when you press a button in your app, I think the Launch function could achieve your needs. Firstly, you need to get the Web Url of your app you want to run, the URL format as below:

https://apps.powerapps.com/play/xxxxxxxx-b460-4121-xxxx-2829402a0061?tenantId=xxxxxxxx-f6a5-41a2-xxxx-9785a9d6c706

or

https://apps.powerapps.com/play/xxxxxxxx-b460-4121-xxxx-2829402a0061

You could find the Web Url of your app as below:4.JPG

On your side, you should type the following formula within the OnSelect property of the Button:

Launch("https://apps.powerapps.com/play/xxxxxxxx-b460-4121-xxxx-2829402a0061?tenantId=xxxxxxxx-f6a5-41a2-xxxx-9785a9d6c706")

or

Launch("https://apps.powerapps.com/play/xxxxxxxx-b460-4121-xxxx-2829402a0061")

Please check if you have specified a proper app web url within your Launch function.

 

If you want to fire a flow from your app using Launch function, I afraid that there is no way to achieve your needs. If you want to fire a flow from an app, you need to add your flow connection in your app, then add a button within your app, set the OnSelect property to following:

'FlowName'.Run(...)

More details about firing a flow from an app, please check the following article or video:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/using-logic-flows

https://www.youtube.com/watch?v=1wl9AtxWdkg

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
Highlighted
Super User
Super User

Re: How to implement link in button

@Aleksey1 

If you input the following code into the button's OnSelect property it should take you to Google.  Give it a try first and then replace with your own URL

 

Launch("https://www.google.ca")

 

If this does not work, can you please give more details?

 

---

Please click "Accept as Solution" if my response helped to solve your issue so that others may find it more quickly.  If your thought the post was helpful please give it a "Thumbs Up."

Highlighted
Frequent Visitor

Re: How to implement link in button

It goes to the goole right but not to my site. I need to go to the https://emea.flow.microsoft.com/manage/environments/Default-aca3c8d6-aa71-4e1a-a10e-03572fc58c0b/app...

 

to see all request rely on me

Highlighted
Super User
Super User

Re: How to implement link in button

@Aleksey1 

I was able to build a button that takes me to the Approvals Received screen so I believe the Launch() function is not the issue.  It must be something else.

What do you mean by the link failed?  Do you get a 404 page not found error?  Does it ask you to login?  Does it take you to an unexpected screen?  I'll need more details on the error to diagnose what is going on.

Highlighted
Frequent Visitor

Re: How to implement link in button

The button is nit active with my link. Now I think that this problem is due to the fact that I'm trying to connect to the link of intranet 

Highlighted
Super User
Super User

Re: How to implement link in button

@Aleksey1

Can you post a screen capture of what happens when you click the button?

Highlighted
Community Support
Community Support

Re: How to implement link in button

Hi @Aleksey1 ,

Do you want to fire a flow or an canvas app when you press a button in your app?

 

If you want to run another app when you press a button in your app, I think the Launch function could achieve your needs. Firstly, you need to get the Web Url of your app you want to run, the URL format as below:

https://apps.powerapps.com/play/xxxxxxxx-b460-4121-xxxx-2829402a0061?tenantId=xxxxxxxx-f6a5-41a2-xxxx-9785a9d6c706

or

https://apps.powerapps.com/play/xxxxxxxx-b460-4121-xxxx-2829402a0061

You could find the Web Url of your app as below:4.JPG

On your side, you should type the following formula within the OnSelect property of the Button:

Launch("https://apps.powerapps.com/play/xxxxxxxx-b460-4121-xxxx-2829402a0061?tenantId=xxxxxxxx-f6a5-41a2-xxxx-9785a9d6c706")

or

Launch("https://apps.powerapps.com/play/xxxxxxxx-b460-4121-xxxx-2829402a0061")

Please check if you have specified a proper app web url within your Launch function.

 

If you want to fire a flow from your app using Launch function, I afraid that there is no way to achieve your needs. If you want to fire a flow from an app, you need to add your flow connection in your app, then add a button within your app, set the OnSelect property to following:

'FlowName'.Run(...)

More details about firing a flow from an app, please check the following article or video:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/using-logic-flows

https://www.youtube.com/watch?v=1wl9AtxWdkg

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020 Winner Announced

Check it out!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (11,212)