Is it possible to use Confluence Macros in the Word origin file?

This question is in reference to Atlassian Documentation: Importing a Word Document into Confluence

In my originating Word document I want to use (somehow) the page properties plugin. My expectation is surely not that it works in Word but it should work in Conluence after having imported the Word file.

Tanks to Rob's answer I can refine my question: I do not expect it to work in in the Word document. Additionally I don't want to attach a Word file. Instead I want to import one.

The refined question is: can I add wiki markup in the Word document, so that after the import the confluence page displays the macro corretly?

Regards, Ben

2 answers

Hi Ben,

You can't. 

The Page Properties Report looks for Confluence pages with a specific label (or combination of labels) and when it finds a matching page it takes the information from the Page Properties macro on that page. It won't look inside a Word document for a macro because a) it wouldn't make sense to look in a Microsoft file for an Atlassian macro, and b) that's not how the macro (or any macro) works.

Hi Rob,

thank you for your answer. Unfortunately that is not what I meant. As I posted already in my question I do not expect it to work in in the Word document. Additionally I don't want to attach a Word file. Instead I want to import one.

The question is: can I add wiki markup in the Word document, so that after the import the confluence page displays the macro corretly?

 

Regards, Ben

Hi Ben,

Thanks for the clarification.  Confluence changes the wiki markup into rich text format as you type, so whilst you can type markup directly, I don't know what would happen if you import it as text.  At the risk of asking a silly question, have you tried writing a line of markup and importing it into a page to find out what happens?

Davin Studer Community Champion Feb 22, 2017

It would not render your wiki markup. It would make it plain text. Won't work.

Thanks Davin.

Ben - It looks like it can't be done I'm afraid.

Conclusion: there is no possibility to have wiki markup imported from a word document so that it is functional in confluence.

Thanks for all that contributed!

Regards, Ben

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi 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...

874 views 21 10
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