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 Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,343)