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>

View solution in original post

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (59,035)