Page tree

Versions Compared

Key

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

...

Code Block
<table class="confluenceTable">
<tr class="confluenceTr"><th class="confluenceTh">My text field</th><th class="confluenceTh">My file</th></tr>
<tr class="confluenceTr">
<td class="confluenceTd"><p>[entry.sometextfld]</p></td>
<td class="confluenceTd"><p>
  <ac:structured-macro ac:macro-id="a088e4c2-51c4-47bc-9c33-6f887947f9ac" ac:name="view-file" ac:schema-version="1">
    <ac:parameter ac:name="name">
      <ri:attachment ri:filename="[entry.zefile]"/>
    </ac:parameter>
    <ac:parameter ac:name="height">250</ac:parameter>
  </ac:structured-macro>
</p>
</td></tr>
</table>
Info

In some case you will need to update the "view-file" macro parameters to be

Code Block
<ac:parameter ac:name="page"> 
      <ac:link> 
        <ri:page ri:content-title="[entry._page.title]"/> 
      </ac:link> 
    </ac:parameter>  

when you want to include an excel file from another page




Children Display