Need to flatten form fields in pdf

After a reader extensions enabled form has been submitted, we need to preserve a read-only version of the pdf. Where in the tangled mess of products and api's would I find a server-side version of the PDF Optimizer's flatten form fields feature?

Thank you Paul!
Could you please be so kind to help me build the right XFDF file?
I have tried already something like this:
<?xml version="1.0" encoding="UTF-8"?>
<xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">
<f href="Form.pdf"/>
     <fields>
          <field name ="DATASET">
               <field name ="FIELDNAME"><value>1</value></field>
          </field>
     </fields>
</xfdf>
But it doesn't work
I also have tried to fill it using xdp
Like
<?xml version="1.0" encoding="UTF-8"?>
<?xfa generator="AdobeLiveCycleDesigner_V8.0" APIVersion="2.5.6290.0"?>
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
<xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
   <xfa:data xfa:dataNode="dataGroup"/>
   <dd:dataDescription xmlns:dd="http://ns.adobe.com/data-description/" dd:name="DATASET">
         <FIELDNAME />
   </dd:dataDescription>
</xfa:datasets>
<pdf href="Form.pdf" xmlns="http://ns.adobe.com/xdp/pdf/" />
<connectionSet xmlns="http://www.xfa.org/schema/xfa-connection-set/2.4/">
   <xmlConnection name="Datenverbindung" dataDescription="DATASET">
      <uri>.\blank.xml</uri>
   </xmlConnection>
</connectionSet>
</xdp:xdp>
and blank.xml
<?xml version="1.0" encoding="UTF-8"?>
<DATASET>
   <FIELDNAME>Test</FIELDNAME>
</DATASET>
It doesn't work either.  In both cases the PDF opens but the data will be not populated. :-(

