You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I imported several pages from a Word document, then I added a tag/label to those pages. I add a "Page properties report" macro with that same tag as a Label to display a list of these pages on another page. The imported pages are not listed after refresh. Only the pages I create directly in Confluence with this tag/label show up in the list generated by the "Page properties report" macro. Both the imported pages and the manually created pages are at the same location. How can I fix this?
Update: Trying a few things... if I create a copy of any of the pages imported from Word, still they don't show up in the list. If I create a copy of any page created manually, they do show in the list (all with the same labels).
Update 2: The manually created pages contain the Page Properties macro, while the imported pages just contain a table that looks exactly like the Page Properties. So that explains it. I guess I'm using the wrong macro to query for a list of pages and display their properites? Or is there a way to convert the tables in the Word imported pages to Properties?
Hi @Mark Timperley ,
the Page Properties Report Macro indeed needs both elements to display data from pages: the label and the Page Properties Macro wrapping the table with the data.
Since there's no obvious way to implement the Page Properties Macro in MS Word, you'd have to add it manually after the import.
Out of curiosity, if the table data is to be used later in the page properties report, why isn't the page content created in Confluence in the first place?
Kind regards,
Nicolai
Thank you for the answer.
To answer your question: The word document contains data tables exported from another application. Each heading section of the word document contains a table (100's of sections, one table per section). We import to Confluence since we want to use it to formalize/automate/manage the process of updating the data in the tables (doing that in a word document is unworkable).
However, the data starts out in a custom xml file. The only reason it is in a word document is for importing into Confluence (had to write a script to extract the data and save as markdown, then converted markdown to word, omg...). Is there a way to import directly from an xml file, and also set a Page Properties Macro for each table?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is beyond my knowledge and experience, to be honest.
However, if I were researching for this use case, I would take a slightly different approach: "How can I automatically update my table data on an existing Confluence page through an external data source?" (You'd spare the aspect of setting a Confluence macro outside Confluence, which might be quite tricky.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks again for the suggestion. I'm definitely open to other ways to solve this problem. Also looking into REST API (which I think is your suggestion here), xml backup/restore and 3rd party plugins. However, REST API access requires admin support I don't have at the moment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mark Timperley, and welcome to the community,
You have to make sure to add the table inside a page property macro. Otherwise, it does not work. And you cannot automatically convert it. The table was imported correctly but the macro has to be added as well.
Best, Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mark Timperley ,
welcome to the Atlassian community!
If you are on a server/data center instance, please try to reindex your contents through the following operation https://confluence.atlassian.com/doc/content-index-administration-148844.html
Please let me know.
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.