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.

In this demo we copy the created and createdBy into other readonly fields we have on our form

  • 2 Readonly fields to hold the values from metadata fields, fields are hidden when a user creates an entry with ConfiForms Field Definition Rule
  • ConfiForms IFTTT macro is used on "created" event to copy the values from metadata fields "created" and createdBy into our read-only fields


View in the editor


Source code for the scenario

<ac:structured-macro ac:macro-id="b4698dcf-e1f3-414c-8fcc-d11618aaefd7" ac:name="confiform" ac:schema-version="1">
  <ac:parameter ac:name="formName">myform1</ac:parameter>
  <ac:rich-text-body>
    <ac:structured-macro ac:macro-id="bb9b7b30-d316-4abc-8df5-80e324ee2684" 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>
          <br/>
        </p>
      </ac:rich-text-body>
    </ac:structured-macro>
    <p>
      <ac:structured-macro ac:macro-id="009183a2-a1c7-4198-a8be-5b22b3b0b983" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">sometext</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Put some text into this field</ac:parameter>
        <ac:parameter ac:name="fieldDescription">just some text, not important</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="3a92e7fa-fb74-4b3b-a8be-ec859947cb94" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">created1</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Created copy</ac:parameter>
        <ac:parameter ac:name="type">read_only</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="76727d58-26a1-42ec-a497-125044b4b8d8" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">createdBy1</ac:parameter>
        <ac:parameter ac:name="fieldLabel">CreatedBy copy</ac:parameter>
        <ac:parameter ac:name="type">read_only</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="d5f01f52-422d-4bab-9c62-4fc112709214" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">id:[empty]</ac:parameter>
        <ac:parameter ac:name="fieldName">created1,createdBy1</ac:parameter>
        <ac:parameter ac:name="action">Hide field</ac:parameter>
      </ac:structured-macro>
    </p>
    <ac:structured-macro ac:macro-id="de6bc21f-983b-4882-b99f-297258d4e235" ac:name="confiform-ifttt" ac:schema-version="1">
      <ac:parameter ac:name="extras3">true</ac:parameter>
      <ac:parameter ac:name="extras4">true</ac:parameter>
      <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;created1=[entry.created.formatDate(dd.MM.yyyy)]&amp;createdBy1=[entry.createdBy.fullName]</ac:parameter>
      <ac:rich-text-body>
        <p>
          <br/>
        </p>
      </ac:rich-text-body>
    </ac:structured-macro>
  </ac:rich-text-body>
</ac:structured-macro>


  • No labels