Import from OneNotes

Hello,

we have big db "step-by-step" help in OneNote with many pictures. We will all this helps give to Confluence. I would like ask you: what are the best practise steps? Now we go picture after picture and make copy-paste...Its very slow and very laborious.

Thank you for answZdenek

1 answer

1 vote

I'd suggest you try to export that information into a format that Confluence can import.

The best candidate could be using Word documents...

thank you for help. Unfortunately this doesn´t work (same thing). Zdenek

You've got two problems here - OneNote does not have a useful export and Confluence does not have a batch import.  You can get around the second one with some scripting, pushing data in over REST or using things like the Confluence CLI add-on, but you need to export the data into a format that can support those.

Thumbs up for this approach. I'm in the process of building out a command line utility that uses the Microsoft Office Interop for OneNote to pipe documentation into Confluence over the REST API. The GetContent methods of that interop output XML strings which look very parseable in the cherry picked cases I've created thus far.

Confluence has great docs on using the REST API:

https://developers.atlassian.com/server/confluence/confluence-rest-api-examples/

Using the OneNote Interop is a bit harder to find, but I found this answer on stackoverflow was enough to get me going:

https://stackoverflow.com/questions/27294510/how-to-write-to-a-onenote-2013-page-using-c-sharp-and-the-onenote-interop

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

867 views 23 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you