Extending Reader Rights causing Initialize event to fire twice?

I have a few drop-down boxes populated by scripts on their respective Initialization events. Everything worked great through development--except, when I demonstrated the form for a group, I noticed the drop-down boxes were populating twice. I wasn't using a clearItems()--shouldn't have needed it, right?
So, this was something I couldn't reproduce in Desiger. Once the the Extended Rights had been removed, the form performed as expected in Acrobat, and Reader, too. Put the Extended Rights back on, and the drop-down boxes are double populating again. Take the Extended Rights off, no misbehaving, everythings fine. Extended Rights on, bad doggie, no biscuit!!
Now, obviously I can get past this by using clearItems(), or moving the scripts to preOpen. However, I'd like to know what the heck is causing this? Is this a bug? a known issue? or is it something caused by something somewhere else in the form? I have always assumed forms would behave the same with or without Extended Rights. But it looks very much like the Initialize event is firing twice upon opening with Extended Rights.
Any insights out there?
Thanks,
Stephen

Hi Stephen,
I have come across this before and thought I had a "proper" answer, but I can't find it. I think that when reader enabling rights are applied by Acrobat the the form does a check as part of the opening process. There appears to be a bunch of events that fire twice when the form is reader enabled (in Acrobat - I can't test if the form is enabled in LC RE ES2).
Here is an example showing how, when and in what order, events fire.  The form is at the end of the post (at http://cookbooks.adobe.com/post_How_often_events_fire_and_their_sequence-16547.html). There are 13 objects in the form, whose events are tracked.
When the form is not enabled the start up looks like this (certain events firing once as expected):
When I apply the reader enabling rights through Acrobat, the firing of events doubles for:
initialise;
form:ready;
layout:ready
IndexChange;
docReady.
One indicator of what is potentially happening is that in the RE version the preSave event fires (but not postSave event).
Not the full answer - just an indication.
Good luck,
Niall

Similar Messages

  • Is there a way to automatically extend Reader rights in a form?

    I have to automatically retrieve data from forms, process it a little bit, then populate another set of forms with it, make those forms signable (i.e., extend reader rights) and post them on the web. I have everything working except the reader rights extension. I've looked at third-party librearies (e.g., pdfLib) but I've read that only Adobe software can do this.
    Is there a specific piece of software from Adobe that can be called from the command line (or, if needing human intervention, can work on many forms at once), and extend the reader rights of forms?
    Thanks,
    Andres

    which LiveCycle? can it be done in ver.7?
    if yes-how?

  • Dynamically adding to PDF after applying Extended Reader Rights

    All,
         I've created a PDF with a digital signature in Acrobat X Pro and applied the extended Reader rights. What I am trying (and failing) to do now is add new pages to the PDF via a Java library (BFO) on a server. When a user eventually brings up the PDF in Reader, they receive a warning about how the extended rights have been revoked since the PDF has been modified. Is there any way to maintain the rights while building the PDFs? Or is the only way to dynamically build a PDF with a digital signature that can be user-signed in Reader through the LiveCycle/ADEP services?

    You have to prepare the PDF BEFORE you add the extended Rights.  Once it's been rights enabled, you can't modify it w/o breaking the rights.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Mon, 14 Nov 2011 14:32:38 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Dynamically adding to PDF after applying Extended Reader Rights
    Dynamically adding to PDF after applying Extended Reader Rights
    created by j.ross.e<http://forums.adobe.com/people/j.ross.e> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4025497#4025497

  • Saving pdf form with extended Reader rights

    Hello,
    I want to save form changes without further confirmations in Reader version X ("Save" and not "Save as...").
    - If you use a pdf form with enabled Reader rights, you should be able to save any changes made in form field by using the Reader.
    - To save changes use "File / Safe" or press CRTL+S
    Result:
    - Save-as window will appear
    - After choosing save button you will be asked to overwrite existing file.
    Expected results:
    File should be saved without further confirmations! In Reader version 9 there was no problem with that.
    Does anybody had the same problem and found a solution?
    Regards,
    Christian

    OK, it seems to be a typical "it's-not-a-bug-it's-a-feature"-problem. But I found no way to avoid the overwrite question during saving. I noticed that the question appears only the first time when you click on the save button. If you do further changes in form fiels and click a second time on the save button the document will be overwritten without additional warnings. Maybe it's a feature to prevent users from overwriting empty forms by asking for a new filename and so on..
    However, we are using the reader in conjunction with a document management software and the overwrite warning disturbs our enterprise workflow. So the only insufficient solution for my problem is to downgrade all users to version 9 again.
    Hope next version of reader will be better in disabling unwanted features ;-)
    Regards, Christian

  • Merged pdf with "extend features in adobe reader" rights

    Hi all,
    I would like to merge a pdf file into my basic pdf form with "extend features in adobe reader" rights but I would like to keep my basic form without those rights.
    My problem is that when I try to open my basic form and link to my merged attachement file, the merged file becomes not modifiable even with "extend features in adobe reader" rights turned on.
    Any suggestion to solve my problem?
    Thx in advance for your help

    Not possible with Adobe Acrobat. You may check this product:
    http://www.adobe.com/products/livecycle/readerextensions/

  • Urgent : One Event alert Cause another Event Alert to Fire Aslo

    Dear Friends,
    i have two event alerts say :
    xx_employee_termination (After Insert - on PER_ALL_PEOPLE_F) -- Fires once i terminate any employee.
    xx_proposal_approved (after update - on PER_PAY_PROPOSALS) -- Fires once i approve any proposed salary
    my issue is
    When i terminate any employee it will update also PER_PAY_PROPOSALS which cause xx_proposal_approved alerts to fire if his status is (Approved)
    So, How to stop firing of Proposal Alert if i terminate any employee?
    Waiting for help friends,
    Regards,

    some would say why did you keep PER_ALL_PEOPLE_F instead of (per_periods_of_service)
    it is same..
    termination would affect Per_all_people_f ,per_pay_proposal ,,,,etc

  • Report Viewer refresh event causing window event problems

    I have a winform with a report viewer control and a couple of grids.  When a cell in one of the grids is edited the report gets refreshed (when focus is lost from the cell) this refresh appears to empty the event stack for the whole window.
    For example if I edit the cell then click the ok button the report refreshes and the button click event is lost.
    Also if I edit the cell and click on the report viewer then the grid itself stops firing events outside its control.
    Can anyone explain this behaviour so I can work around it?

    I am handling the celledited event on the grid (janus gridEX control) which fires when the focus is lost from the grid and the user has edited something.
    The event code calls viewer.RefreshReport() which successfully updates the report with the new data (via the common dataset both use as a data source).
    This is all running in a dialog box.
    The problem occurs when the user edits the grid and then immediately clicks the ok button.  The call to RefreshReport seems to stop the button click event firing.
    The second problem occurs when the user edits the cell then clicks on the report viewer to cause the celledited event to fire and the report to refresh.  Everything seems to work fine however if the user tries to edit a cell again the celledited event does not fire anymore unless you click on another row in the grid itself.  This behaviour only happens when clicking on the CR viewer when clicking any other control the behaviour is as expected.
    Whilst the CR viewer may not directly be the problem something is occuring when it is refreshed and I would like to understand what is happenening to cause the strange behaviour.

  • Extended user rights and 500 users limits on a PDF Form

    Hello,
    I read that there's 500 users limits for using extended user rights on Acrobat Pro 9.
    Here's my situation:
    - I built an application PDF form with extended user rights for Adobe Reader users to save the form. And I'm going to be hosting it on the web for users to download the PDF form to their local hard drive.
    - The form will have a button to submit to a web page with a script for processing FDF, XFDF, XML, or HTP form export.
    My question is:
    1. Would it be violating the 500 users limits if more than 500 users download the form and save the PDF after filling out fields, but not submit the data back to the server?
    2. What would happen if more than 500 responses are received through above method? Would new visitors still be able to save the PDF form for their archive purpose after downloading it from our web site?
    Thanks.

    Can Adobe's licensing department define "extract"?  I know there is a lot of confusion here and I'm trying to understand.
    Here is our scenario:  We have developed an Adobe fillable form which we will be sending to 1000 customers.  Customers can open the form (in Reader v9.5 and greater) and fill out the form, validate it and then print it.  The customers are not sending the PDF files back to us and the PDF data is not being collected so there is no data we can extract from Adobe files (we are not that advanced yet).  Customers will just print the information, then fax or send back to us by U.S. Mail. 
    When we receive the completed information (via fax/mail, not PDF), we read information off our form.  Does Adobe consider reading our information “extracting” with our eyes?  I’m not sure how they can consider that extracting?  I would think Adobe owns the mechanism (aka PDF file) for validating our content, but they wouldn’t own the content on our form if we want to physically read it, right?
    Adobe needs to clarify this more clearly and I’ve ready their interpretation of the Policy, but it doesn’t address this scenario.  http://www.adobe.com/products/eulas/pdfs/Reader_Extension_Policy_A10-5-31-2011.pdf
    George, I don't think you are an Adobe Employee.  I see you are a MVP, but you are not officiall speaking for Adobe are you?
    ---Thanks.

  • Saving Extended User Right Forms

    Hi,
    I'm attempting to bring my office up to date by using forms on computers.  Currently we still the type writer for some forms.  I fought to get Adobe Acrobat Pro and now that I have it I'm not sure it's doing what I want.  Suggestions on how to use this program better or get the 'right program are appreciated' (no disrespect to the Adobe Team).  I converted a form that was created from Word Document into a PDF.  I then Extended User rights.  I have the form made but everytime I go to save the form, I have to Save As: that is to say I just can't save the stuff I filled-in, in the same file and a new file is created.  With MS Word, even though I can't tab between forms, I don't have to make a new file.  Am I doing something wrong, is it possible to just hit Save in a fillable form and not have to create a new document or version?
    In the office, I am the only one with Adobe Pro 9 and the other people in the office mainly have Adobe Reader and not acrobat, so I want to save the forms using Adobe Reader.
    Thank you for your insights.  I've been researching this but no answer has come my way.
    Ricardo
    P.S. I am not trying to collect data from them, I just need forms to fill out and print and also save in the computer.

    You should apply the Extended User Rights as the last step in the process
    of creating the file. Once you do that, it creates a sort of signature on
    the file which prevents you from editing it further, unless you remove
    those rights. So get the file working the why you want it, apply the
    rights, and then save it under a new name. You can then publish the version
    of the file with the Reader rights, and continue working on the one without
    them.
    On Sat, Feb 11, 2012 at 2:01 AM, New at AdobeAcrobat Pro

  • CREATE OBJECT inside INITIALIZATION event in ABAP

    Hi everyone,
    I have one question, can we create object inside INITIALIZATION event. Why, I am asking this question is, because most of the time I have seen people to create object inside start-of-selection. Please give your thought on this.
    The code I have just coded below is also right or wrong?
    CLASS lcl_build_data DEFINITION.
       PUBLIC SECTION.
         METHODS : constructor,
                            get_all_files,
                             validate_site.
    *-- Private Section declaration
       PRIVATE SECTION.
             METHODS : clear_and_refresh,
                                display_output.
    ENDCLASS.                 
    *** class declaration,  create instance for the class
    DATA: gv_data     TYPE REF TO lcl_build_data.
    INITIALIZATION.
    *** Create class object. Constructor method will be called to Refresh
    *** and Clear all internal tables and Work areas
       CREATE OBJECT gv_data.
    *                    AT SELECTION-SCREEN             *
    AT SELECTION-SCREEN ON s_vkbur.
    *** Sales Office validation
       CALL METHOD gv_data->validate_site.
    *                START-OF-SELECTION                    *
    START-OF-SELECTION.
    *** Get the list of all files from unix dir.
       CALL METHOD gv_data->get_all_files.

    Since you are using the same object for your Selection screen related events, AT SELECTION-SCREEN, you would have to instantiate the object in the INITIALIZATION event. If your object usage is just for the data - In case you use the MVC design pattern, you should push back the object creation in START-OF-SELECTION.
    Regards,
    Naimesh Patel

  • INITIALIZATION event of Tabstrips in Selection screens

    Hello all.
    I created a selection screen with 6 tabs. Each tab is a "standalone" transaction with it's own logic (i.e. tab1 will execute form 1, tab2 will execute form 2 and so on).
    In the end each tab will display an ALV report.
    The problem: after the display of the ALV or if no data was found (an error msg. is displayed), the screen goes through the INITIALIZATION event and the tabs are reset again into the first (default) tab. So if the user in in tab4 and no data was displayed - he get's the error msg. and the selection screen displays tab1 again. All the selection data the user has entered into tab4 is still kept in tab4.
    Is there a way to bypass the INITIALIZATION event or control the activetab?
    Thanks and regards...

    May be to each subscreen you have given the First screen as next screen, that is why this is happening.....
    change the screen numebr of next screen of subscreen to itself.. then u should not get this error
    Regards.....

  • Generate or Preview XML when Extending Reader Options using Adobe LiveCycle Designer

    Hi,
    I am trying to view the generated xml when reader options are extended. However, when I try to open the reader extended PDF in LiveCycle Designer, it says you will lose reader options. Is there any other way in which I can compare the generated XML before and after extending reader options?
    I am having issues processing PDF after extending reader options as the generated xml is generating the following error.
    "XmlException was unhandled by user code, Data at the root level is invalid. Line1, position1"

    May be you can try this way to get the XML before and after the Reader extensions.
    1) Place a Text field with multi line allowed.
    2) Place a button on the form with the following in click event.
          TextField1.rawValue = xfa.data.saveXML("pretty");
    3) Open the form in either Reader/ Acrobat and click on the Button. Save the XML data in a file that was assigned to the TextField.
    4) Reader extend the form.
    5) Repeat the step 3 again to capture the XML from the form after Reader Extensions.
    This way you can get the XML from the form before and after.
    Thanks
    Srini

  • Initialization event

    Hi Gurus,
    I found the follwoing statements from SAP help
    Initialization event can be used to initialize the input fields of the standard selection screen.
    This event keyword defines an event block whose event is triggered by the ABAP runtime environment during the flow of an executable program, directly after LOAD-OF-PROGRAM and before the selection screen processing of any existing standard selection screen.
    Now my doubt is if a program doesn't have a selection screen does Initialization event would still get called?

    yes it will call initialization even if it doesnt have any selection screen fields.
    For example,
    code -
    DATA a TYPE i.
    START-OF-SELECTION.
      WRITE a .
      a = 9.
      WRITE a.
    INITIALIZATION.
      a = 10.
    now answer will be 10 and 9.
    So the value for A will be 10 first which is set in intialization event.

  • Need an event that fires for child containers on tabnavigator change

    I have a tabnavigator with canvas containers representing
    pages in a web app. What event can I attach to each canvas
    container's implementation actionscript file that will fire
    whenever that canvas comes into view via the tab selection? (sort
    of like an onload event). This event is used to refresh data for
    that particular page, so I need it to fetch data whenever the page
    (tab) is selected.
    I do not want to attach any events to the tabnavigator itself
    so that the implementation is generic at the container level. I
    tried several events, such as show and creationComplete, but the
    creationComplete event only fires the first time when the canvas is
    instantiated.
    Maybe this is really easy and I am just missing it
    somehow...

    "show" is the first thing I tried, but it will only fire if
    the canvas is shown after coming from another sibling (ie another
    tab or link in the same navigation control).
    I created a small test file here:
    http://webpages.charter.net/brandonmb/files/test.mxml
    that uses a linkbar inside a tabnavigator. In my regular
    application, the linkbar is actually another tabnavigator, but this
    demonstrates why I don't want to attach any events to the
    navigation control.
    You will note that the first link under each main tab has a
    show event defined. This will only fire if you click another
    sibling, then come back to it.
    I need an event to fire ANY time the canvas (ie the content
    of each subtab) comes into view, for whatever reason. This event
    will trigger code to fetch and refresh data on the page.
    You would intuitively think that "show" would do just this,
    but it doesn't (unless I am doing something wrong). It should fire,
    for example, when the user clicks the main tab, and the first tab
    is selected by default. It should also fire if I click the same
    link it is currently on (but I think this has to do with the fact
    that Flex disables the current link for some reason, instead of
    showing it as a 'selected' color).

  • Examples for Initialization event

    can any one give some examples for initialization event
    with regards
    nagaraj
    Moderator Message: Basic question. Thread locked.
    Edited by: Suhas Saha on Nov 8, 2011 12:56 PM

    Hi,
    plz search..

Maybe you are looking for