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.


Form 1

Form 2 uses the partnr through the smart dropdown


A table which shows part number from form 1 with a quick link to use the part nr in form2

Part number

pro2

prop2

Quick link

choice 1 1 2

over form 2

Using part

my formula

choice 1 3


The storage format for the demo

<p>Form 1</p>
<ac:structured-macro ac:macro-id="bca2ebbc-679b-4b1f-9964-7fdd47f55bbd" ac:name="confiform" ac:schema-version="1">
  <ac:parameter ac:name="formName">form11</ac:parameter>
  <ac:rich-text-body>
    <ac:structured-macro ac:macro-id="50233feb-2fc1-4ea7-8cc1-c55c0983a2e4" 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="6655aa2f-2a93-44e4-81be-093f1b35f837" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">partnr</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Part number</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="6be173cc-e77d-4800-8725-5f63ee53abf4" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">prop1</ac:parameter>
        <ac:parameter ac:name="fieldLabel">pro2</ac:parameter>
        <ac:parameter ac:name="type">number</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="82ee6baf-fb01-4acf-9857-ea74d4105a4c" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">prop2</ac:parameter>
        <ac:parameter ac:name="fieldLabel">prop2</ac:parameter>
        <ac:parameter ac:name="type">number</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="abf8ffc8-073a-4ca1-acee-e5b584949bda" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">quicklink</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Quick link</ac:parameter>
        <ac:parameter ac:name="values">https://wiki.vertuna.com/pages/viewpage.action?pageId=13598746&amp;cf_name=form12&amp;cf_values=usingpartnr:</ac:parameter>
        <ac:parameter ac:name="type">hidden</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="303350fc-dd9f-44f4-9c2f-e9f862a41a56" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">quicklink</ac:parameter>
        <ac:parameter ac:name="action">Hide field</ac:parameter>
      </ac:structured-macro>
    </p>
    <ac:structured-macro ac:macro-id="079dc600-925c-4b67-9b5a-90970f61f192" ac:name="confiform-ifttt" ac:schema-version="1">
      <ac:parameter ac:name="action">Create ConfiForms Entry</ac:parameter>
      <ac:parameter ac:name="event">onCreated</ac:parameter>
      <ac:parameter ac:name="title">entryId=[entry.id]&amp;quicklink=[entry.quicklink][entry.id]</ac:parameter>
      <ac:rich-text-body>
        <p> </p>
      </ac:rich-text-body>
    </ac:structured-macro>
  </ac:rich-text-body>
</ac:structured-macro>
<p>Form 2 uses the partnr through the smart dropdown</p>
<ac:structured-macro ac:macro-id="17f928e4-bded-4b0b-b1be-2e23a36a678a" ac:name="confiform" ac:schema-version="1">
  <ac:parameter ac:name="formName">form12</ac:parameter>
  <ac:rich-text-body>
    <ac:structured-macro ac:macro-id="1f22df2b-73fc-4e3b-ab72-496b82abf444" ac:name="confiform-entry-register" ac:schema-version="1">
      <ac:parameter ac:name="embedded">true</ac:parameter>
      <ac:rich-text-body>
        <p> </p>
      </ac:rich-text-body>
    </ac:structured-macro>
    <p>
      <ac:structured-macro ac:macro-id="61adabd6-c2c2-49ba-863d-b3dc916675f8" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">usingpartnr</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Using part</ac:parameter>
        <ac:parameter ac:name="values">[13598746|form11|partnr|true||]</ac:parameter>
        <ac:parameter ac:name="type">smartselect2</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="cc798c6e-fde6-43b4-bd08-0fb17e4ab365" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">f</ac:parameter>
        <ac:parameter ac:name="fieldLabel">my formula</ac:parameter>
        <ac:parameter ac:name="extras">([entry.usingpartnr.prop1] + [entry.usingpartnr.prop2])</ac:parameter>
        <ac:parameter ac:name="type">formula</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>
<p> </p>
<p>A table which shows part number from form 1 with a quick link to use the part nr in form2</p>
<ac:structured-macro ac:macro-id="06e73d04-2a72-4347-8a30-fa293eb0dba2" ac:name="confiform-table" ac:schema-version="1">
  <ac:parameter ac:name="formName">form11</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="7cd1a4b6-7b84-420f-ae4b-83cb9b8c6f06" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">partnr</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="582a0e7e-7e01-4718-a09c-f8fedb31c18b" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">prop1</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="386cd3d8-6b04-4646-948e-e545c867b1d2" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">prop2</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="e1cb16c3-ef6b-4bb1-bca6-67be868bdcfa" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">quicklink.asLink(the link)</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>
<p>over form 2</p>
<ac:structured-macro ac:macro-id="010b05cc-c59c-4053-8aec-669dcce84c4d" ac:name="confiform-table" ac:schema-version="1">
  <ac:parameter ac:name="formName">form12</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="31c36c77-f476-44db-bc65-66b2f26e02e1" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">usingpartnr</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="c51342b2-7463-4a3a-a28c-f6e65c57270c" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">f</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>