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.


In this example we are using the service provided by http://groupkt.com which lists the countries in a JSON format which we can consume in ConfiForms 

http://services.groupkt.com/country/get/all

The field is configured as web-serviced dropdown (advanced) with the following mapping. See the response from http://services.groupkt.com/country/get/all to see the complete structure



Source code for the form

<ac:structured-macro ac:macro-id="465f0f59-8465-4cf2-adbe-42abba24b0b3" 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="2161a7c7-a2b3-4144-a3b9-45e3ef5e4e9e" 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="5d3b8318-79f5-4d53-bf41-72fa846430e5" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="mapping">RestResponse.result|alpha2_code|name</ac:parameter>
        <ac:parameter ac:name="fieldName">country</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Select country</ac:parameter>
        <ac:parameter ac:name="extras">251cbcada625a96875cb8cf6d236bb50</ac:parameter>
        <ac:parameter ac:name="type">wsselect2</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>

Web services connection is set to full url http://services.groupkt.com/country/get/all

  • No labels