Hi,
I am a beginner with cognos, so please bear with my terminology.
My application is configured to work with cognos. When I run a cognos report through my application, I see that the page number gets displayed in the footer.
When I view this report in the Report Studio, I see that the PageNumber tool is not used to achieve the same. Instead there is a conditional block which refers to a variable named ReportOutput and thats it. ReportOutput has two possible values 'HTML' and 'PDF' and has the following expression -
CASE ReportOutput() WHEN 'HTML' THEN 'HTML' WHEN 'HTMLFragment' THEN 'HTML' WHEN 'PDF' THEN 'PDF' END
But when I view the xml of this report I see the following -
<tableCell>
<contents>
<conditionalBlocks>
<conditionalBlockCases refVariable="ReportOutput">
<conditionalBlock refVariableValue="HTML">
<contents>
<textItem>
<conditionalDataSources refVariable="Locale">
<conditionalDataSource refVariableValue="English"><staticValue>Page </staticValue></conditionalDataSource>
{conditionalDataSources for other Locales go here.................. }
<reportExpression>PageNumber()</reportExpression>
....................................
There is a variable called "Locale" which is configured with a few Locales in the report studio.
My question is where is the text item coming from in the contents of ReportOutput conditional datasource when I cant see any textItem being inserted?
Any help would be appreciated.
Thank you,
Annapurna