It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
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!
Confluence Command Line Interface should help :). Use --action addPage. It will not help with the formatting though.
--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.
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.
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.
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"
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.
Read moreHi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.