What i want to do is make the lable box beside the lable specifications a hyperlink? Is this possible and how? I have tried changing it to a control button but no luck. Any help is greatly appreciated, thanks.
Solved! Go to Solution.
Have you tried the HTMLtext field approach? It it works then you would just set the visbility of the SQL field with the URL info to false and move the HTMLtext field on top of the SQL field.
You can use the HTML Text field. If the URL value is already in another field you could just add the HTML Text field and create the link using the value from your label field.
HtmlText: "<a href=" & Label1.Text & ">Get Specifications</a>"
You can also use the Launch() function.
Reference: https://docs.microsoft.com/en-us/powerapps/functions/function-param
Do note that this sometimes does not work properly on some version of IE11. (I didn't in mine until I allowed ALL pop-ups from powerapps)
Add the Launch() function on the OnSelect property of your label.
I have entered this into the OnSelect field
And this is what I have in the Text Field "ThisItem.Application_x0020_pic" The data is coming from a sharepoint list.
When i preview the app the link is still not clickable. Is there something im missing?
I have tried using a button with the above properties but no luck.
Enter the hyperlink in double quotation marks. e.g.
Launch( "google.com" )
And note that this alone doesn't make the label "clickable". Sure, if you click on it (assuming everything runs as expected), it will open another tab but it won't do alternate hover and pressed behavior like normal links do. You'd have to add those yourself.
Thanks for telling me that, i taught doing the above would make it a clickable link.
Do you know what properties i need to change in order to make it clickable. I have done what you said and it allows me to cmd and click the link in the field where you add functions but when i preview the its still just showing as text in a label.
Do you have any examples of how this is done?
I have a deadline due tomorrow and would love to have this feature up and running.
Yeah. It will just show text in a label but if you click/select it, it will open a new tab.
You can change the values of the following properties:
To give the label alternate visuals.
For example, apply the following property-values to your label
Color: RGBA( 63, 189, 191, 1 ) HoverColor: RGBA( 63, 125, 191, 1 ) PressedColor: RGBA( 89, 126, 165, 1 )
would give the label a blue-ish color, a darker color when highlighted, and a paler color when pressed.
Hi,
Sorry just getting back to this. The app is now live but the links are still not links. The only way to navigate to them is to highlight all the text and then right click and select search. That is the current work around.
But this way is not suitable for anyone using a tablet or mobile. I have followed all your instructions but still no luck.
The links are being pulled in from a SQL table and displayed in a label. Does this make any differene?
Giving you as much detail as i can to make it a clearer picture for you.
Thank you for all your time so far, much appreciated.
Have you tried the HTMLtext field approach? It it works then you would just set the visbility of the SQL field with the URL info to false and move the HTMLtext field on top of the SQL field.
Hi Ive tried following those steps in the link below but i dont see a HTMLText property.
https://docs.microsoft.com/en-us/powerapps/controls/control-html-text
Do you think you could post an example?
And im currently using the online web app studio incase thats why i cant see HTML text field.
User | Count |
---|---|
122 | |
87 | |
86 | |
75 | |
67 |
User | Count |
---|---|
214 | |
180 | |
137 | |
96 | |
83 |