Possible cfdocument header/footer bug in CF8

All-
I'm experiencing a problem with header and footers containing
dynamic/
query variables in the header/footer text. The header and
footer are
sort of being cached or not being updated appropriately when
a query
variable is inserted into the content of the header or
footer. The
code below will generate a PDF with the header and footer
duplicating
the qryReps.rep_name from the last record across all document
sections/pages.....its not showing the showing the correct
qryReps.rep_name for
the particular record in that loop. SO, if the last record in
the
query is "John Doe", the header on EVERY PAGE shows "Header:
John
Doe". Anyone have any ideas??? Any input would be
appreciated!!!
NOTE: RUNNING ON CF8

This bug has been fixed and a hotfix for this will be
released very soon. Stay tuned.

Similar Messages

  • Cfdocument header bug?

    Is this a bug?
    cfdocumentsection is supposed to have their own header and
    footer. This example mimics one in the documentation. I loop
    through a simple counter from 1 to 4 and name each page, header and
    footer with the loop number. But if you run this simple code, 4
    pages of a PDF will be created, the pages will be 1 to 4, but every
    pages' header and footer will say "5" on it..
    <cfdocument pagetype="letter"
    format="pdf"
    filename="#variables.filePath#" overwrite="true"
    >
    <cfloop index="ctr" from="1" to="4">
    <cfdocumentsection>
    <cfoutput><h1>Page
    #ctr#</h1></cfoutput>
    <cfdocumentitem type="header">
    <cfoutput>Header #ctr#</cfoutput>
    </cfdocumentitem>
    <cfdocumentitem type="footer">
    <cfoutput>Footer #ctr#</cfoutput>
    </cfdocumentitem>
    </cfdocumentsection>
    </cfloop>
    </cfdocument>

    Success! Upgrading to 8.0.1 fixed the header/footer issue.
    It also seems to have really helped the layout stability of
    the pdf as well. Before the scaling was unpredictable and changed
    for each page.
    Looks much better now, thanks!

  • Is it is possible to identify Heading level, Title, Header, Footer, Paragraph in PDF using SDk or Script

    Hi Friends
                 Is it is possible to identify Heading level, Title, Header, Footer, Paragraph in PDF using SDK or Script

    In an ordinary PDF there is nothing to identify, the information does not exist. Just text at locations, the structure is entirely in the mind of the viewer. For tagged PDFs, yes. This requires a very detailed knowledge of the PDF spec and tagging, and writing a plug-in in C/C++. And of course it requires that the tagging is correct. Since tagging is often added automatically, it is often useless for real structural info. Who thought it was a good idea to tag automatically...!

  • Is It Possible to Bates-stamp (or add header/footer) USING A SCRIPT?

    I need to Bates-stamp (or add a header/footer) to >1000 docments. The Bates-stamp (or header/footer) needs to contain ONLY the first four characters of the filename. Is there a way to do this using only the tools that are part of Acrobat X Professoinal?
    If not possible using the toold of Acrobat X Pro, is anyone aware of a third-party plugin that would do this?

    You can use a Javascript function to place something onto one or more files as a watermark, which visually is the same as a header/footer even though internally it won't be tagged as such. For example:
    addWatermarkFromText({
      cText: this.documentFileName.substring(0,4),
      nTextAlign: app.constants.align.right,
      nHorizAlign: app.constants.align.right,
      nVertAlign: app.constants.align.top,
      nHorizValue: -72, nVertValue: -72
    paste it into the JS console to test it (Ctrl-J or CMD-J), to run it against a bunch of files create a new Action and use the "run a Javascript" step. See the SDK documentation for the parameters you can set on the function.
    There's no script access to Bates numbering or the H&F creation dialog.

  • IDCS4 Export to PDF (Header/Footer Screwed Up) in PDF...Possible Solution?

    THE PROBLEM (See "Evil footer setup.pdf"):
    When you convert a IDCS4 document to a PDF while using a 2-page master, the PDF may be missing the odd or even pages. The page content (silly face) is there, but the header and/or footer is screwed up on either the odd or even pages.  The even pages are mess up in this example.
    THE REASON:
    INCS4 does not like a single (header and footer) box to be dragged across both pages.  Whe you do, you get them on one page or the other. Anything in theses header/foot goes asta-la-bye bye. In "Evil footer setup.pdf" both the header and footer boxes were two separate boxes drawn on one side, then dragged across the other page.
    THE SOLUTION: (See "Happy footer setup.pdf")
    On the 2-page master, set up the even (left pages) first with all of the header and footer information (include bleeds). If your using colored boxes for the header and foot area, put them on the bottom layer and put all text and page numbers on a new layer above. In the "Happy footer setup" example, the even (left) page header is identified by light cyan and the footer is identified by light magenta. Once the left side is done, group it, dup it and move it to the odd page (right side). The header on the odd (right) pages is now dark cyan while the footer is dark magenta.  Once boths sides are set up, overlap each header and footer onto the opposite page by 1/8 of an inch to cover any gaps (seen in the happy example). This is assuming the header on both sides is the same color.
    The "Sample Master Pages.pdf" (TOP) shows a single box header and footer dragged across 2 pages. (BOTTOM) shows a single box header and footer on each individual page.  Remember the layers. Compare the sample to Happy and Evil and you'll get the idea.
    Hope this helps someone.

    This MAY be solved by the 6.0.4 update. See the release notes for item #2299929.
    An important update to the InCopy and InDesign products has been released today!
    To install the update, choose Help > Updates from any Adobe CS4 application, or navigate to the Adobe Updater and launch it:
    Mac: /Applications/Utilities/Adobe Utilities/Updater6/Adobe Updater.app
    Win: C:\Program Files\Common Files\Adobe\Updater6\Adobe_Updater.exe
    You can also download the updates from Adobe.com at the following locations:
    InCopy Mac: http://www.adobe.com/support/downloads/product.jsp?product=30&platform=Macintosh
    InCopy Win: http://www.adobe.com/support/downloads/product.jsp?product=30&platform=WIndows
    InDesign Mac: http://www.adobe.com/support/downloads/product.jsp?product=31&platform=Macintosh
    InDesign Win: http://www.adobe.com/support/downloads/product.jsp?product=31&platform=WIndows
    Release notes are here: http://www.adobe.com/go/id6_readme_en

  • Print header/footer template bug?

    Using:
    Win 7 Ultimate
    Primavera P6 Professional R8.2
    Release: 8.2.0
    ID#:1926
    I cannot type an "s" in the print header/footer template, because it causes the cursor to exit the text editor and highlight the Show Section Divider Lines checkbox. Anyone else?
    Dario

    I use Win7 also, and had the same issue with non working 'S' key. It was driving me crazy.
    The solution mentioned above seems to work. You go into the HTML text (button) settings and then without changing any text settings you immediately go straight back out of the HTML settings. You then enter or paste in your text into teh footer.
    Note that I have also experienced this same issue in the header.
    However, has anyone heard of a permanent fix on this yet ?
    Edited by: Andrew Way on 16/10/2012 02:03
    Edited by: Andrew Way on 16/10/2012 02:05

  • Is it possible to insert a header/footer into a pages A5 size document?

    I'm trying to insert a header and/or a footer in a A5 sizes pages document. In the A4 version it's there automatically, but in this A5 one it's not and it's greyed out in the Insert drop down menu. What am I doing wrong? Thanks

    There is no Menu > Insert > Header/Footer
    You get Headers/Footers in:
    Inspector > Document > Document > Document Margins > check Header/Footer
    Peter

  • Adobe Acrobat Pro 9 Header/Footer

    It is easy to add, edit or remove a footer on a PDF document.
    It is possible to add the page number, the date, or a text by the "Document - Header & Footer".
    My question is: Is it possible to include an AutoText in the footer of a PDF? I need the Filename in the text of the footer. Now, the only way I found is to manualy type all the differents file names but I have a lots of documents.
    How can I include the FileName on a foother of a PDF document and is it possible to easily apply this setup to hundreds of documents.
    Thanks in advance

    You could use the watermark feature to stamp the information

  • Acrobat 8.1.2 crashes when Document Header & Footer Add .. is invoked

    I'm running Acrobat 8.1.2 PPC on a PowerBook G4/1.67 Ghz running Leopard 10.5.4. I haven't used the page numbering function in quite a while, since before I upgraded to Leopard. Today I assembled a course packet of 150+ pages from 50 or so individual pdf documents. All was fine until I wanted to put a page number in the footer by invoking Document > Header & Footer > Add.... It either crashes Acrobat after putting a spinning system cursor (more frequently) or simply does nothing. I've tried "Examine" to remove things, but it doesn't help (and it removes bookmarks even when you tell it not to!). Running the PDF Optimizer on this document crashes Acrobat as well!
    Invoking Document > Header & Footer > Add.... on other documents does work. Let me stress that this composite document was created by Acrobat itself! The workaround I found was to open the document in Preview, do Print > Save as pdf, and *then* invoke Document > Header & Footer > Add....
    Has anyone else seen these problems? Are these remaining incompatibilities with Leopard? Advanced > Document Processing > Number Pages doesn't seem to add page numbers!

    I don't think it makes a difference. An Adobe engineer has confirmed that this doc has revealed a bug in both Acrobat Pro 8 and 9.

  • Header Footer tool replaces headers and footers in PDF

    The header/footer tool replaces the headers and footers in my PDF, this header and footer I am referring to was not added in Adobe but was added in Word 2010, when I tried to add an additional header to my PDF (I added a page number) it replaced the footers that was already in my document. The only way I could get around this is with adding a header instead of replacing, which is quick fix, but as soon as you add more pages to your PDF and want to re-apply the header/footer to update the page number that I added to the header it would remove ALL headers and footers from the PDF.

    I am having the same problem.  Here are the steps.  We created a series of documents in WORD 14.0.7143.5000 32 bit.  Each WORD document has a footer specific to that document (i.e. WORD documents are: Business Plan, Market Study, etc. which are each a separate WORD document, each with a separate WORD footer).  Each WORD document is converted to PDF with Adobe X.  The PDF documents are then combined into a single document with Adobe X.  Then with Adobe X we create a new footer (i.e. Document Package, with date, etc.) which is applied to each page of the Document Package.  So each page of the Document Package SHOULD have a Footer of : (1) On the Left Margin - the original WORD document (i.e. Business Plan) and (2) on the right margin - the footer inserted with Adobe X (Document Package footer).
    Here is where it breaks.  The WORD footers are retained when we convert from WORD to Adobe.  The WORD footers for each document are also retained when we combine the several PDF's into a single PDF (Document Package).  It is only when we add the Adobe Footer to the Document Package that we lose all the original WORD footers.  The result is the Document Package has only that one Document Package footer (on the right margin), and we lose each of the footers which were in the original WORD documents (left footers).  I tried this two ways.  First was to modify the footer, and the second way was to add a new footer - neither works - both delete the original WORD footers.  Also, it is interesting because the original WORD footers do not show up in the ADOBE footer box (the screen where you enter the text and other information for the footer).
    The use of the Watermark might be possible, and it is probably the work around we will need to use, but it is a poor solution.  Please let me know when fixed.

  • What to do if Add Header/Footer tool and Bates Numbering tool both get error message? File too big?

    Hello,
    I'm working with a 700 page / 103 Mo PDF that I need to put page numbers on. Both the Header/Footer tool and the Bates numbering tool result in error messages.
    'An error occurred while retrieving the contents of the page.'
    I suspect this is because the PDF was made by assembling 30 smaller PDFs via Preview and never down-sized during the process. I would imagine that would create a kind of clunky file. Or maybe it's simply the size that is overloading the software.
    Does anyone have any advice on a fix or a workaround for this? I need to put page numbers on. I really want to put them on the composite PDF (going back to the 30 original PDFs would be a real headache for a lot of reasons.)
    Thanks!

    Hi Eliza,
    Your suspicion is right. It might be possible that assembling different pdf's together created from different applications might be the issue.
    Try printing the pdf to Adobe pdf printer and then try adding the page numbers and check.
    Regards,
    Rave

  • Add Header, footer and Margin programmatically in Adobe Acrobat 7.0

    I am using adobe acrobat 7.0 profesinal, We receive multiple PDF files then we have
    to add header and footers and also change the Megins in these files.
    Is this possible we can made these changes using Code written in VBA, VB6 etc.
    So my point is add header & footer programmatically using VBA and VB6.
    Is there need to access any APIs.?
    What I have to to for this purpose??
    Thanks in advance
    Aftab.

    Do they print if you chose to shrink to printable area in the printing options? I'm wondering if it's possible that your printer has a default border and the header/footer is getting cut off.

  • Dynamic Header/Footer/Content in Portal

    Hi All
    i'm new to portal, i want that when user logs in according to user there should be Header , Footer and Content displayed dynamically. For example if User A is in department D then his department logo,footer along with contents related to his department should be displayed. Next problem is , layout of page for every department may be different. Is it possible in Oracle Portal environment or we will have to use Webcenter for this purpose.
    Thanks in advance

    You can check for the logged in user in Oracle UI Template level. Then according to logged in user you show his department logo's colors etc...But before the hand create logos and CSS.
    Once you are done with UI template logic then apply same to Portal template there you can decide the layout/regions of the page.
    After that create the Portal pages and apply Portal template to the page and place the portlets(either java , Oracle protelts ) in the page level and get the dynamic content according to logged in user .
    Thanks
    Seshagiri

  • Header footer

    I want to eliminate the header and footer form from the template so i can have that space for text.
    Is this possible..or is the header/footer template permanent?

    Yes, you can create your own default template. Set up your document with the margins, headers, etc. as you'd like. Redefine all of the paragraph & character styles to have your desired font.
    While you're at it, you might want to set default styles for all objects, text boxes, tables, paragraph styles, etc. Start with a blank document & insert an object. Change the color, wrap, etc. to your choosing & then go to Format > Advanced > Define Default Shape Style then delete the object. Repeat with an image/photo, a text box & a table.
    Now, save this as a template then, in Pages > Preferences, select this template as the default for new documents. All of your new documents will have these settings for inserted objects, images & tables. Unfortunately, the settings won't apply to any other templates or "foreign" documents you open with Pages.

  • Update Header & Footer deletes footer in Acrobat Pro 9.2

    I am using Acrobat Pro to add a header to a pdf document that was created from MS Word. This MS Word document has a footer but the header is blank. I can save the word document as a pdf using the Acrobat plugin and then add a header using Acrobat Pro so that now the pdf document has a header and footer. So far, so good.
    Now, if I open the pdf document again and select Document -> Header & Footer -> Update   the header is preserved and can be edited but the footer is blank !!
    I would expect to see both the header and footer present just as they were before I saved the pdf.
    This effectively makes the Update function useless and looks to me like a bug.
    Any suggestions gratefully received.

    Bernd, thanks for looking into this problem. It seems that I am not alone ! Unfortunately, Adobe don't have a good track record in responding to user alerts and that's assuming that the user can find a way to alert Adobe. At 500 UKP (about 800 USD), Acrobat Pro is an expensive product and really shouldn't have problems like this.

Maybe you are looking for