Losing document structure when importing Word document into multiple pages
Asked by John Alton:

I'm importing a 70-some page Word (.docx) file into Confluence (v4.1). Goal is to import the information, create new pages based on headings. That works.

Also need to maintain the organizational hierarchy / structure. That fails.

What happens: The import preview shows the correct hierarchical content structure. However, after the file is imported, the pages created are reorganized alphabetically.

We then need to drag-n-drop all pages created (\~70) to restore the content hierarchical structure. Major pain.

Am I missing a configurable preference during import? Or is this a known issue?

Anyone have information to share?

P.S. Please don't advise using the Office Word Doc macro --- we're trying to move our intranet to wiki-friendly formats, where all the right users can easily view and edit content in native wiki page format.

Thanks!

John


Answers:
author: Nils Bier _K15t_
body: Hi everybody,

the issue is reported here: <https://jira.atlassian.com/browse/OFFCONN-53>

As a workaround you could try the following:

1. Create a new space  
2. Create a new page ("Parent") with two child pages ("Child1" and "Child2")  
3. Click "Pages" to view all pages in the space.  
4. On the Pages view click "Browse and reorder all pages" (in the top right corner of the screen)  
5. Drag and drop "Child2" before "Child2" (that deactivates the alphabetical order.  
6. IMPORTANT: Click the "Parent" page and on this page click Tools \> Import Word document  
7. Select your file and activate the option "Replace Parent".  
8. Import the Word file  
9. Delete the pages from step 2.

As the alphabetically sort mechanism is deactivated due to step 5, the pages should be sorted correctly.

Cheers,  
Nils

comments: author: Steffen Heller
body: Hi Nils,

I just found out what you added at [](https://jira.atlassian.com/browse/OFFCONN-53)<https://jira.atlassian.com/browse/OFFCONN-53>  
-\> it only works for heading levels 1

What a pity!   
This workaround is so cool! It would have deserved to be completely perfect ;-(


author: Nils Bier _K15t_
body: Hi Steffen,

jap that unfortunately only works for heading level 1..  
It's always hard to find perfect workarounds ;-)

Cheers,  
Nils


author: Scott Ortel
body: I'm having the same problem. Did anyone enter an enhancement request?


author: Steffen Heller
body: I am having the same problem and no solution.

comments: author: Karena Bailey
body: I am having the issue of importing training documents with step-by-step numbering and having the numbering transformed into all 1's once imported into Confluence. Still looking for a solution!


author: Scott Ortel
body: I'm having the same problem. Did anyone enter an enhancement request?


author: John Alton
body: Should I submit this as a tech support question or enhancement request?

comments: author: Steffen Heller
body: I think that should fall under support. It would be weird to call it an enhancement to not destroy the document structure.


author: John Alton
body: Should I submit this as a tech support question or enhancement request?


author: RakefetZ
body: Is there a solution to this issue?

comments: author: John Alton
body: I haven't seen one here.


Tags: confluence-administration

hierarchy

import