How to capture full file path on Adobe Interactive Form using Acro JS

Hi All,
I have a requirement where I have a field ZPATH1 on Adobe Interactive Form. I am putting a BROWSE button and writing following JavaScript on CLICK event on this button for populating the chosen file path into field ZPATH1.
*Start of JavaScript
var sFile;
event.target.importDataObject(sFile);
var oFile;
oFile = event.target.getDataObject(sFile);
this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = oFile.path;
*End of JavaScript
1. event.target.importDataObject(sFile) --> Giving me the pop up to select the file.
2. this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = oFile.path; --> Putting the oFile path in field ZPATH1 on the form.
3. This way is only giving me the selected FILE NAME whereas I need the complete path.
I have tried below way also:
this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = even.target.path;
This function returns me the complete path but in URL form. It does not give me the presentation server path.
Please suggest me how to get the complete path of presentation server to the file.
Appreciation would be honored in form of points!!!
Regards,
Ashish

please post it here for quick response
and also search in adobe forums also for java script related.
http://www.adobe.com/support/forums/index.html

Similar Messages

  • Need to capture full file path in Adobe Interactive Form

    Hi All,
    I have a requirement where I have a field ZPATH1 on Adobe Interactive Form. I am putting a BROWSE button and writing following JavaScript on CLICK event on this button for populating the chosen file path into field ZPATH1.
    *Start of JavaScript
    var sFile;
    event.target.importDataObject(sFile);
    var oFile;
    oFile = event.target.getDataObject(sFile);
    this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = oFile.path;
    *End of JavaScript
    1. event.target.importDataObject(sFile) --> Giving me the pop up to select the file.
    2. this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = oFile.path; --> Putting the oFile path in field ZPATH1 on the form.
    3. This way is only giving me the selected FILE NAME whereas I need the complete path.
    I have tried below way also:
    this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = even.target.path;
    This function returns me the complete path but in URL form. It does not give me the presentation server path.
    Please suggest me how to get the complete path of presentation server to the file.
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Regards,
    Ashish
    I have also tried below way:
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Oct 17, 2008 3:26 PM

    please post it here for quick response
    and also search in adobe forums also for java script related.
    http://www.adobe.com/support/forums/index.html

  • Capturing entire directory path in Adobe Interactive Form

    Hi All,
    I have a requirement where I have a field ZPATH1 on Adobe Interactive Form. I am putting a BROWSE button and writing following JavaScript on CLICK event on this button for populating the chosen file path into field ZPATH1.
    *Start of JavaScript
    var sFile;
    event.target.importDataObject(sFile);
    var oFile;
    oFile = event.target.getDataObject(sFile);
    this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = oFile.path;
    *End of JavaScript
    1. event.target.importDataObject(sFile) --> Giving me the pop up to select the file.
    2. this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = oFile.path; --> Putting the oFile path in field ZPATH1 on the form.
    3. This way is only giving me the selected FILE NAME whereas I need the complete path.
    I have tried below way also:
    this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = even.target.path;
    This function returns me the complete path but in URL form. It does not give me the presentation server path.
    Please suggest me how to get the complete path of presentation server to the file.
    Appreciation would be honored in form of points!!!
    Regards,
    Ashish

    please post it here for quick response
    and also search in adobe forums also for java script related.
    http://www.adobe.com/support/forums/index.html

  • Getting complete file path in Adobe Interactive Form

    Hi All,
    I have a requirement where I have a field ZPATH1 on Adobe Interactive Form. I am putting a BROWSE button and writing following JavaScript on CLICK event on this button for populating the chosen file path into field ZPATH1.
    *Start of JavaScript
    var sFile;
    event.target.importDataObject(sFile);
    var oFile;
    oFile = event.target.getDataObject(sFile);
    this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = oFile.path;
    *End of JavaScript
    1. event.target.importDataObject(sFile) --> Giving me the pop up to select the file.
    2. this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = oFile.path; --> Putting the oFile path in field ZPATH1 on the form.
    3. This way is only giving me the selected FILE NAME whereas I need the complete path.
    I have tried below way also:
    this.parent.parent.Sub_Form_Fields_Mass.ZPATH1.rawValue = even.target.path;
    This function returns me the complete path but in URL form. It does not give me the presentation server path.
    Please suggest me how to get the complete path of presentation server to the file.
    Appreciation would be honored in form of points!!!
    Regards,
    Ashish

    please post it here for quick response
    and also search in adobe forums also for java script related.
    http://www.adobe.com/support/forums/index.html

  • How to get full file path while uploading a file in flex Applications

    How to get full file path while uploading a file in flex applications.
    FileReference Object is giving file name and other details but not the actual path.
    Is there any workaround to to get the file path?.
    Thanks

    Why not ask in the Flex forum; it is more likely that someone over there knows.

  • Attachment of files in an Adobe Interactive form

    Hi,
      Is it possible have 'File attachment' attach any type of file inside and Adobe Interactive form .. ?
    Thanks
    Sivaraj

    Yes, you can attach all kind of filetypes to an AIF.

  • How much effort in developing an offline adobe interactive form - crm 2007

    We have a requirement to develop an offline adobe interactive form in crm 2007 sp4.  The form will be linked with a visit transaction and when saved will also facilittae the transfer of the form from crm to outlook via groupware integration.  From what i can see we have the following steps which will need to be implemented.
    1 - Develop web service to pull information from the created visit to the Offline Adobe Interactive Form
    2 - Create an Adobe interactive Form template to hold the details of the visit
    3 - Set up Groupware Integration to pass the form from CRM to Outook (DONE)
    4 - Develop some approach for uploading the form data back to the CRM server (of which there appears to be three approaches - Submit by Email / WebServices / WebDynpro-Upload )
    The form itself is not going to be too detailed.  It will be prepopulated with the following fields:
    Account No, Account Name, Contact, Date, Time, Transaction No, Transaction Category.  It will also have a number of text fields which will be used to capture the details of the visit.  It will have a submit button to allow for the data to be uploaded by the appropriate upload method.
    Can anyone give me some guidance as to how long it would take to implement such a requirement.
    Thanks in advance
    Eddie

    Hi,
    Do review this Thread, I think this will help you.
    [Adobe Interactive Forms / Web Services - Connection query|Adobe Interactive Forms / Web Services - Connection query;
    Regards
    Pradeep Goli

  • How to binnding the data in the adobe interactive forms for making a table?

    Hi, experts,
    Function:
    Through the sharing context node between adobe interactive form and a WDA for ABAP, display the data of the sflight_node in the ADOBE.
    version:
    Acrobat Reader 8.1.0
    currently both of the SAP-ABA and SAP-BASIS SP level: 9
    ADS : Successful.
    The following is my action:
    1.     Create a interface (Z_SFLIGHT_INTF) with a attribute node (SFLIGHT_NODE) that type is "sflight"  using the transaction code "sfp"
    2.     Create a form (Z_SFLIGHT_FORM) using the transaction code "sfp" with the interface Z_SFLIGHT_INTF.
    3.     Trag the sflight_node in the Z_SFLIGHT_INTF to the form( Z_SFLIGHT_FORM).
    4.     Open the layout tab in the form(Z_SFLIGHT_FORM), and create a table(table1). Click the table created just now, select the binding tab in the object tab, and in the Default Binding, select the SFLIGHT_NODE under the Z_SFLIGHT_FORM.
    Problem 1:
    Do you tell me whether is right for binding the context SFLIGHT_NODE using this way? If bind 3 context attributes in the sflight, how can I do it?
    5.     Create a WDA for abap (ZZ_02_SFLIGHT), and create a view(MAINVIEW) using transaction code "se80" in the sap-gui with adobe interactive form. Set the templatesource(Z_SFLIGHT_FORM) in the  adobe interactive form properties and saved, and then, datasource is "MAINVIEW_Z_SFLIGHT_FORM" automatically.
    6.     But I only found the attribute SFLIGHT_NODE under the context node(Z_SFLIGHT_NODE), and  I don't found the NODE ( SFLIGHT_NODE ) context in the context tab in the WDA for abap so that I don't set data to the context NODE (SFLIGHT_NODE).
    Problem 2:
    Do you tell me what can I do it so that I get the node SFLIGHT_NODE rather than attribute in the WDA for setting the data to the CONTEXT NODE (SFLIGHT_NODE)?
    Thanks a lot.
    Best regards,
    Tao

    Hi, experts,
    You can reply back to me via e-mail if you think we should discuss this internally at [email protected] or [email protected]
    Thanks a lot.
    Best regards,
    tao

  • Copy&paste from a file excel to Adobe Interactive Form

    Hi all
    my project is based on WDJ and Adobe Interactive Form.
    I need to know if it is possible to do a copy&paste from a file excel to my Adobe Interactive Form.
    Can I copy an area of data from an Excel spreadsheet (set of contiguous rows and columns)
    and paste them into a text field of my form, preserving the formatting (font, size, structure of coloums/rows,...)?
    Can you help me please?
    Thanks!

    You may try posting this question in either the Designer or Forms forum.
    This forum is for the LiveCycle PDF Generator ES product - a server side document conversion module.  If you want to convert the entire Excel spreadsheet to a PDF server side, then PDF Generator is the correct tool to use.

  • How to hide a fieldsuFF08elementsuFF09 in the Adobe Interactive form ?....urgent...

    Hi Experts,
    I'm working on Adobe Interactive form developed in WDP ABAP.( I have successfully config the ADS in my server.)
    Action:
    1. Create two view -
    first_view and second_view in the WDP ABAP..
    2. In the first_view, there are a input field( named "elements_number") and a button(named "create_button") .
    3. In the second_view, there is Adobe Interactive form ( named "adobe_form" ). There are 3 text_fields elements in the Adobe Interactive form.
    4. Run the WDP ABAP: first_view is opened. Type a number ex."2" in the "elements_number", click the "create_button".
    5. The second_view is opened.
    6. The "adobe_form" is occured.
    7. There are 2 text_fields displayed in the "adobe_form" and 1 text_field hiden in the "adobe_form".
    Steps (1) ~ (6), I have completed, but I don't know how to implement the step (7).
    Please give me some hint on this. I try to use the CL_WD_ADOBE_SERVICE, but I didn't found any examples. Do you give me some ways to implement the function? Thanks a lot.
    Thank you very much.
    Thanks,
    Tao

    Hello Wang,
    You need to transfer some additional information in an unused data field. Then, by using scripting within the form template, you can hide the input fields in question.
    Best regards,
    Thomas

  • Prerequisites to Develop Adobe Interactive form using Webdynpro for Java

    Hi All,
    What are the prerequisites to develop adobe interactive form. In Service market place where I can get the download link of Adobe Designer and what are the stpes I need to follow in the configuration side. I have gone through the following link but I did not get any information related to configuration side. Can you guys please provide any help links related to adobe forms?.
    Regards,
    Suresh

    Hello,
    you right the note is currecntly in update.
    the path is:
    http://service.sap.com/installations                                                                               
    Entry by Application Group                                 
    -> SAP NetWeaver                                           
    -> SAP NETWEAVER                                           
    -> SAP NETWEAVER 2004S                                     
    -> Installation & Upgrade                                  
    -> <coohse OS and DB>
    -> Adobe LiveCycle Designer 7.1                            
    Best regards,
    Dezso

  • Adobe interactive forms using ABAP

    Hi,
    Anyone could help me to develop Adobe interactive forms (online and offline cases)   using ABAP (not Java). I would need <b>step by step procedures</b> to develop quickly.
    Thanks.
    Ramana reddy

    HI,
    Can you try these threads
    Display Smartform Pdf output in ABAP Webdynpro application
    Display PDF from BAPI in Webdynpro
    It might helps you.
    thanks ,
    Lohi.

  • Adobe Interactive Forms using Web AS ABAP Only

    Hi,
    After setting up ADS, we want to publish an adobe interactive form to a website. We want this form to be truly interactive, meaning users can enter data through it with validations. My question is, is it possible to develop this form using ABAP only and deploy it in WEB AS ABAP? Or do we really need to use NWDS and WEB AS JAVA for this?
    I saw somewhere that ABAP can only provide printforms (static?) while JAVA (in NWDS) can generate interactive forms.
    Please help.
    Thanks and Regards,
    Tyken

    Hi,
    For this you must define the form's interface based on XML and not DDIC ...
    Regards

  • Adobe Interactive Form using BAPI

    Hi,
    Any body having the adobe interactive form document using bapi..guided procedure etc...like step by step.
    Thanks,
    Padman

    Hi Padman,
    Please try in the forum dedicated for interactive adobe development under netweaver.
    SAP Enterprise Portal : Administration and Development
    There you may find some good blogs.
    Thanks,
    Atul

  • Testing WebDynpro Adobe Interactive forms Using eCATT or any other testing

    Hi All,
    We are testing WebDynpro Adobe forms (Java). is there any methodology to test Interactive forms not normal webdynpro applications. Especially Interactive form with UI fields like dropdwons, datepickers dropdown values are from BAPI/RFC's  in these forms we will perfom actions like send data to backend and display PO created in onther view.
    once we repaly the test script all the drop down values are not updated this test scenario we tested with LR.
    Is there any procedure to test this scenario using eCATT or any other testing Tool.
    Rehards,
    Murali

    Hi Vara,
    You can develop Interactive forms using WD ABAP also.
    [E Learning- Interactive Forms using WD ABAP|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/c766e918-0b01-0010-99b1-c2b78cd059b3]
    WD Java is useful in case, when your ABAP system is less than ECC 6.0. Otherwise you can achieve same functionalities in WD ABAP also.
    Hope this will help you.
    Amit

Maybe you are looking for

  • Logic Express 8 and OSX 10.6.5 Problems...

    Hi, I just did a fresh install of all of my software on my iMac. Previously had it running 10.6.4 and everything an fine. Now that I've reinstalled and upgraded to 10.6.5 Logic Express won't work. Anyone else having this problem? Am I just ging to ha

  • HT3180 Apple TV no display settings on Plasma Television?

    I have a Pioneer Plasma TV with HDMI input Connected HDMI cable to Pioneer TV and other end of HDMI cable to Apple TV. Connected power cable to Apple TV and light shows power on. Turned on Pioneer TV and selected HDMI input but only see ablck screen

  • Is audition cs6 64 bit

    Is cs6 audition 64 bit or 32 bit?

  • Zoom functionality with Crystal reports server

    Hello, in crystal report there's a great functionality to zoom in a diagram. Is this functionality also available when I start the report within InfoView (Crystal Reports Server 2008) ? regards, Silvia

  • Cant sign into icloud and keychain access crashes on opening

    I have recently experienced very frustrating glitches in my iMac's operability (2011 model, 1TB hard disk and recent upgrade to 12GB RAM to overcome very slow running).  The machine runs OSx 10.9.5.  I cannot sign into iCloud on this machine (althoug