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


This demo shows ho to use CalendarView with DateTime interval field and how to use a dynamic filter together with CalendarView 

 

Data in the form

Name

Used when

car Jun 22, 2016 10:22 - Jun 25, 2016 10:22
sledge Jun 29, 2016 10:22 - Jun 30, 2016 10:22

 

Search and filter

 

Search item:

Items

Storage format for the solution

<ac:structured-macro ac:macro-id="3b8c2c45-2ee9-4152-9cdc-da1b47a50334" ac:name="confiform" ac:schema-version="1">
  <ac:parameter ac:name="formName">items1</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="76a4c21b-9414-47d6-ba63-58ced825b1ce" ac:name="confiform-entry-register" ac:schema-version="1">
        <ac:parameter ac:name="restrictions">sash</ac:parameter>
        <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
        <ac:rich-text-body>
          <p> </p>
        </ac:rich-text-body>
      </ac:structured-macro>
      <ac:structured-macro ac:macro-id="6367b92c-91a1-42bf-b850-e191689be507" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">name</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Name</ac:parameter>
        <ac:parameter ac:name="values">false[1=car|2=sledge|3=snowtube|]</ac:parameter>
        <ac:parameter ac:name="type">select2</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="1e609125-4c4a-4d84-8d03-438f90f90c86" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">used</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Used when</ac:parameter>
        <ac:parameter ac:name="type">datetimeinterval</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>
<p> </p>
<p>Data in the form</p>
<ac:structured-macro ac:macro-id="b6edbc9a-d710-4e16-afab-06dc5477ac5c" ac:name="confiform-table" ac:schema-version="1">
  <ac:parameter ac:name="formName">items1</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="b81b0d28-b169-4df3-87b0-ed32d9f95609" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">name</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="1f3bd559-9587-40f4-ae7f-2e380cf1d119" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">used</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>
<p> </p>
<h2>Search and filter</h2>
<p> <ac:structured-macro ac:macro-id="2115c638-dcb2-48e4-93cc-e408dda7ea63" ac:name="confiform-entry-filter" ac:schema-version="1">
    <ac:parameter ac:name="filterFor">calendar</ac:parameter>
    <ac:parameter ac:name="formName">items1</ac:parameter>
    <ac:parameter ac:name="filterButtonLabel">Filter the calendar</ac:parameter>
    <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
    <ac:rich-text-body>
      <p>Search item: <ac:structured-macro ac:macro-id="040e81c6-d6db-4bd0-9a1c-1ebee053d699" ac:name="confiform-field" ac:schema-version="1">
          <ac:parameter ac:name="fieldName">name</ac:parameter>
        </ac:structured-macro>
      </p>
    </ac:rich-text-body>
  </ac:structured-macro>
</p>
<ac:structured-macro ac:macro-id="ece1792e-b953-41b6-9eb9-f923ef3cdaea" ac:name="confiform-calendar" ac:schema-version="1">
  <ac:parameter ac:name="eventTitleFieldName">[entry.name.label]</ac:parameter>
  <ac:parameter ac:name="groupingFieldName">used</ac:parameter>
  <ac:parameter ac:name="panelTitle">Items</ac:parameter>
  <ac:parameter ac:name="formName">items1</ac:parameter>
  <ac:rich-text-body>
    <h2>
      <ac:structured-macro ac:macro-id="61f9e3eb-7d4b-459d-8b5a-0bf423457c09" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">name</ac:parameter>
      </ac:structured-macro>
    </h2>
    <p>
      <ac:structured-macro ac:macro-id="de5f5e21-665f-480b-b9c4-3ee94401c909" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">used</ac:parameter>
      </ac:structured-macro>
    </p>
    <p> </p>
  </ac:rich-text-body>
</ac:structured-macro>

  • No labels