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

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

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!

1 ACCEPTED SOLUTION

Accepted Solutions
VincentVH
Frequent Visitor

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>

View solution in original post

2 REPLIES 2
VincentVH
Frequent Visitor

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?

VincentVH
Frequent Visitor

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>

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,321)