# Revision history [back]

### Footer on the last page

Hello World.
I'm new in this community, so this is my first post and that's why please don't be strict to me.
As you already understand by my first sentence, my English level isn't good.
BTW, I try to explain my issue.
I got software based on cuba-platform.
There is a report where I need place footer only on the last page. The number of pages is not permanent.
It depends on data from the document which is stored in the program.
I just click on the button in UI and system gives me a file with .odt extension.

I have a Tepmlate File.odt where i place data anchor like
${Organization.fullName}${Organization.legalAddress}
${Employee.name} etc This is Output 1.odt, Output 2.odt, Output 3.odt what system can gives me as result with fullfilled data from the document. ### Footer on the last page Hello World. I'm new in this community, so this is my first post and that's why please don't be strict to me. As you already understand by my first sentence, my English level isn't good. BTW, I try to explain my issue. I got software based on cuba-platform. There is a report where I need place footer only on the last page. The number of pages is not permanent. It depends on data from the document which is stored in the program. I just click on the button in UI and system gives me a file with .odt extension. I have a Tepmlate File.odt where i place data anchor like${Organization.fullName}
${Organization.legalAddress}${Employee.name}
etc

This is Output 1.odt, Output C:\fakepath\Output 2.odt, Output 3.odt what system can gives me as result with fullfilled data from the document.

As you can see my footer
Nur Assanali
313

is placed only on the last page i.e. Output 1.odt has one page, footer is on the first page
Output 2.odt has two pages, footer is only on the second page
Output 3.odt has three pages, footer is only on the third page

### Footer on the last page

Hello World.
I'm new in this community, so this is my first post and that's why please don't be strict to me.
As you already understand by my first sentence, my English level isn't good.
BTW, I try to explain my issue.
I got software based on cuba-platform.
There is a report where I need place footer only on the last page. The number of pages is not permanent.
It depends on data from the document which is stored in the program.
I just click on the button in UI and system gives me a file with .odt extension.

I have a Tepmlate File.odt where i place data anchor like
${Organization.fullName}${Organization.legalAddress}
${Employee.name} etc This is Output 1.odt, C:\fakepath\Output Output 2.odt, Output 3.odt what system can gives me as result with fullfilled data from the document. As you can see my footer Nur Assanali 313 is placed only on the last page i.e. Output 1.odt has one page, footer is on the first page Output 2.odt has two pages, footer is only on the second page Output 3.odt has three pages, footer is only on the third page ### Footer on the last page Hello World. I'm new in this community, so this is my first post and that's why please don't be strict to me. As you already understand by my first sentence, my English level isn't good. BTW, I try to explain my issue. I got software based on cuba-platform. There is a report where I need place footer only on the last page. The number of pages is not permanent. It depends on data from the document which is stored in the program. I just click on the button in UI and system gives me a file with .odt extension. I have a Tepmlate File.odt where i place data anchor like${Organization.fullName}
${Organization.legalAddress}${Employee.name}
etc

This is Output 1.odt, Output 2.odt, Output 3.odt what system can gives me as result with fullfilled data from the document.

As you can see my footer
Nur Assanali
313

is placed only on the last page i.e. Output 1.odt has one page, footer is on the first page
Output 2.odt has two pages, footer is only on the second page
Output 3.odt has three pages, footer is only on the third page

i know how to do it in ms word using field codes.
It would be like { IF { PAGE } = { NUMPAGES } “\${Initiator.name}” “” }