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


Equipment Request Form

*
Choose the type of the machine you need. Please note that we can provide only the standard configurations
*  
Please give us at least 3 days to deliver
Any additional comment to be sent with your request

My incomplete Requests

Type:

Created

Status

Laptop Oct 16, 2017 23:00 OPEN
Laptop Oct 16, 2017 23:00 OPEN
Laptop Sep 28, 2017 11:17 OPEN

My completed requests

Type:

Created

You don't have any completed requests

Code

<ac:structured-macro ac:macro-id="1946f50e-c3e5-4a9a-aa87-d83e59793c6b" ac:name="confiform-entry-register" ac:schema-version="1">
  <ac:parameter ac:name="formName">newEquipment1</ac:parameter>
  <ac:parameter ac:name="presetValues">requestStatus=default</ac:parameter>
  <ac:parameter ac:name="embedded">true</ac:parameter>
  <ac:rich-text-body>
    <p> </p>
  </ac:rich-text-body>
</ac:structured-macro>
<h2>My incomplete Requests</h2>
<ac:structured-macro ac:macro-id="66a265fb-387a-40ab-9a4d-6edba749e745" ac:name="confiform-table" ac:schema-version="1">
  <ac:parameter ac:name="filter">ownedBy:[entry._user] AND !requestStatus.label:COMPLETE</ac:parameter>
  <ac:parameter ac:name="messageToShowWhenEmpty">You don't have any requests yet</ac:parameter>
  <ac:parameter ac:name="formName">newEquipment1</ac:parameter>
  <ac:parameter ac:name="sort">created DESC</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="0109c825-701b-4250-b766-cd4778ddf026" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">type</ac:parameter>
      </ac:structured-macro> <ac:structured-macro ac:macro-id="b650afde-0de6-438a-90cc-6d024f472b54" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">created</ac:parameter>
      </ac:structured-macro> <ac:structured-macro ac:macro-id="9854f97f-89e9-4cfd-b917-9a563017ef49" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">requestStatus</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>
<h2>My completed requests</h2>
<ac:structured-macro ac:macro-id="818edbf8-a567-48f1-b47c-81699211c96e" ac:name="confiform-table" ac:schema-version="1">
  <ac:parameter ac:name="filter">ownedBy:[entry._user] AND requestStatus.label:COMPLETE</ac:parameter>
  <ac:parameter ac:name="messageToShowWhenEmpty">You don't have any completed requests</ac:parameter>
  <ac:parameter ac:name="formName">newEquipment1</ac:parameter>
  <ac:parameter ac:name="sort">created DESC</ac:parameter>
  <ac:rich-text-body>
    <p> <ac:structured-macro ac:macro-id="b14f3d62-d09a-4f7f-9739-0d85a7e9d018" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">type</ac:parameter>
      </ac:structured-macro> <ac:structured-macro ac:macro-id="30c3c628-72d7-46a7-854c-41f744547774" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">created</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="4e396cfd-e1b6-43ef-a4d5-671e233aef09" ac:name="confiform" ac:schema-version="1">
  <ac:parameter ac:name="formName">newEquipment1</ac:parameter>
  <ac:parameter ac:name="registrationFormTitle">Equipment Request Form</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="956e706a-e2f4-42fe-b64b-ad52f2d65417" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">type</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Type:</ac:parameter>
        <ac:parameter ac:name="values">false[1=Laptop|2=Desktop|3=Tablet|]</ac:parameter>
        <ac:parameter ac:name="fieldDescription">Choose the type of the machine you need. Please note that we can provide only the standard configurations</ac:parameter>
        <ac:parameter ac:name="type">select</ac:parameter>
        <ac:parameter ac:name="required">true</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="e08762f3-29c8-453b-90c9-0a60e6b7bade" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">whenNeeded</ac:parameter>
        <ac:parameter ac:name="fieldLabel">When needed</ac:parameter>
        <ac:parameter ac:name="fieldDescription">Please give us at least 3 days to deliver</ac:parameter>
        <ac:parameter ac:name="type">date</ac:parameter>
        <ac:parameter ac:name="required">true</ac:parameter>
      </ac:structured-macro>
    </p>
    <ac:structured-macro ac:macro-id="74dd967e-10c2-4deb-a532-23bce6f21d74" ac:name="confiform-field-definition" ac:schema-version="1">
      <ac:parameter ac:name="fieldName">comment</ac:parameter>
      <ac:parameter ac:name="fieldLabel">Comments?</ac:parameter>
      <ac:parameter ac:name="fieldDescription">Any additional comment to be sent with your request</ac:parameter>
      <ac:parameter ac:name="type">textarea</ac:parameter>
    </ac:structured-macro>
    <p> </p>
    <p>
      <ac:structured-macro ac:macro-id="3bcc1849-9700-498a-a570-4a2a352fef8d" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">requestStatus</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Status</ac:parameter>
        <ac:parameter ac:name="values">false[default=OPEN|success=COMPLETE|error=BLOCKED|current=IN PROGRESS|]</ac:parameter>
        <ac:parameter ac:name="type">status</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="79d21580-33ec-46f1-bb4b-1623a498a4cd" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">id:[empty]</ac:parameter>
        <ac:parameter ac:name="fieldName">requestStatus</ac:parameter>
        <ac:parameter ac:name="action">Hide field</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="fb9bfc95-c2a1-4fc0-960c-2e3886cba7c2" ac:name="confiform-field-definition-rules" ac:schema-version="1">
        <ac:parameter ac:name="condition">whenNeeded:[empty]</ac:parameter>
        <ac:parameter ac:name="values">whenNeeded=([entry._today.timestamp] + 259200000)</ac:parameter>
        <ac:parameter ac:name="action">Set expression</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>

  • No labels