add metadata to a confluence page which is generated from word


We have a bunch of word documents which we would like to convert to wiki pages.
In addition, we need to add some metadata to these pages (such as topic, quality, ...) such that these can be classified in some way. We don't want to use labels, as these are too free form.

Any idea how we can tackle this ?



2 answers

Hi Francis,

For the import you can use the bundled Office Connector plugin, documentation can be found here: . I'm affraid there's no bulk import/API that can be scripted - no experience in this field.

For the classification problem can I suggest to take a look at the Metadata plugin ( which will help to add metadata to the pages like title, creation date etc. It is possible to generate reports based on these values, I also thought they were indexed to enable easy searching.

I'm using the metadata plugin to add metedata in a similar situation, and I am finding it has many useful capabilities (and a few problems, too).

That doesn't solve your other problem: importing content from Word in such a way that the marcos aren't "escaped" ("{color:red}" becomes "\{color:red\}"so that you have to go in to each page and unescape them.

This is a workaround for that:

-- add all the macros you want to use to your Word documents.

-- Save each of your Word documents as a text file.

-- Put the text files in some directory on the Confluence server. (Best to create one especially for them.)

-- Go to the space you want to import the pages into and go to "Space Admin" (assuming you have the permissions to do so).

-- Click "Import Pages from Disk" (last choice in the left menubar).

-- Use this mechanism to import the text files. Each one will become a new Confluence page in the space, with all macros intact.

The problem I'm dealing with now is that these pages are NOT imported as children of the home page -- if you want them to show up in the normal space hierarchy, you have to move them manually. (Of course, maybe someone wiser than I has a workaround for that -- anybody?)

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,593 views 4 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