[LiveCycle Designer] Send Field Value with FDF Response

Hiya. I'm trying to send two FDF responses, a status message and a field/pair value, from a PHP script that has processed a HTTP POST. The status message is sent to the form successfully, but the field value is not sent to a form created in LiveCycle Designer (ES4 Version 11). Here's what I have:
<?php
header('Content-type: application/vnd.fdf');
// read and store the data however you want
// reply with some FDF data
echo <<<RESPONSE
%FDF-1.2
1 0 obj
<< /FDF <<
/Status (Wham bam! Journal data sent electronically. Save a copy of this PDF for your records.)
/Fields [ <</T(batchnum)/V(testt)>> ]
>>
>>
endobj
trailer
<< /Root 1 0 R >>
%%EOF
RESPONSE;
?>
<?php
I think I have tried the gamut, removed "!", "copy", "for" from the status message; adding quotes, single and double, as well as ``; spacing; changing and verifying field names; send only the /Status and sending only /Fields (btw no errors while is still not sent); and on. Additionally, the above PHP code works perfectly, sending both status and fields, on a form created in Acrobat Pro XI. But no success in LiveCycle where I need the form created to dynamically manage rows and such. Ideas? Anyone?

It looks like the FDF you've written was designed for an AcroForm. You can still use a FDF on a XFA form, but it has to be done a bit differently. Use JavaScipt inside the FDF to set your fields. E.g.:
%FDF-1.2
1 0 obj
<<
/FDF
<<
/JavaScript << /After (FieldIWantTomodify.rawValue = ("My new value");) >>
>>
>>
endobj
trailer
<<
/Root 1 0 R
>>
%%EOF

