Page tree

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

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.

 

Storage format

<ac:structured-macro ac:macro-id="9b8c56f3-ab8a-4e36-b893-0512a8cfcc26" 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="b7624ab2-b41b-4606-827b-7b3f3cb31082" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">requestType</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Request Type</ac:parameter>
        <ac:parameter ac:name="values">false[1=User Access|2=Something else|]</ac:parameter>
        <ac:parameter ac:name="type">select</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="eb52e00f-5f96-46bb-bbd2-e5e228d199d2" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">accessType</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Access Type</ac:parameter>
        <ac:parameter ac:name="values">false[1=Role Access|2=Special Access|]</ac:parameter>
        <ac:parameter ac:name="type">checkbox_group</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="5741efe5-fc29-4c2b-a3a4-36e28b38ad50" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">asap</ac:parameter>
        <ac:parameter ac:name="fieldLabel">ASAP</ac:parameter>
        <ac:parameter ac:name="type">checkbox</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="e7f181d6-600f-4032-af77-26e2418d9950" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">duedate</ac:parameter>
        <ac:parameter ac:name="fieldLabel">due Date</ac:parameter>
        <ac:parameter ac:name="type">date</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="c12b072c-7b93-4bcf-b14f-ccd6d13748ec" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">requestType:1</ac:parameter>
        <ac:parameter ac:name="fieldName">accessType</ac:parameter>
        <ac:parameter ac:name="action">Show field</ac:parameter>
        <ac:parameter ac:name="actionFieldName">requestType</ac:parameter>
        <ac:parameter ac:name="withReverseRule">true</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="e2086d79-c9ab-46ee-9e75-dd5ae4615bc0" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">asap:true</ac:parameter>
        <ac:parameter ac:name="fieldName">duedate</ac:parameter>
        <ac:parameter ac:name="action">Hide field</ac:parameter>
        <ac:parameter ac:name="onUserActionOnly">true</ac:parameter>
        <ac:parameter ac:name="actionFieldName">asap</ac:parameter>
        <ac:parameter ac:name="withReverseRule">true</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>
<p>
  <ac:structured-macro ac:macro-id="c60537de-0677-423b-b5eb-11802c4388a8" ac:name="confiform-entry-register" ac:schema-version="1">
    <ac:parameter ac:name="formName">f1</ac:parameter>
    <ac:parameter ac:name="embedded">true</ac:parameter>
    <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
    <ac:rich-text-body>
      <table>
        <tbody>
          <tr>
            <td>Request</td>
            <td>
              <p>
                <ac:structured-macro ac:macro-id="b66557d4-a5f4-4d35-bd8f-3f5cbf326e01" ac:name="confiform-field" ac:schema-version="1">
                  <ac:parameter ac:name="fieldName">requestType</ac:parameter>
                </ac:structured-macro>
              </p>
              <p>
                <ac:structured-macro ac:macro-id="ce6e8e92-1dec-46e7-9f33-a289e7fbebc7" ac:name="confiform-field" ac:schema-version="1">
                  <ac:parameter ac:name="fieldName">accessType</ac:parameter>
                  <ac:parameter ac:name="withLabel">true</ac:parameter>
                </ac:structured-macro>
              </p>
            </td>
          </tr>
          <tr>
            <td>When</td>
            <td>
              <p>
                <ac:structured-macro ac:macro-id="cb7b2293-91ec-43df-8144-ae38402a255e" ac:name="confiform-field" ac:schema-version="1">
                  <ac:parameter ac:name="fieldName">asap</ac:parameter>
                </ac:structured-macro>
                <ac:structured-macro ac:macro-id="1be799a6-83cc-485d-9588-e1dd4eb37eba" ac:name="confiform-field" ac:schema-version="1">
                  <ac:parameter ac:name="css">min-width:200px;width:200px</ac:parameter>
                  <ac:parameter ac:name="fieldName">duedate</ac:parameter>
                </ac:structured-macro>
              </p>
            </td>
          </tr>
          <tr>
            <td> </td>
            <td> </td>
          </tr>
        </tbody>
      </table>
    </ac:rich-text-body>
  </ac:structured-macro>
</p>

 

 

  • No labels