[Scaffolding Plugin ] Get form data from several pages to one result page

  • 1
  • Question
  • Updated 2 years ago

Hello guys,

I have created a form on several pages in my confluence space:

<ac:layout>
  <ac:layout-section ac:type="single">
    <ac:layout-cell>
      <ac:structured-macro ac:name="group-data">
        <ac:parameter ac:name="name">group</ac:parameter>
        <ac:rich-text-body>
          <table>
            <tbody>
              <tr>
                <th>Text</th>
                <td>
                  <p>
                    <ac:structured-macro ac:name="text-data">
                      <ac:parameter ac:name="name">bla</ac:parameter>
                      <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
                      <ac:rich-text-body> </ac:rich-text-body>
                    </ac:structured-macro>
                  </p>
                </td>
              </tr>
              <tr>
                <th>Date</th>
                <td>
                  <p>
                    <ac:structured-macro ac:name="date-data">
                      <ac:parameter ac:name="name">date</ac:parameter>
                      <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
                      <ac:parameter ac:name="required">true</ac:parameter>
                      <ac:plain-text-body><![CDATA[ ]]></ac:plain-text-body>
                    </ac:structured-macro>
                  </p>
                </td>
              </tr>
              <tr>
                <th>Attachment</th>
                <td>
                  <ac:structured-macro ac:name="attachment-data">
                    <ac:parameter ac:name="name">attac</ac:parameter>
                    <ac:parameter ac:name="required">true</ac:parameter>
                  </ac:structured-macro>
                </td>
              </tr>
            </tbody>
          </table>
          <p> </p>
          <p> </p>
          <p> </p>
        </ac:rich-text-body>
      </ac:structured-macro>
      <p>  <ac:structured-macro ac:name="get-data">
          <ac:parameter ac:name="name">group</ac:parameter>
          <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
          <ac:rich-text-body> </ac:rich-text-body>
        </ac:structured-macro> <span style="font-family: Courier New;">{list-data:name=myAttachment} <br/> {attachment-options:content=yourOtherPage} <br/> {attachment-options} <br/> {list-data} <br/> ----------------- <br/> {report-info:data:myAttachment|link=true}  </span>
      </p>
      <p> </p>
    </ac:layout-cell>
  </ac:layout-section>
  <ac:layout-section ac:type="two_equal">
    <ac:layout-cell>
      <p> </p>
    </ac:layout-cell>
    <ac:layout-cell>
      <p> </p>
    </ac:layout-cell>
  </ac:layout-section>
  <ac:layout-section ac:type="single">
    <ac:layout-cell>
      <p> </p>
    </ac:layout-cell>
  </ac:layout-section>
</ac:layout>

And I would like to report all "form pages" results on a result page that is hidden.


How can I do that? I haven`t found any configurable parameter.


Kind regards!

Thomas

Photo of thomasMuster

thomasMuster

  • 2 Posts
  • 0 Reply Likes

Posted 2 years ago

  • 1
Photo of Nurhana Ziana Bt. Hanafi

Nurhana Ziana Bt. Hanafi, Employee

  • 3500 Posts
  • 269 Reply Likes
Hello Thomas,

This could be possible via Reporting+Scaffolding integration. You may find the recipe example here.

Thanks&Regards,
Ziana