Similar Messages

  • Can not set OARG.cstAllcAcc field value with CustomsGroups Object

    Can not set OARG.cstAllcAcc field value with CustomsGroups Object, please open this field in this Object because it is a key field related to financial system.

    I guess, it should work; instead of html:submit, try with button.

  • How to populate Adobe LiveCycle Designer generated  PDF Forms with data from Database in Windows app

    Hi
    I have a PDF template designed in Adobe LiveCycle Designer. This template has form fields which needs to be filled with data programmatically. I am using windows application in C#.Net 2005 in which I want to retrieve data from database and merge this data into PDF form in respective fields.
    How this can be achieved?
    I searched a lot & I found that we can process the XDP file generated from PDF to acheive this. I created the XDP file out of the PDF template created in designer. But I don't know how to merge data from database into that XDP file in respective fields and again convert this XDP file back to PDF programmatically. Can anybody help me ? This is urgent.
    Thanks in advance.
    Sambhaji

    Please ignore the above code.<br />The following one is correct one.<br />using System;<br />using System.Data;<br />using System.Configuration;<br />using System.Web;<br />using System.Web.Security;<br />using System.Web.UI;<br />using System.Web.UI.WebControls;<br />using System.Web.UI.WebControls.WebParts;<br />using System.Web.UI.HtmlControls;<br />using System.Text;<br />public partial class _Default : System.Web.UI.Page <br />{<br />    protected void Page_Load(object sender, EventArgs e)<br />    {<br />        Response.ContentType = "application/vnd.adobe.xdp+xml";<br />        StringBuilder responseString = new StringBuilder();<br />        responseString.Append("<?xml version='1.0' encoding='UTF-8'?>");<br />        responseString.Append("<?xfa generator='AdobeLiveCycleDesigner_V8.0' APIVersion='2.5.6290.0'?>");<br />        responseString.Append("<xdp:xdp xmlns:xdp='http://ns.adobe.com/xdp/'>");<br />        responseString.Append("<xfa:datasets xmlns:xfa='http://www.xfa.org/schema/xfa-data/1.0/'>");<br />        responseString.Append("<xfa:data>");<br /><br />        responseString.Append("<form1>");<br />        responseString.Append("<TextField1>Homer</TextField1>");<br />        responseString.Append("<TextField2>Simpson</TextField2>");<br />        responseString.Append("<field name ='DropDownList1'>");<br />        responseString.Append("<items save='1'>");<br />        responseString.Append("<text>1</text>");<br />        responseString.Append("<text>2</text>");<br />        responseString.Append("<text>3</text>");<br />        responseString.Append("</items>");<br />        responseString.Append("</field>");<br /><br />        responseString.Append("</form1>");<br /><br />        responseString.Append("</xfa:data>");<br />        responseString.Append("</xfa:datasets>");<br />        responseString.Append("<pdf  href='C:\\Test.pdf' xmlns='http://ns.adobe.com/xdp/pdf/' />");<br />        responseString.Append("</xdp:xdp>");<br /><br />        Response.Write(responseString);<br />        Response.Flush();<br />        Response.End();<br />    }<br />}

  • Not Working-LexicalParamater used to send multiple values with one prameter

    Hi,
    I am calling a reportname.rdf from the web(using apache webserver and url as follows:
    http://localhost/cgi-bin/rwcgi60.exe?server=reportservername&report=acctActivity.rdf&userid=bizsystest/[email protected]&destype=cache&desformat=pdf&placeholdercolumnname='2,3,4'&docid=2
    I have to send multiple values for fundid.
    To accomplish this,
    I created a placeholder column and initialized the value '0' and type taken as character(even though datatype of this column is number).
    In sql query
    select table1.c1, table2.c2 from table1, table2, table3, table4 where table1.cl in (&placeholdercolumname)
    and table1.c2 = table2.c2(+)
    and table3.doccode = :docid
    From Web, URL contains the placeholdercolumnnmae='2,3,4'
    Still its taking the value zero and output is generating.
    Its not taking my newvalues ('2,3,4') in IN parameter.
    I donot know the reason, where exactly is wrong.
    Please help me to resolve.
    2. My Second Issue:
    Is there anyway, can we hide all key/value parameters send through the URL not visible to endusers
    like servername, database userid and password and configure some where, so system can pickup each time when I run report.
    Please help me to resolve.
    Thanks,
    Usha.

    Hi Usha,
    First of all, I assume that the place holder column you have specified is a UserParameter which you have specified on the command line. I don't think there is any direct way of doing that.
    I created a placeholder column and initialized the value '0' and type taken as character(even though datatype of this column is number). If I infer correctly from what you are saying, you can't mix and match the datatypes of the columns, you can't define the parameter as a number and pass characters. I suggest you declare your parameter as a character with sufficient width to hold your LOV and then process them convert them to numbers.
    Another suggestion is try replacing your "Placeholder" with another query construct.
    For your Second issue,
    You can use the Key-Map file Oracle Reports provides for the Web client. Please refer to
    <ORACLE_HOME>\Report60\server\cgicmd.dat.
    In the cgicmd.dat,you can alias your entire commandline with a single key and use that key in your URL.
    Regards
    Oracle Reports Team.

  • LiveCycle designer 8.2 issues with Office 2010

    Good Day All;
    We are in the middle of upgrading from Windows XP / Office 2003 to Windows 7 (32bit) / Office 2010 and I was wondering if there are any issues with Livecycle designed and Office 2010.
    I have been that Adobe Acrobat 8.2 does not support Office 2010. I ran into that with trying to install PDF maker.
    Any comments will be helpful.
    Regards
    Chomp

    We recently upgraded to Win 7 and to Acrobat 9 (didn't upgrade Office so cannot comment on that). The only issue I have found (and I can only assume it was
    due to the OS upgrade or the Acrobat upgrade (or both)) is that I lost use of my Preview tab. In order to be able to preview a form now in LiveCycle, I must first open an instance of Acrobat, otherwise I don't even get a Preview tab. Also, the preview doesn't show up in the Preview tab...it actually opens in Acrobat.
    Weird, but I'm getting used to it.
    Jo

  • LiveCycle Designer won't preview with Reader DC.  Preview mode will not work.  Attempting to preview gets errors (507:507), (103:103), and sometimes crashes LiveCycle Designer.  How do i get preview mode?

    I can not get LiveCycle's preview mode to work.  It has worked in the past, but now with Reader DC i can't use preview mode.  How do i get Adobe LiveCycle designer to work with Reader DC?

    nikg-fh schrieb:
    it seems the problem is caused directly by adobe reader X.
    I just have started a new descussion here (adobe reader forum).
    If anyone could help me, feel free to do so!
    my configuration:
    windows xp pro
    adobe reader x
    adobe livecycle designer 9 ( therefore it is not an version 8 issue )
    admin rights on the pc ; )
    I might add that you are not alone!
    I am having the same problem (LSD ES2 (version 9.0.0....) and Adobe Reader X and Acrobat Professional 8)
    Whenever I save a form as PDF and open it with Reader or Acrobat I get to see the console.
    But never when I view the form in Designer preview!
    That used to work until I installed Reader X.
    Same as you I checked all configurations in Reader and Acrobat: all perfect.
    I really do hope that someone finds a solution for this.
    PS. This problem should be discussed in THIS forum. It is clearly a Designer problem!

  • To Modify a field value with field symbols

    we had a requirement like we are getting in a floating point value in a field of an IDoc segment like 12.327- .Here if we see that the negative sign is after the floating point value and if we try to insert this into a database then it will throw out an error.Before inserting the value we need to covert the incoming value in the form -12.327.
    I used the field symbols inorder to get the values and to change them.
    But iam not able to modify the internal table from the new value.
    Here is my sample code.
    DATA: IT_MBEW TYPE TABLE OF MBEW,
          WA_MBEW TYPE MBEW,
          IT_DFIES TYPE TABLE OF DFIES,
          WA_DFIES TYPE DFIES,
          IT_DD03L TYPE TABLE OF DD03L,
          WA_DD03L TYPE DD03L,
          L_FIELD TYPE VALUE,
          WA_VALUE TYPE mbew,
          L_MBEW TYPE DDOBJNAME VALUE 'MBEW'.
    FIELD-SYMBOLS: <FS1> TYPE ANY.
    FIELD-SYMBOLS: <FS3> TYPE ANY.
    FIELD-SYMBOLS: <FS2> TYPE ANY.
    SELECT * INTO CORRESPONDING FIELDS OF TABLE IT_MBEW
      FROM MBEW  WHERE MATNR = '000000000000100110'.
    LOOP AT IT_MBEW INTO WA_MBEW.
      WA_MBEW-SALK3 = - 354471.
      MODIFY IT_MBEW FROM WA_MBEW.
    ENDLOOP.
    To call the FM inorder to get the fieldnames for MBEW table
    CALL FUNCTION 'DDIF_FIELDINFO_GET'
      EXPORTING
        TABNAME              = L_MBEW
        FIELDNAME            = ' '
       LANGU                = SY-LANGU
        LFIELDNAME           = ' '
       ALL_TYPES            = ' '
        GROUP_NAMES          = ' '
        UCLEN                =
      IMPORTING
        X030L_WA             =
        DDOBJTYPE            =
        DFIES_WA             =
        LINES_DESCR          =
    TABLES
       DFIES_TAB            = IT_DFIES
        FIXED_VALUES         =
    EXCEPTIONS
       NOT_FOUND            = 1
       INTERNAL_ERROR       = 2
       OTHERS               = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    SELECT TABNAME FIELDNAME DATATYPE POSITION INTO CORRESPONDING FIELDS OF TABLE
             IT_DD03L FROM DD03L
             WHERE TABNAME = 'MBEW'
             AND   DATATYPE = 'CURR'
             ORDER BY POSITION ASCENDING.
    *LOOP AT IT_MBEW INTO WA_MBEW.
    LOOP AT IT_MBEW assigning <fs1>.
    ASSIGN WA_MBEW TO <FS1>.
    do.
      LOOP AT IT_DD03L INTO WA_DD03L.
        READ TABLE IT_DFIES INTO WA_DFIES WITH  KEY FIELDNAME = WA_DD03L-FIELDNAME
                                          DATATYPE = WA_DD03L-DATATYPE.
        IF SY-SUBRC = 0.
          ASSIGN WA_DFIES-FIELDNAME TO <FS2>.
          ASSIGN COMPONENT SY-TABIX OF STRUCTURE <FS1> TO <FS3>.
          MOVE <FS3> TO L_FIELD.
          CONDENSE L_FIELD.
          CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT'
            CHANGING
              VALUE = L_FIELD.
          IF SY-SUBRC = 0.
            ASSIGN L_FIELD TO <FS3>.
                    MODIFY ITMBEW INDEX SY-TABIX FROM <FS3>._    
    ENDIF.
        ENDIF.
      ENDLOOP.
    *enddo.
    ENDLOOP.
    The Modify statement is not working.....Plesae help me in this regard.
    Thanks
    Srinivas

    Hello.
    When you write,
    LOOP AT it_mbew ASSIGNING <fs1>.
    ENDLOOP.
    you don't need to use statements:
    ASSIGN WA_MBEW TO <FS1>
    nor
    MODIFY it_mbew
    after that.
    If you just write:
    LOOP AT it_mbew ASSIGNING <fs1>.
      <fs1>-field1 = 'A'.
      <fs1>-field2 = 'B'.
    ENDLOOP.
    all records of it_mbew will have field1 = 'A' and field2 = 'B'.
    The point is, statement LOOP assigning <fs1> will make the field symbol to became a pointer to the records of the internal table. So, if you change the field symbol, you are changing the internal table already.
    Regards.
    Valter Oliveira.

  • Replacing a fields value with somethingelse in PLD

    Hi All,
    In the Batch Number Transaction Report's PLD, I want to replace Doc. Type OWTR with Production Order. I have some idea that it would be handled through a formula field but dont know the exact work flow. Could anybody tell me how to handle it by giving an example.
    Thx

    Naveed,
    Quite Clear now !!
    This is what you need to do.  Add two fields of type text to the PLD
    Field1: Text Value = Production Order
    Set the link to field to the Formula 1 field that you would create as below
    Field2: Text Value = Issue for Production
    Set the link to field to the Formula 2 field that you would create as below
    Create two formula fields
    Formula Field 1:  Field_DocType == "OWTR" (use the actual DocType field number here == "OWOR")
    Formula Field 2:  Field_DocType == "OIGE" (use the actual DocType field number here == "OIGE")
    Please let me know if you have any question
    Suda
    OWTR for Production Order, OIGE for

  • Delete field value with DTW

    Does anyone know how to delete a value in a field with DTW?
    For example:
    I want to use DTW to Update my BPs to delete the the Foreign Name for each BP.
    Any thoughts?

    Suda,
    Thanks for the reply.  That was my assumption, but I was hoping I was missing something.
    On that note, besides going into SQL, are you aware of any solution that can delete large amounts of records at once?
    i.e. Deleting all BP Catalogs?

  • CRM ISA 5.0-Sending field value from-Product master Product Catalog Trex

    Dear Friends,
    I have Enhanced a Column field  in Product Master > Accessory tab Page
    I want to send the above Column  Values  to Index / Trex Server , Then java will take from trex server and display in  web as per their requirement.
    Can you suggest how to do that ?
    I found 2 below Badi : Can you please how to implement this or this BADI is not suggest able.
    CF_PCAT_PRDEXTSN_VAL     Additional Attributes in Product Catalog - Read Values
    PCAT_IMS_FEED_VAL     Customer-Specific Value Enhancement for IMS Data Supply
    BADI For Product Catalog Changes: PRODUCT_UPDATE, PRODUCT_UPDATE_IMS, PRODUCT_UPDATE_CVIEWS
    Please reply as soon as possible
    Thanks
    Upen

    Hello,
    you better ask this question in the SAP CRM: Webclient UI - Framework. Also I would suggest opening a OSS Message.
    Regards
    Gregor

  • How to modify person or group field value with new value

    Hi
    I have person or group field having property Person Only.
    Thsi firls already have one value. Now I want to update it but this code to update value is not working.
    string myName = @"ABC\myname";
    web.EnsureUser(myName);
    SPUser myUser = web.SiteUsers[myName];
    SPFieldUserValue myNamevlaue = new SPFieldUserValue(web, myUser.ID, myUser.LoginName);
    oSplistItem["My_x0020_User"] = myNamevalue;
    oSplistItem.Update();
    I am getting myNamevalue correct in the veriable. But why its not updating in the list?
    is there any issue in the above code?
    Do I need to delete previous value and then update new value in this field? How?

    Hi,
    The format of the user value in people/Group field must be
    ID;#Name, you can use the following code snippets to update the people/group field.
    string loginName = "ABC\\myname";
    SPUser user = web.SiteUsers[loginName];
    SPList list = web.Lists.TryGetList("ListName");
    if (list == null)
    Console.WriteLine("list is not exist!");
    return;
    SPListItem item = list.GetItemById(3);
    item["My_x0020_User"] = user.ID.ToString() + ";#" + user.Name;
    item.Update();
    Thanks,
    Jason
    Please remember to mark the reply as answer if it help, and unmark the answer if it provide no help.

  • How to display another table's field value with an LOV?

    Hi all!
    On my JSP application I'm using an LOV based on 2 tables (datasources). I take the EMP and DEPT tables as an example:
    The user can click on the LOV button to select a department for a specific employee. I use the following code for the LOV:
    <jbo:DataSource id="dsEmp" appid="am" viewobject="EmpView" />
    <jbo:DataSource id="dsDept" appid="am" viewobject="DeptView" />
    <jbo:InputSelectLOV datasource="dsEmp" dataitem="DeptId" displaydatasource="dsDept" displaydataitem="Id,Dname" displayvaluedataitem="Id" formname="my_form" />
    So, the LOV windows shows the ID and Department Name from the DEPT table and returns Dept.Id into Emp.DeptId. This works fine but in the Edit JSP I want to display the Department Name instead of the Department Number. I don't know how I can pick the Department Name from the DEPT table. I tried to change the displayvaluedataitem="Name" but, as I thought, this didn't work.
    Is there any possibility to handle this problem?!
    PS: I'm using Oracle9i JDeveloper.
    Thanks a lot!

    Tim,
    See may answer to your other thread:
    Re: constant value
    Charles.

  • FAQ About Adobe LiveCycle Designer (send email) as PDF

    HI my name is  saeed and i want ask about when i make application form on this program i  want put button (send email) as PDF not XML or html i meaning he send  me email after full the application as Attach fail  PDF  not xml or html  is this possible.
    have god day
    saeed

    Goto command prompt and type  ipconfig
    You will get something like this:
    Use the IP Address instead of the word hostname.
    In my case, it would be http://10.13.34.155:8080/ReaderExtensions
    The you will get something like this:

  • LiveCycle designer V7: Dynamic PDF with QR-Code barcode

    I want to include QR-Code barcode into my forms.
    When I try it, I only see a greyed area.
    Online product help, give us the supported barcode format.
    For QR-Code, I can read "hardware-rendered", could you please explain to me the signification? What do I need to effectly include QR-Code barcode into my dynamic PDF forms.
    Thank you for your help.

    I have read that some bar codes need to be printed by specific printers and those will show up as gray on screen. Code QR is a hardware barcode and is only supported by specific printers. (according to the help file) if you want to see the code on the page you may want to try PDF 417, another 2D barcode, which can hold up to 1800 ASCII characters.

  • FDF response issue with Acrobat Reader 9.4.2

    Hello,
    The Adobe Reader 9.4.2 is causing issues with FDF response.
    Our web application serves PDF dynamically via custom IHttphandler. Our website enables users  to fill pdf forms with data and then sends data by submitting it in XFDF format to some data handler module which saves pdf form's data to Database and then sends FDF resrponse to enable users to continue the  interaction  with pdf form.
    Prior to this update we didn't expeirence any issues during described process with any Adobe Reader version.
    Now, if our app sends FDF response after PDF form data is submitted and saved, the following error occurs :
    "Unable to locate the form, because the FDF lacks an /F key. If the FDF  came back as a result of a submit from a PDF form, then the URL is  probably missing "#FDF" at the end".
    I'm providing the url with "#FDF" part at the end and it can't cause any problems.
    As far as the  /F key is concerned, if I provide add it to my response FDF with URL, it redirects to that URL which is  not a desired and correct behaviour for our website.
    This error has not appeared before, and doesn't appear after Adobe Reader X latest patch (10.0.1).
    Any solutions to this issue would be appriciated.
    Thanks,
    David

    Hey David,
    Yeah, I also found the .3 update to much joy the other day, but I fairly quickly arrived at the same conclusion as you   However our company has filed a support ticket with Adobe Developer Support describing the error. Also I set up a simple test-page that hopefully will expose the error for the Adobe staff.
    http://www.activeform.dk/test/fdftester.htm
    When I get any news I'll be sure to let you know.
    Cheers,
    Michael

Maybe you are looking for

  • Shared photo stream won't load

    Someone shared a photo stream with me and I click on it, but nothing happens. I'm using iPhone 4 with iOS 6.1.3

  • Oracle JDBC thin driver on NT vs IBM mainframe Linux

    We are develping an Java 3-tier web application on NT platform. The database is Oracle 9i. The JDBC Driver is Oracle thin driver (oracle.jdbc.driver in classes12.jar). Java is JDK1.3. We are told recently that we may need to deploy this application o

  • 2.3.1 Update deleted all my photos

    After installing the latest update, all 6 gigs of photos were missing from my Apple TV. However, the albums and photo numbers plus all placeholders for the photos in albums were intact. Just the pictures themselves were gone. Am resynching Apple TV a

  • Adobe presenter 8 quiz problem

    The default option for my quizzes had the font too small to see the text of the questions. When I made the font of the questions larger, the circles for clicking, the letters of the questions, and the question texts all ran into each other. So I have

  • Openoffice and awesome 3

    When I use openoffice in awesome 3, scrolling through any document causes awesome to switch desktop, I have no clue what is causing this.