I am new to Confluence, as might be painfully obvious after you read the rest of this text. After reading much of the documentation from various sources, I am not even sure if I can do what I am asking, but here goes:
What I want to do:
I want to retrieve page data and generate a report from it
Here basically are the test steps I am following:
Here are my questions:
Where does the page data go when you save it?
Can/How do I retrieve it?
I think I understand what you're trying to do, but Confluence templates do not work in the way that I think you're trying to use them.
If I'm understanding correctly you're trying to do something akin to entering data into a spreadsheet / database where the data is held in columns or key/value pairs and you can then manipulate the data in some way - generate a report, draw a chart, etc. Confluence templates don't work like that, they just create a skeleton structure and placeholders and when you enter data into the fields in a page created from a template the page is saved as a whole, each page is just one big chunk of text in a database field.
Is my understanding of what you're trying to do correct? Does my explanation make sense?
So for pages created from Confluence templates the data is stored in the database as one big chunk of text per page and although there are APIs that allow you to retrieve page content programmatically because it's not stored as structured data you would have to retrieve the entire page and post-process it to try and construct the relevant key/value pairs.
Confluence page templates are great for when you want to have multiple Confluence pages displaying the same type of information above several things, e.g. meeting mintues, server inventory, HR new starter checklist, etc. and it doesn't matter that the data is unstructured. For structured data such as surveys, etc. where you want a simple form for capturing the data, but want the data to be structured do that you can manipulate it later you might be better off looking at something like a WuFoo form embedded in a Confluence page - http://blogs.atlassian.com/2009/05/confluence_wufo/
Hope that makes sense? If I've misunderstood post back and I'll try and get a better understanding.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
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...
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!
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