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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,544 views 25 14
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