Playground and DEMO space
This is a playground and demo space for ConfiForms and ConfiDoc addons developed and supported by Vertuna LLC
Most pages provide a storage format for the demo, so you can use the free add-on from Atlassian Confluence Source Editor (or through the bundled in ConfiForms storage editor) to import this configuration into your Confluence and see it in action
To import examples from the storage format on Confluence Cloud please see this page
Please note, all the examples here are provided without any obligation and may or may not be incomplete or may have bugs, and we provide NO SUPPORT for these examples and demos.
This is a demo of a ConfiForms ListView having a ConfiForms TableView inside and using the field value of the record it is currently showing to show the related data from the other form in a TableView
2 forms - "choices" and "using"
Field in "using" form is a smart dropdown referencing choices from a first form, "choices"
Contents
Just a choice |
---|
Apple |
Orange |
Blueberry |
Contents
Choice |
Some text field |
---|---|
Apple | Green |
Orange | As you all know |
Blueberry | Surprisingly blue |
Apple | Red |
Using ListView and TableView to show the results of BOTH forms , and the table is filtered by the current record shown in the ListView
Apple
Some text field |
---|
Green |
Red |
Orange
Some text field |
---|
As you all know |
Blueberry
Some text field |
---|
Surprisingly blue |
Complete solution
<ac:structured-macro ac:macro-id="2d401bc9-cb4a-4ea5-b9d8-85b9af68809c" ac:name="confiform-entry-filter" ac:schema-version="1"> <ac:parameter ac:name="filterId">ff</ac:parameter> <ac:parameter ac:name="filterFor">list</ac:parameter> <ac:parameter ac:name="formName">choices</ac:parameter> <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter> <ac:rich-text-body> <p> <br/> </p> </ac:rich-text-body> </ac:structured-macro> <ac:structured-macro ac:macro-id="2d672f88-bc88-4da1-aab6-998ccc23b5a1" ac:name="confiform" ac:schema-version="1"> <ac:parameter ac:name="formName">choicesForm</ac:parameter> <ac:parameter ac:name="filterId">ff</ac:parameter> <ac:rich-text-body> <p> <ac:structured-macro ac:macro-id="cc9d932d-67b6-45b4-b35e-17ec8eb3cf8d" ac:name="confiform-entry-register" ac:schema-version="1"> <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter> <ac:rich-text-body> <p> </p> </ac:rich-text-body> </ac:structured-macro> <ac:structured-macro ac:macro-id="09294e4d-6a1b-4bc2-b3e5-b04dd08bbc93" ac:name="confiform-field-definition" ac:schema-version="1"> <ac:parameter ac:name="fieldName">mychoice</ac:parameter> <ac:parameter ac:name="fieldLabel">Just a choice</ac:parameter> <ac:parameter ac:name="type">text</ac:parameter> </ac:structured-macro> </p> </ac:rich-text-body> </ac:structured-macro> <p>Contents</p> <ac:structured-macro ac:macro-id="73925f5e-9a54-41e4-a23b-476518544906" ac:name="confiform-table" ac:schema-version="1"> <ac:parameter ac:name="formName">choicesForm</ac:parameter> <ac:rich-text-body> <p> <ac:structured-macro ac:macro-id="30cd53d1-c4cd-4c47-b623-f0ca61ad32b4" ac:name="confiform-field" ac:schema-version="1"> <ac:parameter ac:name="fieldName">mychoice</ac:parameter> </ac:structured-macro> </p> </ac:rich-text-body> </ac:structured-macro> <ac:structured-macro ac:macro-id="33b135df-6a10-455e-8523-3d5ecb5a9ba0" ac:name="confiform" ac:schema-version="1"> <ac:parameter ac:name="formName">usingForm</ac:parameter> <ac:rich-text-body> <p> <ac:structured-macro ac:macro-id="74d3091d-85b9-4559-8e58-a0b029e1d962" ac:name="confiform-entry-register" ac:schema-version="1"> <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter> <ac:rich-text-body> <p> </p> </ac:rich-text-body> </ac:structured-macro> <ac:structured-macro ac:macro-id="01669bf7-4121-4938-ba83-bc3e9adb2033" ac:name="confiform-field-definition" ac:schema-version="1"> <ac:parameter ac:name="fieldName">choice1</ac:parameter> <ac:parameter ac:name="fieldLabel">Choice</ac:parameter> <ac:parameter ac:name="values">[7045459|choicesForm|mychoice|true||]</ac:parameter> <ac:parameter ac:name="type">smartselect</ac:parameter> </ac:structured-macro> </p> <p> <ac:structured-macro ac:macro-id="d5708649-b652-4652-8791-41b6455aa9a0" ac:name="confiform-field-definition" ac:schema-version="1"> <ac:parameter ac:name="fieldName">tf</ac:parameter> <ac:parameter ac:name="fieldLabel">Some text field</ac:parameter> <ac:parameter ac:name="type">text</ac:parameter> </ac:structured-macro> </p> </ac:rich-text-body> </ac:structured-macro> <p>Contents</p> <ac:structured-macro ac:macro-id="4b1b0699-aeb3-4d6a-9e6c-9bffa9a5b706" ac:name="confiform-table" ac:schema-version="1"> <ac:parameter ac:name="formName">usingForm</ac:parameter> <ac:rich-text-body> <p> <ac:structured-macro ac:macro-id="5d87ebd0-2699-40fc-81d6-8c99bc1e40a2" ac:name="confiform-field" ac:schema-version="1"> <ac:parameter ac:name="fieldName">choice1</ac:parameter> </ac:structured-macro> </p> <p> <ac:structured-macro ac:macro-id="56d5c6d6-7337-430f-87f8-7d084ecb09a8" ac:name="confiform-field" ac:schema-version="1"> <ac:parameter ac:name="fieldName">tf</ac:parameter> </ac:structured-macro> </p> </ac:rich-text-body> </ac:structured-macro> <p> </p> <p>Using ListView and TableView</p> <ac:structured-macro ac:macro-id="9decad6e-6c6f-4ad7-92f4-7eb376b2b2fd" ac:name="confiform-list" ac:schema-version="1"> <ac:parameter ac:name="formName">choicesForm</ac:parameter> <ac:rich-text-body> <h1> <ac:structured-macro ac:macro-id="f46b2eaa-0d9e-4fa6-bcfd-42fcc15cd319" ac:name="confiform-field" ac:schema-version="1"> <ac:parameter ac:name="fieldName">mychoice</ac:parameter> </ac:structured-macro> </h1> <ac:structured-macro ac:macro-id="14141106-af6f-42ab-8968-3d6ac44ac775" ac:name="confiform-table" ac:schema-version="1"> <ac:parameter ac:name="filter">choice1.mychoice:[entry.mychoice]</ac:parameter> <ac:parameter ac:name="formName">usingForm</ac:parameter> <ac:rich-text-body> <p> <ac:structured-macro ac:macro-id="5022ff30-5f18-47fe-88f3-b6fe47826c81" ac:name="confiform-field" ac:schema-version="1"> <ac:parameter ac:name="fieldName">tf</ac:parameter> </ac:structured-macro> </p> </ac:rich-text-body> </ac:structured-macro> </ac:rich-text-body> </ac:structured-macro>