Date: Fri, 29 Mar 2024 10:41:08 +0200 (EET) Message-ID: <1022396050.1193.1711701668505@wiki.vertuna.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_1192_2103880183.1711701668495" ------=_Part_1192_2103880183.1711701668495 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This is a demo of a ConfiForms ListView having a ConfiForms Tabl= eView inside and using the field value of the record it is currently showin= g 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 fir= st form, "choices"
Contents
Just a choice |
---|
Apple |
Orange |
Blueberry |
Contents
Choice |
Some text field |
---|---|
A= pple | G= reen |
O= range | A= s you all know |
B= lueberry | S= urprisingly blue |
A= pple | R= ed |
Using ListView and TableView to show the results of BOTH forms , and the= table is filtered by the current record shown in the ListView
Some text field |
---|
G= reen |
R= ed |
Some text field |
---|
A= s you all know |
Some text field |
---|
S= urprisingly blue |
Complete solution
<ac:= structured-macro ac:macro-id=3D"2d401bc9-cb4a-4ea5-b9d8-85b9af68809c" ac:na= me=3D"confiform-entry-filter" ac:schema-version=3D"1"> <ac:parameter ac:name=3D"filterId">ff</ac:parameter> <ac:parameter ac:name=3D"filterFor">list</ac:parameter> <ac:parameter ac:name=3D"formName">choices</ac:parameter> <ac:parameter ac:name=3D"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=3D"2d672f88-bc88-4da1-aab6-998ccc23b5a1= " ac:name=3D"confiform" ac:schema-version=3D"1"> <ac:parameter ac:name=3D"formName">choicesForm</ac:parameter> <ac:parameter ac:name=3D"filterId">ff</ac:parameter> <ac:rich-text-body> <p> <ac:structured-macro ac:macro-id=3D"cc9d932d-67b6-45b4-b35e-17ec8e= b3cf8d" ac:name=3D"confiform-entry-register" ac:schema-version=3D"1"> <ac:parameter ac:name=3D"atlassian-macro-output-type">INLINE&= lt;/ac:parameter> <ac:rich-text-body> <p> </p> </ac:rich-text-body> </ac:structured-macro> <ac:structured-macro ac:macro-id=3D"09294e4d-6a1b-4bc2-b3e5-b04dd0= 8bbc93" ac:name=3D"confiform-field-definition" ac:schema-version=3D"1"> <ac:parameter ac:name=3D"fieldName">mychoice</ac:parameter= > <ac:parameter ac:name=3D"fieldLabel">Just a choice</ac:par= ameter> <ac:parameter ac:name=3D"type">text</ac:parameter> </ac:structured-macro> </p> </ac:rich-text-body> </ac:structured-macro> <p>Contents</p> <ac:structured-macro ac:macro-id=3D"73925f5e-9a54-41e4-a23b-476518544906= " ac:name=3D"confiform-table" ac:schema-version=3D"1"> <ac:parameter ac:name=3D"formName">choicesForm</ac:parameter> <ac:rich-text-body> <p> <ac:structured-macro ac:macro-id=3D"30cd53d1-c4cd-4c47-b623-f0ca61= ad32b4" ac:name=3D"confiform-field" ac:schema-version=3D"1"> <ac:parameter ac:name=3D"fieldName">mychoice</ac:parameter= > </ac:structured-macro> </p> </ac:rich-text-body> </ac:structured-macro> <ac:structured-macro ac:macro-id=3D"33b135df-6a10-455e-8523-3d5ecb5a9ba0= " ac:name=3D"confiform" ac:schema-version=3D"1"> <ac:parameter ac:name=3D"formName">usingForm</ac:parameter> <ac:rich-text-body> <p> <ac:structured-macro ac:macro-id=3D"74d3091d-85b9-4559-8e58-a0b029= e1d962" ac:name=3D"confiform-entry-register" ac:schema-version=3D"1"> <ac:parameter ac:name=3D"atlassian-macro-output-type">INLINE&= lt;/ac:parameter> <ac:rich-text-body> <p> </p> </ac:rich-text-body> </ac:structured-macro> <ac:structured-macro ac:macro-id=3D"01669bf7-4121-4938-ba83-bc3e9a= db2033" ac:name=3D"confiform-field-definition" ac:schema-version=3D"1"> <ac:parameter ac:name=3D"fieldName">choice1</ac:parameter&= gt; <ac:parameter ac:name=3D"fieldLabel">Choice</ac:parameter&= gt; <ac:parameter ac:name=3D"values">[7045459|choicesForm|mychoic= e|true||]</ac:parameter> <ac:parameter ac:name=3D"type">smartselect</ac:parameter&g= t; </ac:structured-macro> </p> <p> <ac:structured-macro ac:macro-id=3D"d5708649-b652-4652-8791-41b645= 5aa9a0" ac:name=3D"confiform-field-definition" ac:schema-version=3D"1"> <ac:parameter ac:name=3D"fieldName">tf</ac:parameter> <ac:parameter ac:name=3D"fieldLabel">Some text field</ac:p= arameter> <ac:parameter ac:name=3D"type">text</ac:parameter> </ac:structured-macro> </p> </ac:rich-text-body> </ac:structured-macro> <p>Contents</p> <ac:structured-macro ac:macro-id=3D"4b1b0699-aeb3-4d6a-9e6c-9bffa9a5b706= " ac:name=3D"confiform-table" ac:schema-version=3D"1"> <ac:parameter ac:name=3D"formName">usingForm</ac:parameter> <ac:rich-text-body> <p> <ac:structured-macro ac:macro-id=3D"5d87ebd0-2699-40fc-81d6-8c99bc= 1e40a2" ac:name=3D"confiform-field" ac:schema-version=3D"1"> <ac:parameter ac:name=3D"fieldName">choice1</ac:parameter&= gt; </ac:structured-macro> </p> <p> <ac:structured-macro ac:macro-id=3D"56d5c6d6-7337-430f-87f8-7d084e= cb09a8" ac:name=3D"confiform-field" ac:schema-version=3D"1"> <ac:parameter ac:name=3D"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=3D"9decad6e-6c6f-4ad7-92f4-7eb376b2b2fd= " ac:name=3D"confiform-list" ac:schema-version=3D"1"> <ac:parameter ac:name=3D"formName">choicesForm</ac:parameter> <ac:rich-text-body> <h1> <ac:structured-macro ac:macro-id=3D"f46b2eaa-0d9e-4fa6-bcfd-42fcc1= 5cd319" ac:name=3D"confiform-field" ac:schema-version=3D"1"> <ac:parameter ac:name=3D"fieldName">mychoice</ac:parameter= > </ac:structured-macro> </h1> <ac:structured-macro ac:macro-id=3D"14141106-af6f-42ab-8968-3d6ac44a= c775" ac:name=3D"confiform-table" ac:schema-version=3D"1"> <ac:parameter ac:name=3D"filter">choice1.mychoice:[entry.mychoi= ce]</ac:parameter> <ac:parameter ac:name=3D"formName">usingForm</ac:parameter&g= t; <ac:rich-text-body> <p> <ac:structured-macro ac:macro-id=3D"5022ff30-5f18-47fe-88f3-b6= fe47826c81" ac:name=3D"confiform-field" ac:schema-version=3D"1"> <ac:parameter ac:name=3D"fieldName">tf</ac:parameter&g= t; </ac:structured-macro> </p> </ac:rich-text-body> </ac:structured-macro> </ac:rich-text-body> </ac:structured-macro>