Skip to main content

Notifications

Power Automate - Building Flows
Answered

Create page in OneNote - how to add a HTML link into the page body?

(0) ShareShare
ReportReport
Posted on by 27

Hi,

My flow is working great, including the creation of a OneNote page and adding HTML content to it.

OneNote seems to replace the url in the HREF attribute of the A tag in my html with a backslash.

The link just points to a file on SharePoint and is valid. I have tried several different url scheme formats, but none have made a difference:

Am I missing still another way?

Thx!

  • Verified answer
    VincentVH Profile Picture
    VincentVH 27 on at
    Re: Create page in OneNote - how to add a HTML link into the page body?

    Solved it - inspecting the file in OneNote online revealed that the HREF attribute was constructed as

    http://https://\"(my_url)"

    -> The solution was to construe the html part in Power Automate without any quotes surrounding the HREF attribute, like so:

    <li><a href=https://(my_url)>title</a></li>
  • VincentVH Profile Picture
    VincentVH 27 on at
    Re: Create page in OneNote - how to add a HTML link into the page body?

    I've now spent more than an hour making sure my HTML is valid, and it is: it passes multiple online validators.

    Still, the contents of every HREF attribute is replaced with a simple backslash.

    The OneNote documentation specifies that the A tag is supported, so not sure what is wrong here?

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

End of Year Newsletter…

End of Year Community Newsletter…

Tuesday Tip #12 Start your Super User…

Welcome to a brand new series, Tuesday Tips…

Tuesday Tip #11 New Opportunities…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,609

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,420

Leaderboard