TEST : Dynamic Filters with ListView and TableView

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

choice #1
another choice
one
test
test 2
Risk 1
1
ufo
1
uiaeuiaeuiae
qt
sea
Test1
Some choice
Apple
Banana
a
philly
philly
cvv
k
sea
test
anothe
choice
test 13. fr
Apple
test 2
Green
ABC
Rx01
12312312
banana
l
choice
wombat
asdf
mychoice
ufo
bob
g
Testing
ukhj
re thdfh
wwwwwwwwww
nkln
jhhjm
ufo
1
a
test
myStyle
Ris
rtsr
one
5
DJTest
NEW
www
msurge
hellcat
test
cxvcxvcx
test123
hh
Essen
www
Toto1
Risk 1
222
test
test
one
a
1
1
zd
c
nnn
Choice 2
Anas
uhhhh
654
654645
ufo
dfdg
1
2
100%
Risk 1
1
x
Fobrokel1
one
aerwhgew
MYLIST
NewTable
demoteast
dsadsa
apples
test
test
gyg
gyg
123
daFD
bezeichnung1
khjyvkb lknl/
1
one
one
one
test
using
power
Meine WAhl
Q
mr
choices
one
12
ggg

Contents

Choice

Some text field

choice #1 this belong to choice 1
another choice someone using another choice
choice #1 me pick choice #1
test 2 test 2 text
Risk 1 Some nice text
choice #1 dkljasjdkhads
one 245ghh
1 uiae
Test1 Halllo
bc406565-e871-4374-9103-0f41dcd16a2e=another choice jk
Apple Orange
Risk 1 kmlkmlkm
Banana Ripe
test
another choice eeeeeeee
philly phillytext
test 2
test 2
another choice
choice #1 dsds
choice #1 asdfadsfadfadf
choice #1
choice #1 test
test 13. fr vjvvhvhvhvhvhvhvhvhv
Apple Juice
Green Money
ABC Alphabet
choice #1 31222222222222222222222222222222222222222
Apple apple apple
wombat is chubby
one pizza
Test1
choice #1 bloob
choice #1
choice #1 wert
bob bob
Risk 1 tfhiziiiiiiiiiiiiiiiiiii
Banana abc
wwwwwwwwww dddddddd
anothe xvxc
another choice kşm
choice #1
sea
Apple ddd
myStyle mycontentsGoHere
Ris ök<yjxökj
choice #1 dfdfsfs
DJTest Test1
choice #1 fghf jk
choice
choice
choice
msurge mike test
hellcat looks great
another choice Adding to see if it comes----
Apple
test123
222 222
1
Choice 2 C
Anas aniani
uhhhh what?
choice #1
100% fire
uhhhh w
Fobrokel1 Fobrokel2
Risk 1 REST
NewTable one item for the new table
NewTable A second item for the new table
bezeichnung1 tralala
Some choice
power in me
uiaeuiaeuiae
another choice hi s
Meine WAhl Text dazu
Apple
ggg

 

Using ListView and TableView to show the results of BOTH forms , and the table is filtered by the current record shown in the ListView

 

choice #1

Some text field

this belong to choice 1
me pick choice #1
dkljasjdkhads
dsds
asdfadsfadfadf
test
31222222222222222222222222222222222222222
bloob
wert
dfdfsfs
fghf jk

another choice

Some text field

someone using another choice
eeeeeeee
kşm
Adding to see if it comes----
hi s

one

Some text field

245ghh
pizza

test

Some text field

test 2

Some text field

test 2 text

Risk 1

Some text field

Some nice text
kmlkmlkm
tfhiziiiiiiiiiiiiiiiiiii
REST

1

Some text field

uiae

ufo

1

Some text field

uiae

uiaeuiaeuiae

Some text field

Some text field

jk
choice
choice
choice
ggg

qt

sea

Some text field

Test1

Some text field

Halllo

Some choice

Some text field

Apple

Some text field

Orange
Juice
apple apple
ddd

Banana

Some text field

Ripe
abc

a

philly

Some text field

phillytext

philly

Some text field

phillytext

cvv

k

sea

Some text field

test

Some text field

anothe

Some text field

xvxc

choice

test 13. fr

Some text field

vjvvhvhvhvhvhvhvhvhv

Apple

Some text field

Orange
Juice
apple apple
ddd

test 2

Some text field

test 2 text

Green

Some text field

Money

ABC

Some text field

Alphabet

Rx01

12312312

banana

Some text field

Ripe
abc

l

choice

wombat

Some text field

is chubby

asdf

mychoice

ufo

bob

Some text field

bob

g

Testing

ukhj

re thdfh

wwwwwwwwww

Some text field

dddddddd

nkln

jhhjm

ufo

1

Some text field

uiae

a

test

Some text field

myStyle

Some text field

mycontentsGoHere

Ris

Some text field

ök<yjxökj

rtsr

one

Some text field

245ghh
pizza

5

DJTest

Some text field

Test1

NEW

www

msurge

Some text field

mike test

hellcat

Some text field

looks great

Some text field

jk
choice
choice
choice
ggg

test

Some text field

cxvcxvcx

test123

Some text field

hh

Essen

www

Toto1

Risk 1

Some text field

Some nice text
kmlkmlkm
tfhiziiiiiiiiiiiiiiiiiii
REST

222

Some text field

222

test

Some text field

test

Some text field

one

Some text field

245ghh
pizza

a

1

Some text field

uiae

1

Some text field

uiae

zd

c

nnn

Choice 2

Some text field

C

Anas

Some text field

aniani

uhhhh

Some text field

what?
w

654

654645

ufo

dfdg

1

Some text field

uiae

2

100%

Some text field

fire

Risk 1

Some text field

Some nice text
kmlkmlkm
tfhiziiiiiiiiiiiiiiiiiii
REST

1

Some text field

uiae

x

Fobrokel1

Some text field

Fobrokel2

one

Some text field

245ghh
pizza

aerwhgew

MYLIST

NewTable

Some text field

one item for the new table
A second item for the new table

demoteast

dsadsa

apples

test

Some text field

test

Some text field

gyg

gyg

123

daFD

bezeichnung1

Some text field

tralala

khjyvkb lknl/

1

Some text field

uiae

one

Some text field

245ghh
pizza

one

Some text field

245ghh
pizza

one

Some text field

245ghh
pizza

test

Some text field

using

power

Some text field

in me

Meine WAhl

Some text field

Text dazu

Q

mr

choices

one

Some text field

245ghh
pizza

12

ggg

 

Complete solution

<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: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>