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

Powerapps, hyperlinks and plaintext

HI

I've got a multiline sharepoint column that I'm trying to interact with in powerapps that is intended to hold hyperlinks. As I discovered, the basic datakeyvalue text controls display all this html rubbish when hyperlinks are entered. I know I can use a rich text editor instead but I hate the lack of easy control you have on that.

I found a partial solution in changing the default display on the datakeyvalue to Plaintext(Parent.Default)

but that strips out the colon in https://etc as well, breaking the hyperlink.

Any ideas?

1 ACCEPTED SOLUTION

Accepted Solutions
v-xiaochen-msft
Community Support
Community Support

Hi @Lee123 ,

 

Could you tell me:

Could you provide sample text in your multi-line text column?

Do you want to extract the text in the html tag without breaking the hyperlink?

 

You could try the formula on HtmlText property of Html Text control.

"<a href=""https://www.google.com"">Google<a/>
<p>We've&nbsp;done an unusually &quot;deep&quot; globalization and localization.<p> "

v-xiaochen-msft_0-1612938267109.png

v-xiaochen-msft_1-1612938282464.png

 

Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.

 

View solution in original post

2 REPLIES 2
v-xiaochen-msft
Community Support
Community Support

Hi @Lee123 ,

 

Could you tell me:

Could you provide sample text in your multi-line text column?

Do you want to extract the text in the html tag without breaking the hyperlink?

 

You could try the formula on HtmlText property of Html Text control.

"<a href=""https://www.google.com"">Google<a/>
<p>We've&nbsp;done an unusually &quot;deep&quot; globalization and localization.<p> "

v-xiaochen-msft_0-1612938267109.png

v-xiaochen-msft_1-1612938282464.png

 

Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.

 

respinosa
Frequent Visitor

Is there why you couldn't place the hyperlink in a separate field, and use the Hyperlink data type for that field?

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,924)