In powerapps, how to refresh the url in the sharepoint list to display it as a word like "click here", and click the word to jump to the url instead of directly displaying it as a url?
You can accomplish this by using a label and calling the Launch function when the user clicks the label.
Assuming that you're working with a field in a form, the first step is to click the 'Advanced' section and to click the unlock button.
Next, insert a label and set the text to 'Click here'. Set the OnSelect property to:
You would need to replace URL with the name of your SharePoint field.
Finally, set the color and hover colors to Color.Blue (or some other color) to give the label the appearance of a hyperlink.
Could you please share a bit more about your scenario?
Do you want to display a url text (from a SP list) as a Hyperlink (as a word like "Click here") within PowerApps?
I agree with @timl's thought almost, I think the Launch function could achieve your needs.
I have made a test on my side, please take a try with the following workaround:
I created a SP list on my side, the data structure as below:
Note: The URL column is a Single line of text type column, which is used to store the URL link.
App's configuration as below:
Within the Display form (in Detail screen), unlock the URL Data card, set the Text property of the Label control (DataCardValue) within the URL Data card to following:
"Click Here" /* In default, here would be set to Parent.Default */
Set the OnSelect property of the Label control to following formula:
Launch(ThisItem.URL) /* Or, you could also type Launch(Parent.Default) formula */
Set the HoverColor property of the Label control to following:
RGBA( 255, 20, 147, 1 )
Set the DisplayMode property of the Label control to following formula:
The GIF screenshot as below:
More details about the Launch function in PowerApps, please check the following article:
Check out new user group experience and if you are a leader please create your group
Check out how to claim yours today!
Test your skills now with the Cloud Skill Challenge.