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

Hyperlinks in Powerapps

Hi:

 

I have a field in my Excel table that is a hyperlink. Are there any instructions on how to activate the hyperlink when I'm in the PowerApps application? Is this even allowed?

 

33 REPLIES 33

I have a field in Sharepoint defined as a hyperlink (a link to a document elsewhere on the site).  When I create a customized form for the list using Powerapps, I only have the ability to include a field to store the URL address.  How do I allow the user the ability to enter the display text?  Each Hyperlink has an address and display text component.

 

 

Anonymous
Not applicable

when creating a button with a hyperlink - 1. ensure you have quotes around the address ... I just found this out by trial and error. ex: Launch("www.google.com")

However - I want to know how to get the link to open in a new tab and not take the user away from the app.

I'm sure it's something simple that I'm overlooking, but any help would be appreciated.

Thanks!

 

@Anonymous Launch should open in a new tab by default. What browser/device are you trying this on?

 

Thanks

Anees

Anonymous
Not applicable

Hi guys,

 

I'm sure this is probably a simple request...

 

I have a single text field that would like to have the url value be clickable.  

 

I have the following formula for the field "Launch(ThisItem.AAUILinks)" but it doesn't work and I'm not seeing any thrown errors.  

 

Note: I want it to make the entered link value an active hyperlink.  Since the value can be changed based on user input it cannot simply be Launch("Address").

 

Hyperlink_Field.png

 

 

Am I missing something?  

 

Thanks,

-Sidney

Hi @Anonymous this is likely due to the FormMode = View.

 

Pasting my comment earlier in the thread.

 

"When the Form control is in FormMode = View, it blocks the child control's behavior/actions (OnSelect = Launch in this case). A good workaround is to put the button outside the Form. Another one is to put your Form in Edit mode. We are discussing if we should change that behavior. In parallel we will work on updating documentation so developers are aware of this."

 

Thanks

Anees

Anonymous
Not applicable

@anees - Thanks for the heads up and my apology for not seeing this earlier in the thread.  Much appreciated. 

How does the concatenation work?  & doesn't do it.  Launch ( " & LinkCardValue1 & ")  

I even tried to print the quote charter with CHAR(34).  No luck

acoyle
Frequent Visitor

Did you ever get an answer on this?

@MickThornton@acoyle what is the value that you are trying to use in Launch.

 

If it is a URL in text format you dont need to explicitly put quotes.

 

If not then something like this works for me. Where TextInput1 contains say "cnn"

Launch("https://www." & TextInput1 & ".com")

 

If this does not work for you let us know the details i.e. what is the value, what is the scenario (is the Launch button nested?), which browser are you using?, etc.

 

Thanks

Anees

I did find I needed to encode the URL, so I replaced the colon and forward slash with %3A and %2F.  That worked.  I guess I could have used the "http://" in quotes to get around the encoding.  

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (12,867)