web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Rich text editor contr...
Power Apps
Answered

Rich text editor control, One Note URL link error issue

(0) ShareShare
ReportReport
Posted on by 158

I have a app with Rich text editor control.
Paste a URL (Not plaintext link) to input erea.
Patch to One Note and Outlook
Outlook's link is correct.
But the link in One Note getting weird:

LinTse_0-1683949860188.png

Is there have any function to use in OnSelect / OnChange property,
check rich text editor input area's URL,
then convert URL to plaintext?

Thank you so much!!

Categories:
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @LinTse ,

     

    I tried with below formula and page content, the URL appended to page body worked fine:

    vjefferni_0-1684121331312.png

    vjefferni_1-1684121341663.png

     

    Could you please share more details about how you were using the OneNote action on the Button?

     

    Best regards,

  • LinTse Profile Picture
    158 on at

    Hi, @v-jefferni ,

    Thank you for your replying.

     

    I deployed the Office Templates, Meeting Capture canvas app.

    Office Templates

    Change the Text Input control to Rich Text Editor control.

    LinTse_0-1684123638643.png

    And every time I paste URL at input area, It convert to hyperlink automatically.

    Then URL in One Note will like below (Red string)

    http://\"https://powerapps.microsoft.com/zh-tw/\"

    I guess the reason is I'm using Rich Text Editor instead Text Input control. (If I paste URL with plaintext it would be fine)

    So, I'm trying to make the URL correct with Rich Text Editor control.

    Thank you again!

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @LinTse ,

     

    Please go to the ConfirmScreen and find its OnVisible property, replace formula that after {Field:"{MeetingNotes}",Data:

    with the following:

    If(CheckOneNote.Value,Last(FirstN(Split(Substitute(RichTextEditor1.HtmlText,Char(34),"'"),"'"),2)).Value,RichTextEditor1.HtmlText)}

    vjefferni_0-1684134883830.png

     

    Best regards,

  • LinTse Profile Picture
    158 on at

    Hi, @v-jefferni 

    Thank you so much for your help!!

    It works!!

  • LinTse Profile Picture
    158 on at

    Hi, @v-jefferni 

    Sorry to bother.

    If the string with the URL, just shows URL.

    Is there possible to shows URL and another string also?

    LinTse_0-1684142617976.png

    Thank you so much.

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @LinTse ,

     

    Eventually, I have made it, please use below formula at the same place instead:

    Substitute(If(CheckOneNote.Value,Substitute(Substitute(Substitute(RichTextEditor1.HtmlText,Char(34),""),"<a","<li><a"),"</a>","</a></li>"),RichTextEditor1.HtmlText), Char(10), "<br/>")

    vjefferni_0-1684215929071.png

     

    Best regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard