Number of the page OK in preview, empty on server

I have a XDP template which is merged with XML data on the server to produce a flat PDF. Several pages are sometimes produced. On the form is good, including totals totals except the page number and page. The current page and number of pages are always empty. In the designer of the preview always look great. How this can be solved? Thank you

The only change I made to fix that changes the Runt "Client and server" property for the script where page numbers are calculated.

Voucher.Master1.PageArea1.FixedPortion.zPage.zPageNumber::ready:layout - (JavaScript, both)

this.rawValue = xfa.layout.page (this)

Voucher.Master1.PageArea1.FixedPortion.zPage.zPageNumberCount::ready:layout - (JavaScript, both)

this.rawValue = xfa.layout.pageCount)

Thank you

Srini

Tags: Adobe LiveCycle

Similar Questions

  • Number of the page of search results

    Hello

    Can anyone help me please with a problem that has me pulling my hair right now. I googled extensively and had no joy. My Indesign Scripting experience is pretty weak, but I spend a lot of time in VBA and PHP then coding and objects are not foreign to me.

    I'm modyfing the existing (and excellent) script to cover my needs. I need to find each instance of a paragraph style, then use the page number and the text to build a content page later. The original script achieved via an index, but it is not convinient for me in this case that I need to first make a change more.

    I successfully converted the original script to search all text that has a special paragraph on her style. I'm so succsefully entering the text. I just can't do, is to enter the number of the search result page. I understand that I probably need to look at the parent page of tags, but I don't see how. If there is no help, the paragraph style is likely to be nested within two or three tags embedded in a text box.

    Any help would be greatly appreciated.

    JavaScript document

    /*

    Based on the "marking of the character style index words" of Josha Hubbers who was based on the "Marking of the color index words" script by Thomas Silkjær

    http://indesigning.net/

    */

    var result_words_found = 0;

    var curr_document = 0;

    var my_document = app.documents.item (curr_document);

    Create a list of samples

    var list_of_paraStyles = my_document.paragraphStyles.everyItem () .name;

    var list_of_paraStyles is my_document.paragraphStyleGroups.item("Book").paragraphStyles.everyItem () .name;.

    var list_of_paraStyles is my_document. ParagraphStyleGroup.allParagraphStyles)

    var yesNoDialog = ['Yes', 'No'];

    That the dialog box to select the style of char at index

    var paraStyle_dialog = app.dialogs.add ({name: "Generate index of paragraph style"});

    {with (paraStyle_dialog.dialogColumns.Add ())}

    {with (borderPanels.Add ())}

    {with (dialogRows.Add ())}

    {with (dialogColumns.Add ())}

    staticTexts.add ({staticLabel: "choose the style of paragraph :"});})

    }

    {with (dialogColumns.Add ())}

    var selected_paraStyle = dropdowns.add ({stringList:list_of_paraStyles, selectedIndex:0});})

    }

    }

    {with (dialogRows.Add ())}

    {with (dialogColumns.Add ())}

    staticTexts.add ({staticLabel: "search all documents opened :"});})

    }

    {with (dialogColumns.Add ())}

    var selected_search_span = dropdowns.add ({stringList:yesNoDialog, selectedIndex:1});})

    }

    }

    }

    }

    catch the Cancel button

    var doSearch = paraStyle_dialog.show ();

    If selected_search_span.selectedIndex == 0 then search for 'all documents '.

    other searches only active document.

    an active document is element 0 of the array app.documents.item

    If {(doSearch)

    Set the options to search text to find all words with the selected character style

    app.findChangeTextOptions.caseSensitive = false;

    app.findChangeTextOptions.wholeWord = false;

    app.findChangeTextOptions.includeFootnotes = false;

    app.findChangeTextOptions.includeHiddenLayers = false;

    app.findChangeTextOptions.includeLockedLayersForFind = false;

    app.findChangeTextOptions.includeLockedStoriesForFind = false;

    app.findChangeTextOptions.includeMasterPages = false;

    app.findTextPreferences = NothingEnum.nothing;

    app.findTextPreferences.appliedParagraphStyle = my_document.paragraphStyleGroups.item("Book").paragraphStyles.item (selected_paraStyle.sel ectedIndex);

    Browse open documents to index all the...

    {}

    my_document = app.documents.item (curr_document);

    Search in the document

    var found_words = my_document.findText ();

    Make index

    var my_contents

    check if words are found

    If (found_words.length > 0) {}

    To loop through the paragraphs, create a list of words and mark them as index words

    myCounter = found_words.length - 1;

    {}

    var found_word = found_words [myCounter];

    var my_topic_name = found_word.contents;

    check if the subject is not empty

    If (my_topic_name.length > 1) {}

    items have been found

    result_words_found += 1;

    / / Need to retrieve the page number as a variable here.

    Create the page reference

    my_topic.pageReferences.Add (found_word);

    }

    -myCounter;

    } While (myCounter > = 0);

    }

    remove unused topics from the index, just for cleaning

    break if a single active document is extended search

    If (selected_search_span.selectedIndex == 1) {}

    break;

    }

    curr_document += 1;

    } While (curr_document < app.documents.count ());

    display the dialog result...

    If (result_words_found == 0) {}

    Nothing found alert

    Alert ("nothing has been found, try again...");

    } else {}

    Alert ("made of indexing! \n"+ result_words_found +" items found.\n\nNow choose \"Generate index\"in the Panel Index to update your index.")" ;

    }

    }

    The number of the page on which there is a text is the name of the parent of the text of the parent text block page (if you know what I mean):

    var found_words = my_document.findText ();

    $.writeln (found_words [0] .parentTextFrames [0].parentPage.name);

    Is CS5 and later versions. In CS4, it's a little different, I forgot the details.

    Peter

  • Number of the page to start from another field

    Hi all

    I have a RTF model that shows a few bills. I have the invoice number and the page number that appear correctly. So if my report back 5 invoices I want for each bill page from 1 number. Currently, he does not like that.

    Now as a result:

    Invoice: has

    Page NUM:1

    Line: 1

    Invoice: has

    Page number: 2

    Line 2

    Invoice: B

    Page NUM:3

    Line 1

    Can begin it of Bill B by Page number 1 instead of 3?

    Kind regards

    Stoyanov

    Thank you for using for-each@section:G_INVOICE, instead of just for each.

    This will reset the page numbers for each invoice.

    Replace G_INVOICE with your actual bill group name.

  • Will not print, but 1/2 on the firefox page and only see half of the page to print preview, but will be printwhole page of IE and quickbooks.

    When I try to print anything on the Web, only the left part of the page will print, nothing in the middle right of the page display. It presents this when you preview before printing. I tried taking OFF reduced to fit and it still does not show the right half of the page, printing is just bigger.
    I can print anything Internet Explorer and Quickbooks, but not from Firefox. I downloaded all the versions up to 5.0. He did print prior to upgrade, but I don't know which version actually worked.

    See if the troubleshooting steps in this article solve your problem: problems printing web pages.

  • Number of the page in publisher bi

    Hello world!

    I have requirement indicating the page number and he'll recover about grouping data.
    for example:

    Fruit_a page1of2


    fruit_a page2of2


    fruit_b page1of3

    Can I create like this on rtf?
    Please share with me if there is a solution for this.

    rgrds,
    dityo

    You can use

  • Can not see the page or print preview in Notepad numbers

    About Notepad, I want to be able to see or print preview print page numbers so I want to know how many pages of the document is before I print it.

    On Wednesday, January 5, 2011 17:18:40 + 0000, Michellemlillie wrote:

    About Notepad, I want to be able to see or print preview print page numbers so I want to know how many pages of the document is before I print it.

    Keep in mind that Notepad is a text editor, not a word processor. There
    generally used for short text - things like files .bat files. Then
    calling for what you can produce with it a "document" is somehow a
    overestimation.

    If you want to produce documents, with things like page formatted
    numbers, you should get a word processing program. There are
    several choices, some are free, some for sale:

    1 Wordpad, which ships with Windows. WordPad is really more of a
    text editor glorified than a real word processor, but if your Word
    treatment needs are light, it could meet them.

    2 Microsoft Word, you can purchase either by itself, or in the context of
    Microsoft Office. It's a powerful word processor and the more
    a popular.

    3 OpenOffice which is free and is supposed to be compatible with
    Microsoft Office. It is partially compatible, but not perfectly.

    4. the processor which is part of Microsoft Works. Another light
    product to sell. It is not as good as the best choice, but it could
    meet your needs.
    5. one of several other products processing for the sale by
    companies other than Microsoft. My personal favorite word-processing,
    WordPerfect, falls into this category. WordPerfect is not free, but
    It is cheaper than Microsoft Word or office and in my opinion, one
    best product.

    Ken Blake (MS-MVP)

  • Number with the Device Manager appears as empty.

    We went from XP to Windows 7 forum>

    As you may have read in the title, my device manager is empty. Nothing, absolutely nothing is in it.

    Lately, my computer shows this message

    I said to uninstall my drivers in Device Manager", but I found this to be empty.

    Referring to this thread: http://helpdeskgeek.com/windows-xp-tips/device-manager-empty-or-blank

    I followed ALL the steps and the steps are already finished!

    Plug-and-Play is already set to automatic,

    all services are enabled,

    and "everyone, system and RIGHTS of the OWNER" are already there with verified correct variations.

    I have no idea what to do now.

    I have dozens of programs purchased on my computer such as Photoshop, Illustrator, FRAPS and a very broad portfolio of my work of graphic design and progress over 2 years.

    Running on Windows 7 Home Premium, with an AMD A6 - 3420 M with Radeon (TM) HD Graphics 1.50 GHz APU

    I've had this computer for 2 years and it was Symantec's Norton running on it.

    I can't really afford to lose all my work and programs, so if anyone can help, it would save my life. Right now I can't provide customers and I am short on time!

    Thank you very much

    Kade-

    You may or may not have checked the following (the screenshots you have included does not show one way or the other).

    1. in the Configuration System (msconfig), you should look at the tab "Services", not the "Startup" tab  However, do not have a lot of confidence in the suggestion to "allow all services" and especially not non Microsoft services, for any reason, previously disabled.

    2. for what is permissions for registry Enum key, your screenshot shows only permissions for "Everyone".  Have you also checked the permissions of the 'System' and 'Advanced' for all screen everyone and system?  Did you get any error messages when you tried to change the permissions, such as the following:

    What happened to your system recently - power surge/failure, installed new software or updates, used a system tuner or register cleaner, etc.?

    It is quite possible that Norton herself - or malware - can be at the origin of this problem.  I suggest to first temporarily disable Norton and then redo the steps of registry key permissions.  You can do it in Mode without fail and go into Services and stop the Norton services that may still be running.

    If disable Norton and reset the permissions does not help you, if you did not recently, download, install, update and run these two free programs.

    MalwareBytes AntiMalware

    SUPERAntiSpyware

    Use the free version, not the free trials of "pro" versions  Pay attention during installation uncheck any prechecked boxes that would install some additional third-party programs.

    Do not run the scans at the same time.  Each scan will take a while.  Start one and go do a non-it chore.  Once the scan is finished, leave the program to deal with anything it finds.

    Once done, you can keep or uninstall programs, or both.  If you keep SAS, I suggest to change its default setting does NOT automatically when Windows starts.

  • Number of the page links?

    I have a series of 3 pages to display in the order, page 1, page 2, page 3.  Is it possible to have a button that following the links to the next page in the order using the same code on each page?  Did since then?  I can't imagine a better way to specify it.

    Hello

    If these pages are generated dynamically the write you a little code that will check the name of the current page and use it will generate the link to the next page. But if all this is static HTML pages then you will need to manually give the respective next page link in a tag href of the next button.

    Hope this helps,

    See you soon,.

    [Advertising link removed by Moderator]

  • HP Photosmart C6180: analyzing the number and the number of the Page fault

    I am totally computer illiterate, so please forgive me if I ask you something which is 100 times or if I have no sense.

    I am receving the message 'no. Scan Options '. I'm trying to use printing HP and the Scarn Dr. 4.6. He says that my system needs an update to resolve this issue. When I click on update, I gives me this message: the service or the information requested is not available at this time.
    Please try again later.

    (Error: system-websrv_unavail)

    How to fix this?

    My computer is model a6683w if it matters. Thanks in advance.

    Hi Ryleighsmom,

    Do you appreciate the steps by train even once, so again, it does not solve the issue, I would like to as you try the following steps:

    I hope this works for you and please keep me updated!

  • How to access the page of a page number?

    I spent hours on the site of jongware, try to understand this. Can someone give a help?

    It depends on what you mean by page number. There are 2 options: (a) the physical number of the page, the first page of count 0; (b) the name of the page (page xii, etc.).

    To get the physical number of the page, taking into account my page as a Page object:

    myPage.documentOffset

    To get the name of the page:

    myPage.name

  • How to retrieve the page number of a page

    Hello

    I need to retrieve page which have been implemented with InDesign pages numbers. However, these page numbers are generated automatically based on markers (formula) created by using a master page. (Insert special characters-> markers).

    When I try to retrieve items from the page on a page, I'm not able to obtain the page number. If I try to get the pageitem corresponding to the page number of the page master, I retrieve the marker but not the page number that is on my page.

    I wonder if there is any way I can retrieve the page on a given page number using the SDK

    Thank you very much

    Sam

    Hello

    Have you tried GetPageString of IPageList?

    Concerning
    Bartek

  • [JS] [CS3] Get the Page number

    Hello.

    I need to find the number of the page containing a frame.

    Normally, I would use "myFrame.parent.name" to find the page number. However, I can't use this method on a line chart.  What I'm getting back is the story, which has no page number.  I've used in various ways, such as:

    myFrame.parent.insertionPoints [0] .parent

    but nothing returns the page number.  I looked at all the properties of the frame and impossible to find a property, I can handle to extract the page number.
    Is this possible? Should I give up now?
    See you soon
    Roy

    Use the code below,

    myFrame.parent.insertionPoints [0]. parentTextFrames [0]. parent.name

    Kind regards

    Imagine.

  • Is it possible to see the pages that an image is used on through the use of page indicator?

    I create a book 5 Lightroom and really like that it shows me the number of times that that a photo was used in the book.  Is there a way to see where it is used?

    Click on the mouse exactly on the indicator 'Number' and the pages will go to the yellow-culminating point where this image was used. (be in multi-page view CTRL + E)

  • Is there a way to reset the Pages window?

    I'm working on a document from InDesign page 102, but the Pages window is suddenly empty. I don't see the master pages or the pages of a Document.

    https://forums.Adobe.com/thread/526990?start=0&TSTART=0

  • How can I add two pages just before page 7 of the book, which will change all the page numbers that follow?

    Hello

    I'm close to finishing a book of 257 pages.  All pages are numbered automatically down, and I spent a few weeks carefully constructed an Index at the end of the book that has all the right page numbers listed for everything.  So whatever I do, I can't change my page numbers.

    But at this late stage, I would like to add a few epigraphs (quotations) in four or five places (I just got this idea today, I'm afraid).

    Is it possible to add a few pages here and there (I will add two pages at a time, I know, or he'll hit all the pages that follow, half of them designed to be left, and half designed to be on the right - off) that are not numbered, and that will not affect the numbering of the following pages?

    Kind regards

    Malcolm

    It is not Automatic way. If you are ready to have unnumbered pages which are not included in the number of pages, you can, for each page the inserted value

    (1) select the first page after the pages will be added

    (2) in the menu pages palette, use the Options Section and number and the page number of started with the value what it is already. In this way, adding pages will not affect the numbering.

    (3) in order to avoid conflicts with the new pages page number, set their numbering on something else as 1,2,3. (as i, ii, iii, for example)

    For later use, you can configure your index with the indexing of InDesign tools, if a false problem, as you would have been able to add the pages and then re - automatically generate a correct index.

Maybe you are looking for