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

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.


Demonstrating the use of ConfiForms ListView macro together with built-in Confluence macro called "Content by Label"

data in the form

label

confiforms
core



Content by label (dynamic)

confiforms


core



You will need Storage format editor add-on to work with this code and to configure ContentByLabel macro (could not do it via UI)

<ac:structured-macro ac:macro-id="31b1d8d1-ae8c-44e2-a0b3-c9703b5ca1c0" ac:name="confiform" ac:schema-version="1">
  <ac:parameter ac:name="formName">f1</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="967df302-5311-40e2-89b8-9238c82197b8" 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="c3cfd7c4-171d-4ef9-ad48-e120db44e9d0" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">label</ac:parameter>
        <ac:parameter ac:name="fieldLabel">label</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>
<p> </p>
<p>Content by label (dynamic)</p>
<ac:structured-macro ac:macro-id="2b8229f8-db2f-43e4-9c75-a32dca15b246" ac:name="confiform-list" ac:schema-version="1">
  <ac:parameter ac:name="formName">f1</ac:parameter>
  <ac:rich-text-body>
    <h2>
      <ac:structured-macro ac:macro-id="7561129d-fe01-4cbd-ad12-5b3e0f08e419" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">label</ac:parameter>
      </ac:structured-macro>
    </h2>
    <p>
      <ac:structured-macro ac:macro-id="e896d359-d0cb-4231-9bb1-2a9e4c83e9f5" ac:name="contentbylabel" ac:schema-version="2">
        <ac:parameter ac:name="cql">label = "[entry.label]"</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>