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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,167 views 2 13
Read article

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