Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ConfiForms TableView Merger

trueid

Field2 and Field2 together:(CONCAT("[entry.field1] [entry.field2]", ""))

f



Storage format for the demo (form name changed to f1)

Code Block

<ac:structured-macro ac:macro-id="af0eabd5-5435-43c0-aeef-4b4aede9a666" ac:name="confiform" ac:schema-version="1">
  <ac:parameter ac:name="formName">f1</ac:parameter>
  <ac:rich-text-body>
    <ac:structured-macro ac:macro-id="9be45bf0-d191-4c7c-a9ba-42b213f0d499" ac:name="confiform-entry-register" ac:schema-version="1">
      <ac:parameter ac:name="restrictions">sash</ac:parameter>
      <ac:rich-text-body>
        <p>
          <br/>
        </p>
      </ac:rich-text-body>
    </ac:structured-macro>
    <p>
      <ac:structured-macro ac:macro-id="f141d530-b38a-41d3-bf83-7aaa202e5015" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">field1</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Field1</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="9a762e7b-b979-4016-a8b1-1f4a14c4a7ea" ac:name="confiform-field-definition" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">field2</ac:parameter>
        <ac:parameter ac:name="fieldLabel">Field2</ac:parameter>
        <ac:parameter ac:name="type">text</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>
<p>Showing the data in a table with TableView</p>
<ac:structured-macro ac:macro-id="f99ef376-7cc4-48e7-a29b-ae0a9c6eb38c" ac:name="confiform-table" ac:schema-version="1">
  <ac:parameter ac:name="formName">f1</ac:parameter>
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="0ec9a245-7d4a-456d-a071-78232430104f" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">field1</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="bd1e62c6-a7dc-4405-9edd-362d31a4a3d0" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">field2</ac:parameter>
      </ac:structured-macro>
    </p>
  </ac:rich-text-body>
</ac:structured-macro>
<p>Showing the data in a table with TableViewMerger and have field1 and field2 fields in one column</p>
<ac:structured-macro ac:macro-id="51bcd347-a4cd-4739-972e-a4d9b6dba770" ac:name="confiform-table-merger" ac:schema-version="1">
  <ac:rich-text-body>
    <p>
      <ac:structured-macro ac:macro-id="82ee2e0e-4780-4b70-9359-9b9cfbfa64fa" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="hideIfEmpty">true</ac:parameter>
        <ac:parameter ac:name="fieldName">id</ac:parameter>
      </ac:structured-macro>
    </p>
    <p>
      <ac:structured-macro ac:macro-id="8d231c92-45d5-4ef8-872b-fdb7968af0e9" ac:name="confiform-field" ac:schema-version="1">
        <ac:parameter ac:name="fieldName">Field2 and Field2 together:(CONCAT("[entry.field1] [entry.field2]", ""))</ac:parameter>
      </ac:structured-macro>
    </p>
    <ac:structured-macro ac:macro-id="7058c119-e7e8-41e3-91ad-6c4eca505697" ac:name="confiform-table" ac:schema-version="1">
      <ac:parameter ac:name="formName">f1</ac:parameter>
      <ac:rich-text-body>
        <p>
          <br/>
        </p>
        <p>
          <br/>
        </p>
      </ac:rich-text-body>
    </ac:structured-macro>
  </ac:rich-text-body>
</ac:structured-macro>