Page tree
Skip to end of metadata
Go to start of metadata

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 to import this configuration into your Confluence and see it in action


We have a form with 2 fields to hold the "branch" and a status with checkbox (field name: yesno)

 

Listing all the records

Branch

Yes or no

Branch 1 yes
Branch 2 no
Branch 3 no
Branch 1 yes
Branch 2 yes
Branch 1 no
Branch 1 no
Branch 1 yes
Branch 1 yes
Branch 1 yes
Branch 1 yes

 

Listing only the ones with not OK answers

Branch

Yes or no

Branch 2 no
Branch 3 no
Branch 1 no
Branch 1 no

 

Using filter by branch and showing only not OK records

Storage format

<ac:structured-macro ac:macro-id="fcd1c7da-0c29-49b0-8c06-c4f64b4a0205" ac:name="confiform" ac:schema-version="1">
  <ac:parameter ac:name="formName">f1</ac:parameter>
  <ac:rich-text-body>
    <ac:structured-macro ac:macro-id="2f94b633-e2c6-4cde-8b1d-5c45f09b6fc0" ac:name="confiform-entry-register" ac:schema-version="1">
      <ac:rich-text-body>
        <p> </p>
      </ac:rich-text-body>
    </ac:structured-macro>
    <p>
      <ac:structured-macro ac:macro-id="df8d8b80-b8e0-42d8-8b79-620af04ea254" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">branch</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Branch</ac:parameter>
        <ac:parameter ac:name="values">false[1=Branch 1|2=Branch 2|3=Branch 3|]</ac:parameter>
        <ac:parameter ac:name="type">select</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="76b3b068-23ee-48a9-91a5-c155d7cc58b9" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">yesno</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Yes or no</ac:parameter>
        <ac:parameter ac:name="values">yes</ac:parameter>
        <ac:parameter ac:name="extras">no</ac:parameter>
        <ac:parameter ac:name="fieldDescription">Check the field when the parameters are OK</ac:parameter>
        <ac:parameter ac:name="type">checkbox</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>
<p> </p>
<p>Listing all the records</p>
<ac:structured-macro ac:macro-id="c2bad637-ba5b-415f-bbd8-a74abb2c161f" ac:name="confiform-table" ac:schema-version="1">
  <ac:parameter ac:name="formName">f1</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="c7a5f89f-446a-40a8-bcc3-c88858804f88" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">branch</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="64a31788-b761-4099-b68a-84e3eb4b9f77" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">yesno</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>
<p> </p>
<p>Listing only the ones with<strong> not OK</strong> answers</p>
<ac:structured-macro ac:macro-id="b6ca9bc5-cbb4-4eef-bfcf-accb5a55d432" ac:name="confiform-table" ac:schema-version="1">
  <ac:parameter ac:name="filter">yesno:false</ac:parameter>
  <ac:parameter ac:name="formName">f1</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="befe709b-f24c-4035-82c3-11e44af7d67a" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">branch</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="a88836ba-e549-4537-ab8d-6b747038585d" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">yesno</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>
<p> </p>
<p>Using filter by branch and showing only<strong> not OK</strong> records<ac:structured-macro ac:macro-id="4eb71f8b-5773-4e09-8ac0-99b6dc4b60d9" ac:name="confiform-entry-filter" ac:schema-version="1">
    <ac:parameter ac:name="filterId">forfil</ac:parameter>
    <ac:parameter ac:name="filterCondition">yesno:false</ac:parameter>
    <ac:parameter ac:name="formName">f1</ac:parameter>
    <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
    <ac:rich-text-body>
      <p>
        <ac:structured-macro ac:macro-id="40431217-0445-4d88-9085-ff930c768473" ac:name="confiform-field" ac:schema-version="1">
          <ac:parameter ac:name="fieldName">branch</ac:parameter>
        </ac:structured-macro>
      </p>
    </ac:rich-text-body>
  </ac:structured-macro>
</p>
<ac:structured-macro ac:macro-id="be16f2be-3704-40d3-b8d5-0a7d0b7ef0d1" ac:name="confiform-table" ac:schema-version="1">
  <ac:parameter ac:name="filter">created:&lt;0</ac:parameter>
  <ac:parameter ac:name="filterId">forfil</ac:parameter>
  <ac:parameter ac:name="enableFilterSupport">true</ac:parameter>
  <ac:parameter ac:name="formName">f1</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="55a609a4-220c-44d0-bdc3-6441fae05e8f" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">branch</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="f244d3cc-5920-4a74-8b27-64e26c6f7820" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">yesno</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>

  • No labels