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.


<ac:structured-macro ac:macro-id="d1fccacb-5058-4480-be3e-0e6e378e1e5c" ac:name="confiform" ac:schema-version="1">
  <ac:parameter ac:name="formName">f</ac:parameter>
  <ac:rich-text-body>
    <ac:structured-macro ac:macro-id="c52c0276-dd2b-4b08-823e-47c4e229fbf0" ac:name="confiform-entry-register" ac:schema-version="1">
      <ac:parameter ac:name="restrictions">sash</ac:parameter>
      <ac:parameter ac:name="registrationButtonLabel">Register new</ac:parameter>
      <ac:rich-text-body>
        <p> </p>
      </ac:rich-text-body>
    </ac:structured-macro>
    <p>
      <ac:structured-macro ac:macro-id="38ecd0e7-46e4-466c-8718-b9bf6c4947e7" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">sometextfld</ac:parameter>
        <ac:parameter ac:name="fieldLabel">My text field</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="7a5891e8-37b9-4714-914c-f5f3d9219cc1" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">zefile</ac:parameter>
        <ac:parameter ac:name="fieldLabel">The file</ac:parameter>
        <ac:parameter ac:name="type">file</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>
<p> </p>
<p>Showing standard in TableView</p>
<ac:structured-macro ac:macro-id="5ebf4fe2-0fef-4517-8b11-f5e8582c361d" ac:name="confiform-table" ac:schema-version="1">
  <ac:parameter ac:name="formName">f</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="9ddf8b11-e07a-43f4-abc0-d51039594dc9" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">sometextfld</ac:parameter>
      </ac:structured-macro>
    </p>
    <ac:structured-macro ac:macro-id="ee90774b-747c-46cf-9027-6eb1ca7251c6" ac:name="confiform-field" ac:schema-version="1">
      <ac:parameter ac:name="fieldName">zefile</ac:parameter>
    </ac:structured-macro>
    <p> </p>
  </ac:rich-text-body>
</ac:structured-macro>
<p> </p>
<p>Using Plain View<ac:structured-macro ac:macro-id="d93e7e9e-e2ec-4bdb-b467-84c0b3c06e91" ac:name="confiform-plain" ac:schema-version="1">
    <ac:parameter ac:name="formName">f</ac:parameter>
    <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
    <ac:plain-text-body><![CDATA[<p>[entry.sometextfld]</p>
<p>
  <ac:structured-macro ac:macro-id="a088e4c2-51c4-47bc-9c33-6f887947f9ac" ac:name="view-file" ac:schema-version="1">
    <ac:parameter ac:name="name">
      <ri:attachment ri:filename="[entry.zefile]"/>
    </ac:parameter>
    <ac:parameter ac:name="height">250</ac:parameter>
  </ac:structured-macro>
</p>]]></ac:plain-text-body>
  </ac:structured-macro> </p>
<p>Using PlainView and HTML macro to render the table</p>
<ac:structured-macro ac:macro-id="cecce18c-3533-4bd6-9250-b0c08bdbeaaa" ac:name="html" ac:schema-version="1">
  <ac:plain-text-body><![CDATA[<table class="confluenceTable">
<tr class="confluenceTr"><th class="confluenceTh">My text field</th><th class="confluenceTh">My file</th></tr>]]></ac:plain-text-body>
</ac:structured-macro>
<p>
  <ac:structured-macro ac:macro-id="4b065d46-68bb-4b29-b70b-f05969a82780" ac:name="confiform-plain" ac:schema-version="1">
    <ac:parameter ac:name="formName">f</ac:parameter>
    <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
    <ac:plain-text-body><![CDATA[<tr class="confluenceTr">
<td class="confluenceTd"><p>[entry.sometextfld]</p></td>
<td class="confluenceTd"><p>
  <ac:structured-macro ac:macro-id="a088e4c2-51c4-47bc-9c33-6f887947f9ac" ac:name="view-file" ac:schema-version="1">
    <ac:parameter ac:name="name">
      <ri:attachment ri:filename="[entry.zefile]"/>
    </ac:parameter>
    <ac:parameter ac:name="height">250</ac:parameter>
  </ac:structured-macro>
</p>
</td></tr>]]></ac:plain-text-body>
  </ac:structured-macro>
</p>
<ac:structured-macro ac:macro-id="865dadff-dd47-474c-8a05-79f96a1031d8" ac:name="html" ac:schema-version="1">
  <ac:plain-text-body><![CDATA[</table>]]></ac:plain-text-body>
</ac:structured-macro>

  • No labels