Is there a way to import Outlook "Public Folders" into Confluence as pages?

We have over 1000 knowledgebase articles in Outlook public folders that I would like to import into Confluence as pages. I can export as CSV, RTF, etc, but can't figure out how to import those files into Confluence more than one at a time.

Thanks!

2 answers

1 accepted

This widget could not be displayed.

Confluence Command Line Interface should help :). Use --action addPage. It will not help with the formatting though.

Thanks Bob. I am looking through the information for the Interface and having trouble figuring out how to specify the source directory for the addPage action.

--file is the parameter you need to specify. You will need to script it to get all files in a directory for instance. Another option is: --action loadFiles which will work over a directory automatically.

I must be doing something wrong. I was able to add the files as attachments using --action loadFiles, but not create pages from them. I will try converting to HTML first as this was with RTF files.

mime type of text/html or text/plain will get get pages. Extensions like .txt for instance will be added as pages.

It looks like the conversion tool is setting the mime type in a non-standard manner. It can be read by Firefox, but none of the content is added to the pages that are created. Is there an example of this syntax anywhere? I could just have something wrong.

They are all .html I will try converting to .txt to see if it helps.

What are the extensions on the files? It is likely you need to rename them to txt for instance.

Create an issue at https://studio.plugins.atlassian.com/browse/CSOAP and attach a couple of example files (RTF and HTML).

I thought I posted this comment earlier, but I don't see it now. Please create an issue and attach a couple of examples (HTML and text) and I will have a look. Normally you want text if possible as HTML gets wrapped in a HTML tag so it displays, but not good for edit.

This widget could not be displayed.

The command line is adding the files as <directory name> - <Title>.txt with nothing in the content. I am using:

confluence --space "Knowledgebase" --action loadFiles --file "d:\test"

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

557 views 7 6
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