Similar Messages

  • Can we selectively flatten form fields in a PDF file?

    I have a PDF with some form fields in it. I want to selectively flatten a few form fields in the PDF using a java API. I have checked the documentation and found a method transformPDF in the OutputServiceService. But this method flattens all the form fields in the PDF document.
    Can we selectively flatten form fields in a PDF file? If yes how?
    This was possible in Adobe Document Server V6.
    Regards,
    Ragha

    You will need an event in the form that will indicate that you want the flattening done. Once you determine what that is it is simply a single statement for each field:
    fieldname.access = "readOnly";
    Now when the form is rendered, the user will not be able to get access to these fields.

  • Acrobat Flattening Form Fields and Optimizing for Web

    I'm trying to optimize a PDF for the web and flatten all the form fields. I also want to remove the purple dialogue box at the top when optimizing on the web. Has anyone else experienced this problem? I've toiled around with it for some time and can't seem to figure it out. In the older version, I would simply save it as a file optimized for the web, which would then flatten all the form fields and remove the purple box at the top. Any help would be appreciated.

    Your question really belongs in one of the Acrobat forums. I flatten form fields (use the pre-flight tool) and then save for the web.

  • Is there any api to modify the form field in PDF?

    Hi,
    Our client need we provide the editable PDF, i.e. some form fields in the PDF report can be edit. Now we created the PDF template and merged it with the XML data definition in Jdeveloper, but when we get the final PDF report, we found that the PDF form field property is changed to "Read-Only" automatically. We make sure that in PDF template the form field is not "Read-Only", something happened when we merging the XML data and the PDF template.
    Now we wonder if there is any API can help us to modify the PDF form field property, after we merge the XML data and PDF template, we can use it to change the form fields to editable, not "Read-Only".

    Hi,
    What I need is to modify some form fields' property, I explore some web and found before I create the PDF file, I can set the security of the PDF:
    Properties prop = new Properties();
    prop.put("pdf-security","true");
    prop.put("pdf-open-password","welcome");
    So I wonder if there is one property related to the PDF form field.
    Thank you.

  • Flatten Form field Only or specific field

    I’m doing a PDF Form for a client. The client will use Adobe Reader XI to enter the data and save the results.
    I was using a button with a javascript to flatten the form field and do a save as. Everything work fine until I discovered that the flatten Javascript ALSO remove all the manually created links in the PDF.
    Like I have said, this will be done in Reader, so their is no way this people will use Prefligh, PDF Optimized features to achieve that.
    Someone told me it was impossible to (a) flatten specific form field by name, or (b) flatten ONLY the form field and keep links active using Javascript.
    Is this true? Does a workaround exist?
    Thanks!

    It is possible to selectively flatten annotations (including form fields), but it's not as easy as specifying a field name. For more information see the flattenPages documentation: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.466.html
    As you can see, you can control which annotations are flattened by controlling whether they are set to print or not. This is the basis of the following: http://www.uvsar.com/projects/acrobat/flattener/

  • Help needed in RTF form field to display yes or no based on xml value

    Hi,
    I have the data in xml as follows: <CP_ZERO_COST>2</CP_ZERO_COST>
    Now my requirement is, if CP_ZERO_COST is 2 then the column should display 'No' and if CP_ZERO_COST is 1 the column should display 'Yes'. Now this 'yes' or 'no' is not coming in xml tag. I need to do that in RTF form field.
    Could anyone please tell me how to do that?
    Please help.
    Thanks

    Try this:
    <?choose:?>
    <?when: CP_ZERO_COST = 2?><?'NO'?>
    <?end when?>
    <?when: CP_ZERO_COST = 1?><?'Yes'?>
    <?end when?>
    <?otherwise?><?CP_ZERO_COST?> --- You don't have to include this if the only possible values are 1 and 2.
    <?end otherwise?>
    <?end choose?>
    You can also use if then else logic. Ensure that you specify the correct path to get to CP_ZERO_COST
    Thanks!

  • Fillable Form field in PDF

    Hello All,
    I'm new to all things Oracle, and I'm not even sure if this is posible. I am using Application Express 3.1 and I'm trying to create a report that prints to PDF with fillable form fields. I am using RTF templates to create the layouts. I can get the PDF to publish with the information from the database, but I want to have extra fields in the PDF that the end user can type more information into before they print / save / send the PDF.
    So, Like a normal PDF, you can create a fillable form in it, but can you have the same results using the RTF templates? And if not, can anyone point me in the right direction for this? My SA's have changed all the settings in the BI Admin interface thing (they wont let me touch it) so that everything says its editable, but I can not even get this to work on my local machine using the BI Publisher Template Viewer.
    Edited by: user10939121 on Apr 15, 2009 2:16 PM

    Once you have edited the artwork re-save as pdf. Open your fillable form field pdf and choose Document - "replace form". Choose the NEW pdf and you should have the old fields with the new artwork.

  • Auto-generate form fields from PDF in LiveCycle?

    I have a PDF created with InDesign that is destined to be an interactive PDF form. For previous versions I have imported it into Acrobat and had it generate the fields based on the text columns I layed out in InDesign.
    I wanted to try for more function in my form, so I thought I'd use LiveCycle, but I can't figure out how to get it to automatically create form fields when I first import the PDF. Is this not something that LiveCycle does, or am I just missing something?

    Hi,
    I don't like automatically generated PDFs.
    But sure you can create this with the LCD. The only thing is that the acrobat recognize lines (for example) and place a textobject to this location. The LCD not really.
    Open the LCD
    Then select "New Form".
    Then select "Import PDF".
    Then select "Create"
    Then the software will try to recognize everything..
    My opinion is - THE BEST WAY to create a formular is this to create by myself in the LCD step by step. Then this software has so many possibilities...for really good PDFs.
    Kind regards Mandy

  • Is it possible to dynamically create form fields in PDF form?

    Hi all,
    I would like to dynamically create object like textbox, dropdown list from xml data. For example:
    When I receive following xml data:
    <field name="Check Box" type="selectbox"/>
    <field name="Text Field" type="textbox"/>
    I want to generate 2 form fields check box and text field with title "Check Box" and "Text Field" accordingly.
    Is it possible to do it in javascript for PDF form?
    Thank you and regards,
    Anh

    You cannot dynamically create objects on the fly like that but you can create interpret the XML and create an XDP file (which is the language of the template file) then bring that into Designer and create a PDF from that.
    Paul

  • Need help with adding form fields to PDF created in InDesign that includes links

    I created a collateral piece in InDesignCC that includes hyperlinks and bookmarks - I then used LiveCycle to add an image field and text field to the front cover so our sales folks can customize it before use - the sales people with Reader can't save it without the hyperlinks and bookmarks being lost. Anyone have an option on how to fix that?

    No.  Not at all.  I feel like I have clicked EVERYTHING.  Lol.  But obviously I have missed something.

  • Need to flatten or rasterize gigantic pdf

    Hi
    I'm having some problems here.
    I'm working in an indesign document that eventually will end up in a file with a size of about 24000x22500mm at 100 dpi.
    Since indesign doesnt allow that big files, I'm working in 1:10 at 1000dpi.
    I have managed to export a pdf in the appropriate size, but the problem is that I need to somehow rasterize it so that it becomes one continous image instead of consisting of a bunch of different ones as it is inside the pdf file.
    This is so that the printer that are going to print this thing on a vinyl floor doesnt crash trying to understand the file.
    Now, exporting the whole thing as a jpg doesnt work, cause windows or adobe wont allow jpg's of that size.
    I've tried spliting it in 6 or 8 equal peices with the goal of putting them back together, but that only makes indesign crash at 1000dpi. Finally I tried lowering it to 800dpi which stoped the crashing, but replaced it with a message that I dont have enough memory (I'm sporting 12GB at 2Ghz).
    So at the end, two questions:
    Can anything else be done in indesign?
    And is there some other program that can automaticly rasterize or at least flatten my pdf without having to open it? Can destiller be useful in this context? for some reason I dont have it..
    regards
    AE

    Hey guys. Woah, this really took some figuring out, but looks like I'm finally having a breakthrough thanks to all of you. Final answer was a compound one.
    Rob: placing the pdf's apparently doesnt have the same size limit as through conversion, so thanks for that tip. I'm still some times working as if on CS3.
    I still had some problems though. The Document turned out almost 90k pixels square, and apparently I didnt have enough memory to convert my pdf's at that size.
    Peter: thanks for the tip about multi page spreads. Had no idea you could add more than two pages to a spread.
    Still at 1000 dpi and divided in 10 peices though, I just didnt have enough memory to place them in photoshop. I decided to boost my system from 12 to 24GB just to see if that helped, but amazingly it didnt. Not sure it made any difference in the end, but it was something I was concidering anyway, and it cant be wrong
    Finally I started downsampeling from indesign to see how far I had to go before I was able to place it in photoshop, and at 800dpi, still divided in 10 peices, it finally worked. 80dpi SHOULD still be adequate for this print.
    So now I'm working on placing them and reconnecting them in photoshop. Seems to be working smoothly so far.
    Gernet: As you say, naturally no printer can print in that format. I think the maximum width is 1.98m. Length is in theory almost unlimited, but will be limited to 4-5 meters to preserve accuracy. The print will be 18x18meters plus a small entrance area, but the file is a bit larger due to the entrance area and since I dont have an exact position of the edges availible at the moment.
    I also talked to the printers, and they preferred it if I could deliver the file as one continuous image. Its easier if they make the plan for where the seams would be, and it would be too much back and forth if I had to get that plan from them and then try to make sections that fit with their plan.
    This is a pretty big and expensive order that is also starting to run short on time, so thank god it was even possible to solve in adobe and on my private system (work at an architecture office, so the office systems are not set up to handle this).
    Exhibition ingress: http://www.nasjonalmuseet.no/en/?module=EventCalendar;action=Event.publicOpen;ID=398;templ ate=exhibitionView_en
    Thanks again everyone

  • Adobe Reader 9.4  won't allow saving-copying-printing of data entered into form fields.

    Hello, all.  I own a fully automated Continuing Education website with a national customer base.  The release of Adobe Reader 9.4 has brought a major problem for us which we haven't been able to overcome, and it's a critical issue which will destroy our business if the problem continues. 
    The problem:  Our professionally licensed website users earn online, instantly downloadable Continuing Education certificates in PDF file format, which are auto-generated by our software program when the user has successfully completed a course and its quiz.
    Each certificate is a template created by Adobe Acrobat Pro 6 which contains the boilerplate course goals, credit hours earned for the course, plus all of our educational approval numbers needed to conduct business in each state.  THE PROBLEM HERE is that these generated certificates ALSO have form fields which are auto-completed by our system when the user successfully completes his or her course - i.e., the user's name, his license number, and the date and hour and minute of completion.  Until some of our customers began to use Adobe Reader 9.4 on their PC this past week, the certificate generation process has performed flawlessly - for over 3 years now, for over a thousand customers - the only exception being the  occasional MAC user who needs to download the correct version of Adobe Reader, and to use the correct browser. 
    Beginning last week, site users who have downloaded 9.4 can no longer SAVE their Continuing Education certificates to their computer with their name, license and date and time of completion showing on the certificate.   And they can't even print the certificate correctly - their name, license, and date of completion appear as blank lines.  They can't download or email the certificate with the critical form field data showing on the document. This is a devastating situation for our business and for the users - who certainly won't return, and are demanding refunds. 
    In fact, I (who installed 9.4 last week) discovered that I can't even download and save an intact copy of a customer's certificate from my own website, OR copy and paste information from a client's generated certificate in order to manually create a certificate for him or her.  The on-screen message tells me that I am not allowed to do this with this document .... despite the fact that I was the creator of the document. Needless to say, when I un-installed 9.4, I had none of these problems.
    Customers wouldn't have problems either if they uninstalled 9.4 - but you can't tell customers who call in to complain, to uninstall their Adobe Reader program and find something else.  They also have to use Adobe Reader to view over half of the courses we offer, and they need to be able to work with them effectively with no problems. 
    In the past, because of occasional Adobe Reader problems of a different sort, we could tell customers to use Foxit or Nitro PDF if they had Adobe issues.  But that was back in the day when there was no competition in running an online CE website.  Now there is plenty of competition, and customers will just go elsewhere before they will try to reconfigure their computer just to stay with our site.
    I will bet that hundreds (thousands?) of other online businesses who work with system-generated form fields in PDF documents have been similarly affected.   
    Is there a solution here?  Surely this was an UNINTENDED result of  Adobe's upgrade to 9.4.   Is there something that we can do at our end to eliminate these issues?  There are NO security protections or limitations imposed on these certificate documents.  And we CANNOT eliminate the form fields that are filled internally when the customer passes t the course.  Date and time of completion and all the rest are required by all of the States which license us.  Many thanks!

    That was it!
    Thanks

  • Adding Form Fields to Structure

    I am working with Adobe Acrobat Pro v9 with a PowerPoint document that I converted to a PDF.  I'm working on making it accessible.  It is a simple course certificate with one form field, a text box that the user simply types their name in.  When I run Accessibility: Full Check I get one error message relating to adding form fields to structure.
    It says I need to choose Adanced Accessibility: Add Form Fields to PDF Tags.  When I do that and run the Full Check again, I continue to get the same message.
    Am I missing a step?  Or is there anything else I need to do?
    Thanks!

    Just some nattering here, but -
    After any edits/changes save the PDF before running Full Checker again.
    Open the Tags panel, expand the structure tree, from the Options menu turn on Highlight Content.
    Walk down the tree. Look for <Form>.
    From the Options menu (for the Tags panel) use "Find".
    Look for Unmarked Annotations.
    Note that "Run Form Field Recognition" will add <Form> to the structure tree.
    However, the OBJR beneath it is "generic" and not "your" form field.
    For this situation you'd have to add yours (use Find - the dialog has a button to permit tagging an item).
    Once the form field annotation is "in" the structure tree you'll want to ensure it is positioned appropriately; in context of the page's logical hierarchy.
    Be well...

  • How can I clear Form Field?

    Hi Friends,
    I have created a new custom login named ZSYSTEM. It is a copy of the standard BSP Login Application SYSTEM. The ZSYSTEM uses the subclass  ZCL_BSP_LOGIN_APPLICATION of CL_BSP_LOGIN_APPLICATION.
    In the method IF_BSP_APPLICATION_EVENTS~ON_REQUEST I have wrote a new
    business logic for the login. The issues are the istructions:
      request->set_form_field( name = 'sap-user' value = '' ).
      request->set_form_field( name = 'sap-alias' value = '' ).
    They don't run. The fields 'sap-user' and  'sap-alias' aren't cleaned. I need clear the form field in case of user not authorised.
    I use the same custom Login BSP ZSYSTEM on NTW 7.3 and all run good.
    I read the notes 1513787 and 1421668.
    The SP level of SAP_BASIS  where issues happen is SAPKB70018.
    Do I need to install the SP SAPKB70022?
    Is there another possibility to clear the value of an form field?
    My code is as follow:
      DATA: lv_sapuser TYPE string,
            lv_sapalias TYPE string,
            lv_username_ret TYPE string.
      CLEAR: lv_username_ret, lv_sapuser, lv_sapalias.
      lv_sapuser = request->get_form_field( 'sap-user' ).
      lv_sapalias = request->get_form_field( 'sap-alias' ).
      TRANSLATE lv_sapuser TO UPPER CASE.
      TRANSLATE lv_sapalias TO UPPER CASE.
      IF NOT lv_sapuser IS INITIAL OR NOT lv_sapalias IS INITIAL.
        IF NOT lv_sapuser IS INITIAL.
          lv_username_ret = lv_sapuser.
          CALL FUNCTION 'Z_CHECK_LOGIN_ZGR1_CALL'
            DESTINATION 'APPREZZI'
            CHANGING
              iv_username = lv_username_ret.
        ENDIF.
        IF lv_username_ret IS INITIAL AND NOT lv_sapalias IS INITIAL.
          lv_username_ret = lv_sapalias.
          CALL FUNCTION 'Z_CHECK_LOGIN_ZGR1_CALL'
            DESTINATION 'APPREZZI'
            CHANGING
              iv_username = lv_username_ret.
        ENDIF.
      ENDIF.
      IF ( NOT lv_sapuser IS INITIAL OR NOT lv_sapalias IS INITIAL ) AND lv_username_ret IS INITIAL.
        request->set_form_field( name = 'sap-user' value = ' ' ).
        request->set_form_field( name = 'sap-alias' value = ' ' ).
      ENDIF.
        CALL METHOD super->if_bsp_application_events~on_request
          EXPORTING
            runtime    = runtime
            request    = request
            response   = response
            navigation = navigation.
    Regards,
    Antonio

    Hi,
    I guess you need to clear the attribute bsp_user
    and value
    as per code,
    sap-user is having value property set as value="<%= application->bsp_user%>".
    Here bsp_user is the attribute from claSS CL_BSP_LOGIN_APPLICATION.
    Please check same for sap-alias and clear the values accordingly.
    Thanks,
    Chandra
    Edited by: Chandrashekhar Mahajan on Oct 6, 2011 2:09 PM

  • Can I get a text form field to automatically calculate a percentage of another text field?

         I have a form with text form fields A, B, A1, and B1. I need to have form field A1 calculate to be 80% of form field A. Same with the B fields. I am creating a form that will be filled in by my managers and am hoping that this can be done! HELP PLEASE!!

    As A1's Calculate script, under "Simplified field notation", enter:
    A * 0.8
    The same goes for B1 and B, resp.

Maybe you are looking for

  • Problem configuring the OBIEE Report Viewer Portlet to Oracle Portal!

    Now we plan to configure the OBIEE Report Viewer Portlet to Oracle BIEE.what i refre is http://www.rittmanmead.com/2007/09/integrating-oracle-bi-answers-and-oracle-portal/ But after i deploy it and add the biee portlet to oracle portal and enter the

  • Problem calling C# dll using JNI

    Hi, I'm trying to call C# functions from a JNI interface. I built a C++ DLL to link the Java and C# calls together, but I am always getting the same error. Calling the C# DLL directly from the C++ code (compiled as an application) does not cause this

  • 27 imac black screen doa

    second imac 27 doa with totally black screen anyone know what is happening?

  • How can I leave Skype and get a refund

    I want to leave Skype and get a refund.  I never give Skype permission to take €17.25 from my credit card account.  If this continues – I will have to take legal action to protect my credit card account.  I withdrew from this payment on 29 March 2013

  • Voicemail Icon

    I downloaded HulloMail from the App World a few days ago and I didn't end up liking it all that much - so I deleted it.  Now, my voicemail is functioning differently then it did prior to the download.  When I call voicemail to check messages, instead