Using fo:page-number In IF statement?

To preface my question, I am trying to get a different header (none in fact) on the first page of a template than all the rest of the pages with RTF output. I have tried the technique proposed in a couple of other posts (http://winrichman.blogspot.com/2008/08/different-page-header-and-footer.html) to no avail. I am using template builder 10.1.3.3.3. I'm not sure what the version of BI on our servers is, but it's really irrelevant because I'm stuck with it regardless (it's whatever version comes with PeopleSoft PeopleTools 8.48.17).
As others have noted, the "Different Header On First Page" feature of Word works fine for PDF output, but not for RTF.
What I was hoping I could do is just add a simple conditional statement to the header text so that the header would only be printed if the value of fo:page-number is greater than 1. I have tried doing several things such as:
<?if: fo:page-number > 1?>header<?end if?>
<?if: <?fo:page-number?> > 1?>header<?end if?>
And nothing seems to work. I am fairly ignorant when it comes to the xsl fo stuff, so I was hoping my problem is just something with syntax. I have however, read a few things that may indicate this type of thing just won't work.
Any help would be greatly appreciated.

<?if: fo:page-number > 1?>header<?end if?>
<?if: <?fo:page-number?> > 1?>header<?end if?>
This won't work. You cannot use the fo:page-number in conditions.
Different First page and other page stuff works in RTF
Pass me your xml and rtf to fusionDOTobjectATgmailDOTcom

Similar Messages

  • How we use of page number in OBIEE

    Hello,
    In BI Apps OOTB dashboards I have seen the page number , version number and so on at the footer of dashboard page. How do we get that in OBIEE .? do we have to customize any css for that ?
    Please advice.
    OBIv = 11.1.1.6.0
    Thanks all for the help!
    Any helpful advices .?
    Edited by: 993495 on Apr 10, 2013 11:54 AM

    IN BI APPS
    If you see the dashboard footer
    Version 7.9.6.3 : Financials > General Ledger     Page : Overview     Page 1
    That !
    I am trying to find that to incorporate on other custom dashboards too but unable to find that object when I edit that dashboard and look for Text object or something with which we are getting that.
    May be this image will explain better : http://www.biztech.com/wp-content/uploads/FA-Profitablity-Overview.jpg
    I looked at that blog already that's for displaying the report page numbers I was looking for Dashboard pages like the picture above.
    Thanks for the help.!

  • Why is there a thick line in the page margin when I use auto page number?

    I am having a problem with an automatic line which appears in the left, in the page margin, outside the footer whenever I insert auto page numbering into a booklet. This line looks like a thick "l" and is on the left of each page despite the numbers being on the 'outside' (alternate sides) of each page.
    The line only disappears when the numbers are removed. I cannot highlight/edit the line and they show up as short thick marks, the height of the font on each numbered page when the document is printed.
    Does anyone know how I can get rid of them?

    Thank you, fruhulda.
    Actually that is what I am doing as a workaround. It works but it requires me to make an unnecessary extra copy of the document. And after doing that, I sometimes carelessly keep working on the copy instead of the original, which results in untracked modifications. So I hope there should be a way to just hide the lines.
    If there's no option to hide them, I think this is a bug of "View Final" mode, in which the document should be viewed in the "final" form.

  • How to use page-number in xsl:if

    Hi
    I would like to use <fo:page-number/> in my if clause. Based on page number, I would like to add some more fields.
    If help on this greatly appriciated.
    Thanks,
    Ram.

    i'd like to check page num, if page num > 1 then output current page of total pages. if it's possible, plz tell me how?
    because i used check row num to do this, its not right method.

  • External Content Type Page Number Filter

    I have a External Content Type set up on a SQL Server view. My problem is when I use the content type as a external column in a SharePoint list the picker returns more than 200 items. I have tried to add the Page Number filter to allow users to page through
    the items but I cannot get it to work. Is there a way to increase the item limit, or can someone explain how to use the Page Number filter on the Read List operation for a external content type?
    Thanks,

    Regarding increasing the limit, there are two parts. The actual BCS limit in SharePoint which can be increased using a PowerShell command (below), and then there is the web part that lets you select the BCS items. Based on a thread for SP2010, 200 is a hard
    limit for the web part, although you will need to test to see if his limit has changed in SP2013.
    http://technet.microsoft.com/en-us/library/ff607630(v=office.15).aspx
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/d0d3d0c9-8180-40f6-a886-be08c1a56a24/external-data-column-pick-list-sort-order-and-remove-limit-constraint
    Regarding the Paging, the following thread provides some options (it's for SP2010 but apply for SP2013 as well):
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/6a39ae0d-cd62-4ec4-b346-7f311e8799c6/bcs-filtering-and-paging-under-readlist-method?forum=sharepointdevelopmentprevious
    Dimitri Ayrapetov (MCSE: SharePoint)

  • Add name and page number to document

    Is there a built in way to add your name and page number to each page in a pages document?

    Hi Faynus! You can put it in the header or footer. Use Insert Page number in the menu. You need to have the insert point in the footer if you want it there. you can get the PAges User Guide by going to the menu > Help > Pages User Guide. YOu have the info about headers and footers there

  • ?fo:page-number? in if statement in the header section

    Hi,
    is it possible to put the <?fo:page-number?> in if statements??
    like <?if:fo:page-number>1?>STOP<?end if?>
    i have a requirement that the column should not be displayed in the succeeding page except for page 1. also the column have the table property REPEAT AS HEADER ROW.
    example:
    Page 1
    DOG
    CAT
    RAT
    FISH
    PAGE 2
    CAT
    RAT
    FISH
    PAGE 3
    CAT
    RAT
    FISH
    thanks, and i hope im able to explain well my problem . . .

    Hi,
    Did u try using the MS Word native functionalit --Option : Different First page –header option or Different Odd & Even Pages.
    hopefully this will help you to achieve your requirement.
    Regards
    Ravikumar Reddy
    +971 56 106 2436

  • How to get page number from the PDF using Javascript

    Hi,
    We are having list of Single page PDF. The pdf are named in the order,
    ISBN_Author_01.PDF  (with real page number as i)
    ISBN_Author_02.PDF  (with real page number as ii)
    ISBN_Author_03.PDF  (with real page number as iii)
    ISBN_Author_04.PDF  (with real page number as 1)
    ISBN_Author_05.PDF  (with real page number as 2)
    ISBN_Author_06.PDF  (with real page number as 3)
    ISBN_Author_nn.PDF  (with real page number as 500)
    Here each pdf has a page number and in sequential order.
    The task is to check whether all the pdfs are in sequential order (i.e i, ii, iii, 1, 2, 3). If any page is missing, the script should throw an error report.
    To do this task, I am writing a Javascript to get the real page number from the PDF.
    Can anybody help me how to get the page number from the PDF using Javascript.
    Thanks,
    Gopal

    The "real" page number within a PDF is the count of the physical page starting at 0, zero.
    pageNum numPages
    The number printed on each page is the page label.
    setPageLabels  getPageLabel
    You will have to open each PDF and your script would need to know the page label for that file. I would expect you would need to build a 2 dimensional  array of the file names and the page label for the page within that array.

  • I have an ipad mini. From one moment to another a document that was created and used on pages app ( on the ipad mini) does not want to open ( When pressed it states " document cant be opened). How can I make this document open again?

    I have an ipad mini. From one moment to another a document that was created and used on pages app ( on the ipad mini) does not want to open ( When pressed it states " document cant be opened). How can I make this document open again?
    I have tried back ups and  restoring, resetting, and even updating the pages app. And nothing has worked.

    I have an ipad mini. From one moment to another a document that was created and used on pages app ( on the ipad mini) does not want to open ( When pressed it states " document cant be opened). How can I make this document open again?
    I have tried back ups and  restoring, resetting, and even updating the pages app. And nothing has worked.

  • I,m new to Mac book. Have used Pages and written 49  chapters of a novel. How can I get them into one doc. and have Pages number them?

    I'm new to Mac book.  Using Pages I have written 49 chapters of a novel.  Can anyone tell me in simple terms how to put them into one document and have Pages number them?   I am lost.

    Hello, Lost! Yes you are a bit; try the Pages forum here; https://discussions.apple.com/community/iwork/pages
    While I do use Pages, I don't know the answer to that one, but I'm sure you'll soon get help in the right forum.

  • Can you tell me how I can ask for help with the following Indesign question:  I am a new Indesign user and a Creative Cloud member.  I was using the Window/Pages drop down window to view my pages alphabetically or by page number and also to determine whet

    I am a new Indesign user and a Creative Cloud member.  I was using the Window/Pages drop down window to view my pages alphabetically or by page number and also to determine whether or not my JPEG files were sufficiently HI-Res for the printer.  I don't know how I did it but somehow the window has changed so that now it does not have the alphabetical/numerical/Hi-Res information.  It just shows the pages in a two page spread in numerical order.  How can I restore the window so that I will be able to view the information as I did previously.
    Your help will be appreciated,
    Don Unwin
    [Personal Information Removed]

    The pages panel is not the place where you see this information.  You can customize the Links panel to show all sorts of things, including the page number, effective and actual ppi, and whether the link is OK or needs updating.

  • How to get the total page number when using Crystal Report in JSP

    In my JSP, I use the class CrystalReportViewer to generate and display the report views. But this class only sypply the function to get the info of the active view.
    Thus with this info, I only can get the active view's page number. How can I get the report total page number without showing the last page first?
    Thanks.

    Anything you do without submitting to form has to be done on the client side (ususally by JavaScript) using data which has been send already from the server.
    With JavaScript you can do quite a bit. You can download tables which don't necessarilly appear on the screen, loading them into JavaScript arrays by dynamically generating javascript. Then you can pick up events like drop-box selection and use these tables to chose what you do next (e.g. preloading other fields, setting drop box content etc.).
    Or, you can cause forms to be submitted when actions like a selection happen without the user clicking a button. It's generally a matter of how much data you'd need to transmit.
    Another posibility is to use a Java applet, which can generate requests to the server and handle the results as it chooses. That are a number of problems with that but occasionally it's the best solution.
    What you can't do is to handle user input inside a JSP. The JSP has come and gone before the user even gets to see your form.

  • Need to delete the old page number from a combined file and replace it with the new number. is there a way for me to do that using JavaScipt

    is there a way of using JS to delete the old page number (1,3,32,78) on a combined PDF and inset it with a new page numbers (1,2,3,4) Thank you

    Depends. If the page numbers can be located by their location on the page then a script can be written to redact that area, and then add new page numbers in their place (or somewhere else).

  • Use column in 2d array as page number for 3d array

    I have a 2D array coming from a database containing (I simplify a bit for this example)
    column 0: plot number
    column 1: x values
    column 2: corresponding y values
    to be able to process everything and later put it in a graph, i would like to convert it into a 3d array where the page number is the plot number (so column 0) from my original array. I tried two different approaches you can see in the attachment, both give unwanted results:
    1. the resulting array contains two pages with only x2 and y2 for each plot
    2. the resulting array contains two pages with only x1 and y1 for each plot
    What am i doing wrong here?
    As a second difficulty the order in the example 2d array is logical (x1 of plot 1, x1 of plot 2, x2 of plot1.....) .
    The order in the actual array might just as well be as the example in the second attachment
    Thanks!
    Attachments:
    bad order.PNG ‏2 KB
    Move column to page.PNG ‏18 KB

    Attached (LV 8.0) is something I quickly whipped up using the above 2 assumptions as being true. I did not fully test this, so be sure to put it through its paces.
    Your solutions centered on using Insert Into Array. The reason this won't work is because your first x/y pair could be from plot 1 (the second page). But, you cannot insert a second page into an empty array.  I opted for pre-creating the 3D array and then using Replace Array Subset. 
    OK, I posted this before I got the notification that you answered my questions. Given that, then how is one supposed to know the order of the X/Y pairs? Obviously, your example used strings for demonstration. Presumably the real values will be numbers. In this case, how is one supposed to know where to place the new X/Y pair?
    Corollary: Arrays must be rectangular. This means that if plot 0 has 3 XY pairs, but plot 1 has 5, then the 3D array MUST have 5 rows for each page. This means you will have empty rows on page 0. Given this, you are better off creating an array of clusters. Each cluster would contain your XY pairs as a 2D array, and each one can have different number of rows, as shown in this figure:
    Message Edited by smercurio_fc on 03-11-2009 10:43 AM
    Attachments:
    2D Array to 3D Array.vi ‏17 KB
    Example_VI_FP.png ‏5 KB

  • I'm having trouble formatting a book I'm writing using Pages. I need to put my name and book title in the upper left hand corner of EACH page- opposite the page number. How do I do this?

    I'm having trouble formatting a book I'm writing using Pages. I need to put my name and book title in the upper left hand corner of EACH page- opposite the page number. How do I do this?

    And if this is the new IOS Pages v2 (or the older IOS Pages 1.7.2), you click the wrench icon and then Document Setup. Tap the document header to edit it, and apply the same instructions that I gave previously for OS X Pages v5.
    The process for Pages ’09 v4.3 is slightly different. You click the Header, and enter your document title and your name as previously described. You will need Menu > View > Show Ruler. Click once in the ruler at the first or second mark after the 7 inch (roughly 18cm). This will set a tab. Now position the insertion mark behind your title and tab once to the mark you set. Now you can Menu > Insert > Auto Page Numbers ...

Maybe you are looking for