I am using Confluence server and I am looking for a way to include content from one page into another page dynamically.
I want to create a page A from a template which includes a list or dropdown with dynamic content. I want to maintain this dynamic content in a table on another page M. When I create multiple pages (A, B, C) from my template and add or remove a table row of the table on page M, all created pages (A, B ,C) shall be updated. Ideally the template works like a form where the user selects the desired values in a list and is not bothered with the details of the page construction. Additionally the pages A, b and C shall react to changes of the template. When I change the template, I would like to have these changes reflected on the pages A, B and C.
I create a page "Billing Software" as an application information poster using a template. This template includes an area where I have to say something about the data objects which are used by this application. The data objects are given in a multi-select/list/dropdown and I can choose which objects are used.
The items in the list are coming from the page "Data Objects" in the same space where I maintain a table which describes all data objects in detail. I have a list item in my template per table row on page "Data Objects". When I add a table row for the data object "Invoice" the object becomes available in the list of data objects on page "Billing Software".
Does anybody know how to achieve this in Confluence? Of course I would like to have a solution which is later portable to the cloud, so the needed addons should be available in both worlds. I am happy with every solution idea, so please just feel free to share your toughts :)
Update: added the forms requirement and the dynamic template requirement
I was able to create a fitting solution using the ConfiForms addon. It was quite easy after a small learning phase and the devs were relly helpful. Thanks again to @Alex Medved _ConfiForms_ for your patience!
With ConfiForms I was able to create confluence pages and jira issues as needed, copy information from confluence pages to jira issues and vice versa, create a maintainable storage design for my data, create all needed forms for data input and present all this in a modern UI with a lot of possibilities.
It now integrates with the Scaffolding Forms and Templates addon and now I am also able to use the LiveTemplate feature with ConfiForms.
Thanks for your suggestions :)
Hi @Jens Jakobi ,
We can suggest using our Table Filter and Charts for Confluence app.
You can reuse your big M-page table with the help of the Table Excerpt/Table Excerpt Include macros and match your mini tables from the A, B, C pages by the common field to get its description automatically with the Table Transformer macro.
The first upper part of the screenshot goes to your template for A, B, C pages, the second part (the Table Excerpt macro) is an example of the M-page.
So, when you create a new page, you fill in its mini-table and automatically lookup it with the reused table from the M-page by the common column:
With the help of the Table Filter macro you can get rid of the empty rows:
The second option is to use the Handy Macros for Confluence app and its Handy Statuses that allow you to set a predefined list of items (they can stand for your unique 'Data Objects') and change them in the view page mode:
The M-page table with a thorough item description should be kept on its own page. If a new 'Data Object' appears, its name should be added to the Handy Status item list.
Maybe you'll get some ideas from this answer.
Also note that the apps support both Server/DC and Cloud.
we already have Table Filter and Charts for Confluence licensed, so it was easy to test your first solution.
With this addon I can achieve what I described, but it showed me, that my initial description was missing a part. I was able to create exactly what you suggested. My missing requirement here was, that I like would this to work like a form. When a user creates a page from the template, the template looks like technical template (not understandable for a lot of my users). It would be better if this would be like a form, where the user has to put in the information, click on a submit or save button and as a result the user gets a new page based on their inputs. In this form there should be the dynamic list which is based on the M-page.
So your first suggestion works, but my request was missing some information.
Your second suggestion seems to be a nice and easy way to change information on the page, but it seems to rely on static lists I have to maintain in the administration part of confluence and are not transparent to the user. Again I was missing some information. I would like the M-page to serve as a central source for my data objects and be accessible for all users. Here I describe all my objects and everybody cann see what object has which properties.
A combination of both would be nice though... where I can put the "table transformer macro" into a "handy select macro" or something like that, which works like your "handy status macro". I click on the value and can select on or multiple values to be shown.
I updated my question and added the requirement about the forms.
Unfortunately, you can't combine Handy Macros with the first option - if you change the status from the view mode in the combined table, it will be changed in both source tables.
Maybe you should look for the ConfiForms app. It seems to me that they have dynamic data forms. Besides this app is fully compatible with the Table Filter and Charts for Confluence app, it recognizes ConfiForms' macros as standard Confluence tables.
I saw you liking the answers, so I thought I will ask you here directly :)
I installed ConfiForms and I was partly able to achieve what I want. I have a page for my data objects, which looks like this:
The page includes a form named myDataObjects. This page looks like this in view mode:
The Page "Datenobjekte" works fine. I also have a template which looks like this:
The page includes two forms, appcommoninfo and appdatainfo. In the ConfiForms Form Field Definition I used the Smart Checkbox and chose my Datenobjekte-page to be the source.
The created pages look like this in view mode:
Now I have some questions:
Thank you and best regards,
Better would be if you open a support ticket with us, but we can continue here as well...
1. This is a create dialog, but it certainly can be used as an edit (as you can set up the rules to lookup and set the values). But why not just to make an editable ConfiForms view there? See https://wiki.vertuna.com/display/CONFIFORMS/Multiple+ways+to+show+your+form+data+in+Confluence+with+ConfiForms
And yes, you can set up the rule to allow only ONE record per form. That is done by adding ConfiForms Field Definition Rules macro with validation across dataset selected as an action (condition would be something like _count:>1)
2. Not quite sure about this question. I dont think I understand it. I just dont get you data model
Feel free to open support ticket with us and provide the storage formats for the page with form's definition
With Scaffolding, you can create a template form that contains a dropdown list. With the Live Templates feature, all the pages that use the template will be updated when there's a change in the original template.
Feel free to contact us and book a demo from us!
thanks for your reply. We have Scaffolding Forms and Templates licensed and here I am missing the possibility to easily get data from a page A and display it in a form as a list to chose from.
I would like to use your addon with ConfiForms, but it seems those two are not compatible to each other.
Go “behind the screen” to meet some of the Confluence Cloud team. In this video series, we tackle some of the hard-hitting questions you never knew you wanted the answer to! Meet some of the ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events