Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

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.

Choose option 1 from "Choice" field to initiate a lookup

Please note that when you see this demo as anonymous user, you will not be able to update the record (no permissions!)

Storage format

<ac:structured-macro ac:macro-id="a0ae2d3f-839b-47e1-889a-812cc57fc819" 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="3f10281e-7deb-475f-90bb-e38f3289949d" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">choice</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Choice</ac:parameter>
        <ac:parameter ac:name="values">false[1=one|2=two|3=three|]</ac:parameter>
        <ac:parameter ac:name="type">select</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="8e15928d-197f-478d-bbe2-98b3934b9337" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">answer1</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Answer1</ac:parameter>
        <ac:parameter ac:name="type">checkbox</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="74eb2abf-48db-4ac2-a83f-06c8add859a8" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">answer2</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Answer2</ac:parameter>
        <ac:parameter ac:name="type">checkbox</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="5c5affd2-aed3-4187-bfbd-2b0766304009" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">answer3</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Answer3</ac:parameter>
        <ac:parameter ac:name="type">checkbox</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="abd6fcc4-7584-4b29-b21b-3dc5438a554b" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">answer4</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Answer4</ac:parameter>
        <ac:parameter ac:name="type">checkbox</ac:parameter>
      </ac:structured-macro>
    </p>
    <ac:structured-macro ac:macro-id="4d1eae52-d748-484a-bd23-11c9d6f6fd43" ac:name="confiform-field-definition-rules" ac:schema-version="1">
      <ac:parameter ac:name="condition">id:[empty]</ac:parameter>
      <ac:parameter ac:name="fieldName">entryId,answer1,answer2,answer3,answer4</ac:parameter>
      <ac:parameter ac:name="values">choice:[entry.choice]</ac:parameter>
      <ac:parameter ac:name="action">Reset value</ac:parameter>
      <ac:parameter ac:name="onUserActionOnly">true</ac:parameter>
      <ac:parameter ac:name="actionFieldName">choice</ac:parameter>
    </ac:structured-macro>
    <p>
      <ac:structured-macro ac:macro-id="440a31ec-8b59-49f0-9c6e-3d413105b059" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">entryId=[entry.id]&amp;answer1=[entry.answer1]&amp;answer2=[entry.answer2]&amp;answer3=[entry.answer3]&amp;answer4=[entry.answer4]</ac:parameter>
        <ac:parameter ac:name="values">choice:[entry.choice]</ac:parameter>
        <ac:parameter ac:name="action">Lookup and set value</ac:parameter>
        <ac:parameter ac:name="actionFieldName">choice</ac:parameter>
      </ac:structured-macro>
    </p>
    <ac:structured-macro ac:macro-id="2d1b8b26-d680-4a74-b26f-c08cde880fb5" ac:name="confiform-ifttt" ac:schema-version="1">
      <ac:parameter ac:name="action">Delete ConfiForms Entry</ac:parameter>
      <ac:parameter ac:name="event">onCreated</ac:parameter>
      <ac:parameter ac:name="title">choice:[entry.choice] AND !id:[entry.id]</ac:parameter>
      <ac:rich-text-body>
        <p>
          <br/>
        </p>
      </ac:rich-text-body>
    </ac:structured-macro>
    <p>
      <br/>
    </p>
    <p>
      <br/>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>


  • No labels