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.


Adds selected label to current page


Screenshots

Simple form with IFTTT to add a label, value is taken from the field dynamically. In this case we take the "label" part from the radio group field option

IFTTT configuration

continued...



Source code for the solution

<ac:structured-macro ac:macro-id="2a681113-4a70-4a35-a4cf-ef71b2a74803" 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="517c0cf5-59ef-4ce8-8051-4e746bbd7a7c" ac:name="confiform-entry-register" ac:schema-version="1">
      <ac:parameter ac:name="embedded">true</ac:parameter>
      <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="e07bfaa0-2948-4f91-98bc-cc6ad950e395" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">labelchoice</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Your label choice</ac:parameter>
        <ac:parameter ac:name="values">false[1=label1|2=label2|3=label3|]</ac:parameter>
        <ac:parameter ac:name="type">radio_group</ac:parameter>
      </ac:structured-macro>
    </p>
    <ac:structured-macro ac:macro-id="94023246-fc08-4006-8b1a-4135cf22b3c6" ac:name="confiform-ifttt" ac:schema-version="1">
      <ac:parameter ac:name="action">Add Page Label</ac:parameter>
      <ac:parameter ac:name="event">onCreated</ac:parameter>
      <ac:parameter ac:name="title">[entry._page.id]</ac:parameter>
      <ac:parameter ac:name="extras2">[entry.labelchoice.label]</ac:parameter>
      <ac:rich-text-body>
        <p>
          <br/>
        </p>
      </ac:rich-text-body>
    </ac:structured-macro>
  </ac:rich-text-body>
</ac:structured-macro>
<p>
  <br/>
</p>
<p>
  <br/>
</p>