Block a form depending on XFA version

Hi all,
I'm authoring a form with scripts supported only from XFA 3.0/Acrobat 9.1
(see http://blogs.adobe.com/formfeed/2009/03/xfa_30_list_of_invalid_fields.html for details).
I would like to alert the user if he/she opens the form with an older version, then I want the form is freezed and not printable.
How can I do?
Thank you,
Fabio

You can get the version of the host by using "xfa.host.version" command.
You can freeze (mean you can make the form non editable) but may be you can not stop the user to Print the form.
You can make the form readonly by making the access property of the top most subform to "readOnly".
Other approach you can consider is if the version does not match then display a messagebox to the user to download a newer version and close the app by using "app.execMenuItem("Close");" command.
Thanks
Srini

Similar Messages

  • Wrong warning? to open with Reader (9.3.x or higher) "This PDF form requires a newer version of ..."

    Hello
    I have a problem with my form, when opened with Adobe Reader Version 9.3.0.148 (included) or higher Reader systematically shows the annoying message "This PDF form requires a newer version of Adobe Reader ...".
    I work with 3 versions of each form:
    1) Dynamic PDF Form XDP: Generated with Adobe Designer ES 8.2, (target version "Acrobat and Adobe Reader 8.0 or later. "
    XDP form has no "Warings"
    XFA-Template:
    2) PDF Form, generated from the XDP form of point 1), using Adobe LC Forms ES2 "renderXDPForm" method.
    3) Flatten PDF, generated from the PDF form, resulting in point 2) value, using Adobe LC Assembler ES2.
    DDX:
    I have generated 3 different PDF rendering, changing only the "target version":
    a.1 PDFFormRenderSpec.setAcrobatVersion (AcrobatVersion.Acrobat_6): MyForm-ES-AcroVersion6.pdf.
    b.1 PDFFormRenderSpec.setAcrobatVersion (AcrobatVersion.Acrobat_7_0_5): MyForm-ES-AcroVersion7.pdf
    c.1 PDFFormRenderSpec.setAcrobatVersion (AcrobatVersion.Acrobat_8): MyForm-ES-AcroVersion8.pdf
    Of all that I've created a flat version using Assembler:
    a.2: MyForm-ES-AcroVersion6-flatten.pdf
    b.2: MyForm-ES-AcroVersion7-flatten.pdf
    c.2: MyForm-ES-AcroVersion8-flatten.pdf
    Attach all forms of work[zip 4 download].
    Well ... I tried to open all forms generated (six) with versions of Adobe Reader from 8.1.0 to 10.0.1.434 X and the findings are that the annoying warning message is displayed only with the flattened forms and from version 9.3 .0.148 (included) or higher.
    Table of test, where
    OK= No message at open.
    Err= Message displayed.
    I do not understand or just logical that the most current versions (and higher) Reader is precisely this message to appear at what may be due? What's happening?
    Why the message is taught only in the flattened forms?
    How I can solve this problem?
    Thanks.

    I do not use the method "renderPDFForm" (at least not explicitly), instead use the "renderXDPForm (...)".
    I added the XDP form the zip (I forgot): download from here!
    And the only parameter that you can tell this method over the "target" of the resulting PDF is "com.adobe.idp.services.PDFFormRenderSpec. "
    /* Common to all generated PDF */
    com.adobe.idp.services.PDFFormRenderSpec renderSpec= new com.adobe.idp.services.PDFFormRenderSpec();
    renderSpec.setLinearizedPDF(true);
    renderSpec.setLocale("es_ES");
    renderSpec.setRenderAtClient(RenderAtClient.No);
    renderSpec.setCacheEnabled(false);
    renderSpec.setStandAlone(true);
    /* Target version 8 o superior: Usede ONLY to generate "MyForm-ES-AcroVersion8.pdf" */
    renderSpec.setAcrobatVersion(AcrobatVersion.Acrobat_8);
    /* Target version 7.0.5 o superior: Usede ONLY to generate "MyForm-ES-AcroVersion7.pdf"  */
    renderSpec.setAcrobatVersion(AcrobatVersion.Acrobat_7_0_5);
    /* Target version 6 o superior: Usede ONLY to generate "MyForm-ES-AcroVersion6.pdf"  */
    renderSpec.setAcrobatVersion(AcrobatVersion.Acrobat_6);
    After this, process PDF forms resulting in Assembler.
    I tried also NO explicitly assign the "AcroVersion" ... and in such cases, the resulting AcroVersion indicated corresponds to the time of design (Adobe Designer, File / Form Properties / Default / Target Version), and in such cases the resulting PDF, also displays the warning message.
    I do not know if I answered your question.
    Any idea?

  • Title first block of form?

    I am developing a Form with Oracle Designer 2.1 and I have a small problem with it. It will not display the title of the first block. In the Generator Preferences I already have set the preference the BLKTFB (title first block of form) to YES and also the preference PAGTFB (title first block on content canvas). Can anyone help me out with this problem?
    It's just a normal block with no item groups or something in it.
    Cheers,
    Ronny Soemarsono

    Harm,
    I have searched for the BLKTLP, but there still isn't a preference. We use Designer 2.1 version 2.0.24.2.0
    I have asked Oracle support for a solution; they told me that in our Designer version, the BLKTLP preference does not exists.
    I can also do a post generation in Forms Builder. That's a solution, but unfortunately no created form that is generated 100%
    Cheers,
    Ronny.

  • How to block the Form Settings for Main Menu to use ONLY "My Menu"?

    Hi everyone:
    Our customer wants to define an User Menu (My Menu) for each B1 user within the company and restrict the Modules at main menuu2026
    How can I block the Form Settings for the Main Menu?... It is possible to give an user Only access to My Menu and denied Authorization to the Modules?. 
    I appreciate your help!!. Thanks very much
    Claudia Gutiérrez

    Hi,
    'My Menu' refers to the third tab on the Main Menu, and the
    authorization of 'Organize My Menu' works as below:
    - Full Authorization: Allows the user to access the Organize User Menu
      window (Tools -> User Menu -> Organize) and customize the menu.
    - No Authorization: The user cannot open this window.
    Check the Note  [1062635|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1062635] if you are looking for it.
    Regards,
    Jitin
    SAP Business One Forum Team

  • I am unable to edit a form created with LiveCycle version 8.5 with LiveCycle Version ES1.

    I am trying to edit a form created with LiveCycle version 8.08.2073 (installed with Adobe Pro 8).  I am using LiveCycle version ES (installed with Adobe Pro 9).  I can open the fhe form, but the tools are greyed out.  It apears the file is locked for editing, but I cannot determine where/how to unlock it.

    You should try to start in safe mode which runs a file check. You hold the shift key down during a start up till there is a progress bar towards thr bottom of the screen. This start will take a longer time than normal. In safe mode try the functioins you are having problems with to see if there is an improvement. Some links below to read.
    http://support.apple.com/kb/ht1564
    http://support.apple.com/kb/ht1455

  • How to add a version by default depending on previous version found in db of a record?

    Hello,
    How to add a version by default depending on previous version found in db of a record?
    E.g                        ID 0001  Version : 1
            when inserting id 0001 version 2.
    I want the version to be added automatically on insert , depending on id input.
    Thanks.

    Hi,
    I think using a trigger is better choice.
    from application, you should manage concurrent processes.
    Regards

  • PDF Form Requires a newer version of Adobe Reader

    New at this...Created my form in Live Cycle 8.0/Professional 8. Throughout company we are using Acrobat Reader 7.0 and are not at this time looking to upgrade. When our users open this form, get "This PDF form requires a newer version of Adobe Reader..." and prompts them to upgrade. Is there anyway I can get rid of this message...a way to make my form know that users will be opening in 7.0 and accept without error?
    Also, I'm not able to get the Submit to Email button to work...getting "This operation is not permitted"...how can I fix?
    Funny thing is I had been able to get the e-mail button to work at one time, but now, all of the sudden, it doesn't want to work...even on my machine which has Live Cycle/Professional 8 loaded?????
    Thanks!

    Geo,
    Thanks for the quick response. Tried and received: "This PDF document contains an Adobe XML form. Such files cannot be optimized.
    Help...thanks again

  • Adobe Reader XI did not save the form data (unlike previous versions). Any way to recover file?

    Adobe Reader XI did not save the form data (unlike previous versions). Any way to recover filled form with data from temp locations?
    I was not aware that ctrl+s no longer works in reader and closed the PDF after savign it(with ctrl+s). However ,the data is lost and there seems to be no way to recover it.
    I cannot find any temp files created by Reader on my system.
    Also to my surprize(and shock), the reader did not even show a warning before closing the PDF. Does anybody know if/where can I recover the file from?
    Guys, Please reply ASAP if you have got any sort of solution!

    Hi Pat,
    Are you using Adobe Reader XI? And not Acrobat. It does not ask me to save the form if there are unsaved changes.
    I have used previous versions of reader for saving this form data and it did allow me to save it with ctrl+s. And those versions did prompt me to save the changes before closing.
    I guess I should not have updated the reader.

  • This PDF form requires a newer version of Adobe reader !?

    Hi there
    I use LiveCycle 8 and I design forms for a target audience using Acrobat Reader 7..
    My problem is whatever I put in a form, I get a really annoying message when opened in Acrobat reader 7
    This PDF form requires a newer version of Adobe reader, Without a newer version, the form may be displayed but not work properly etc....
    This doesn't inspire confidence for the user.
    I get this message even if I open a new form, add a single textfield and save as Acrobat 7 PDF form.
    Is there a way around this ?
    Thanks
    Chris

    I am not too sure, I thought that saving as Acrobat 7 pdf,would do that. Is that not the case ? Are you referring to something else ?
    Thanks
    Chris

  • How to run others application in Oracle Forms on the web version?

    How to run others application in Oracle Forms on the web version?

    Pang,
    guess that you want to start client side programs from Forms on the Web. There is a sample on OTN (host bean) that allow you to acces sthe client and start executables.
    Frank

  • How to block running forms outside of the FORMS_PATH

    I need to know if is there a way to block any form outside of the FORMS_PATH and allow just those located in the directory specified by FORMS_PATH
    thanks beforehand.

    Hi Alvaro,
    I assume you have a "starter/main" form for your application. If that is the case (and if there is no need for the user to specify the form name explicitly), you can add "form" to the restrictedURLParameters (under formsweb.cfg) and also set the form name in there itself.
    For ex.
    form=login
    restrictedURLparams=....,formAfter this, the user would not be able to specify the form name in the URL while running, which in turn, would restrict them running any forms (apart from the desired form you mentioned in the "form").
    -Arun

  • Designer form prompts Reader X error:"This PDF form requires a newer version of Adobe Reader"

    I have a PDF form that was created using LiveCycle Designer ES 8.2. PDF version 1.6, so it's good for Reader 7.x and above.
    When someone using Adobe Reader X tries to open the form, they get this javascript error message:
    "This PDF form requires a newer version of Adobe Reader. Without a newer version, the form may be displayed, but it might not work properly. Some form elements might not be visible at all. In an internet connection is available, clicking OK will download and install the latest version."
    Is there anything I can do to the form that would make this error message go away? Is this a know issue with Adobe Reader X or Designer?

    Is there any code running on the form?
    Reader X has come out with additional security features that must be disabled to get any PDF form w/code to work.
    Open Adobe Reader X --> click on Edit --> Preferences.  Under the General Category, uncheck "Enable Protected Mode at startup" (last checkbox in the dialog box).  Click OK and try to open your form.

  • Form 11g - Is is possible to block specific forms access when user directly type form name in url ?

    Hi everyone,
    We have XXF000.fmb, XXF001.fmb , XXF002.fmb , XXF003.fmb in 6i.
    For migration to 11g , we recompile these forms and move fmx to 11g form server under form_path.
    In 6i , we login for validation & responsibilities control in XXF000, So we can use account info to verify if user have priviledge to access XXF001, XXF002 and XXF003.
    But in 11g , we can access these forms vial url request , such as : http://<host>:<port>/forms/frmservlet?form=XXF000   ; http://<host>:<port>/forms/frmservlet?form=XXF001  ... etc
    These may cause some unexpected access and operations in functions.
    Is is possible to block specific forms access when user directly type form name in url ?
    Thanks.
    Hendry

    You need to alter your formsweb.cfg file, either directly or through the Fusion web interface. You need to set the following parameters:
    #this sets the default form for your application
    form=yourmenuform.fmx
    #this stops these parameters being entered in the URL, seperate different parameters with commas
    restrictedURLparams=form,pageTitle,HTMLbodyAttrs,HTMLbeforeForm,HTMLafterForm,log

  • Fetching The more then One Company ID by using PLSQL Table on Block B1(FORM

    I have two blocks in Form (Forms 10g) .On the Block B2 I have populated the Company Id by using the PLSQL Table.Now I selected more than two company ID from that Block ...I just want to keep the Company ID in the Temp Field on the Block B1.which I have selected on the Block B2.Any idea how can I assign more then one Company ID to That Temp Field on B1.

    This doesn't appear to have any connection to JMS or indeed to Java. Wrong forum. Locking.

  • Data blocks in forms 6i, can not see the data

    i have built an application in forms with some data blocks. the blocks a connect to some tables in the db. i have built them connectd as "system". but when i run the applicatio as user x i can do select, insert, update, delete, but i can not se the records in the datablocks (they are empty), but i can do all transactios. why?

    First of all, developing from the System schema is not a good idea.
    Who owns the tables your form is connecting to? The table owner should create a public synonym for each table name, and also needs to grant user x access to the table.

Maybe you are looking for

  • Wi-fi connection drops after Mavericks update.

    Currently running an 8GB, 2.9 GHz, Mid-2012, 10.9.1 Macbook Pro. Ever since installing Mavericks, my macbook continuously drops the wi-fi connection while still connected to the router. In some cases, it drops the router completely. I go through the

  • MBP owners: Recommend an external HD?

    So I've been convinced that an external HD, combined with my occasional CD-R burnings, is the best way to go for backups. What brand would you recommend? I'm looking for the best balance I can between cost and dependability/longevity. I have extremel

  • Problem in RBDMIDOC report

    Hi, I am using Idoc to transfer HR Master data from SAP to CRM and am using message type HRMD_ABA. Iam using RBDMIDOC (TRAN - BD21) to create DIOC and the transfer the data which is schedule periodically. Now my reqirement is that i want to use INSER

  • Install 2 OraMTS on the same DB ?

    Hi, I have installed an Oracle Service for MTS on my Internet Web Server in my company. Everything work well with my application. My problem is that if I try to install another Oracle Service for MTS on my developement computer, targetting the same d

  • Support for Growing files (DNxHD wrapped in MXF) from EVS in Premiere Pro?

    We are using Premiere CC Pro on the Mac-plattform against a shared storage soulution. We need to be able to open growing files from an EVS system to edit soccer-highlights while the matches are still playing. The problem is that the codec is DNxHD 12