Script to open an pdf attachment in the adobe form is not working.

Hello Experts,
I have a requirement where i should open pdf attachment from the attachment tab of adobe form.
For this i have written below  java script in the click event of a button ->
I have an attachment pdf with name attach.pdf in the attachment tab of adobe form.
var oObj = event.target;
oObj.openDataObject();
->When i click on the button it is giving the error -> TypeError: Invalid Argument type.
                                                                                Parameter cName.
Can any one help me how can i use openDataObject method to open an attachment from the attachment tab of adobe form.
Regards,
Menaka.H.B
Moderator message: wrong forum, please post again in Adobe Interactive Forms.
Edited by: Thomas Zloch on Oct 18, 2010 12:52 PM

Hi,
Please refer to the thread below where this issue has been discussed:
Creative cloud wants to make changes
Regards,
Sheena

Similar Messages

  • Opening a list item pdf attachment from the display form in a new window

    I have a list setup in which attachments are enabled.
    Users attach pdf's to list items.
    When they go into the display form for a list item and click on a pdf attachment in the "Attachments" area at the bottom of the form, it opens in the same browser window.
    I would like to amend this so it opens in a new window.  Has anyone found a fix for this?
    Thanks in advance,
    Mark

    Hi ,
    Put the code below in your DispForm.aspx page .The you can open the attachments in a new window. Including all the other links on the DispForm.aspx page .
    <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
    <script type="text/javascript">
    $(function(){ 
    $('a').click(function(){
                    window.open(this.href);
                   return false;
    });</script>
    Thanks,
    Entan Ming

  • How do I open a PDF attachment using the Open In function from iPad mail

    I Am trying to open a PDF document from my mail. In previous versions of the iOS (presently I am on 7.1.1) the open in feature of the email  re organised that you had an rhe adobe reader installed and allowed you to select this to open the document. Thiis no longer working for me.

    The functionality certainly has not gone away with iOS 7. What do you see when you attempt this (and how do you go about it)?
    Only thing I can recommend off hand is to try a reset: Simultaneously hold down the Home and On buttons until the device shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the device back on using the On button. In some cases it also helps to double click the Home button and close all apps BEFORE doing the reset.

  • I want to Open a PDF attachment in iBook, but it doesn't work anymore.

    I want to Open an Email attachés PDF in my iBook. Just do ist like always, but it doesn't work anymore.
    Can you help me.
    Thanks

    Try quitting the iBooks App completely, restart the iPad and see if that helps.
    Go to the home screen first by tapping the home button. Quit/close iBooks by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down the iBooks icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • PDF Attachment problem in Adobe form and send mail is not working

    Dear Experts,
                         Recently i'm facing a problem regarding Adobe form PDF attachment and sending an e-mail along with the PDF attachment to customer mail id.But when i execute the RFC Function module, in customer side no mail is comming. And when i check the transaction SBWP then i found that the PDF attachment hold only 1KB of data which is not right.For that i'm sending my code which i was declared in my program.Can anybody please help me to overcome this problem?
    Warm Regards,
    sameek.
    CLASS cl_bcs DEFINITION LOAD.
      DATA:
      lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL.
      lo_send_request = cl_bcs=>create_persistent( ).
      data: t_att_content_hex type SOLIX_TAB.
      DATA: lx_document_bcs TYPE REF TO cx_document_bcs VALUE IS INITIAL.
      DATA: lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL,
            l_send type ADR6-SMTP_ADDR value 'Already provided an e-mail address here'.
      DATA: lo_recipient TYPE REF TO if_recipient_bcs VALUE IS INITIAL.
      DATA: lv_sent_to_all(1) TYPE c VALUE IS INITIAL.
    Message body and subject*
      DATA:
      lt_message_body TYPE bcsy_text VALUE IS INITIAL,
      lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL.
      APPEND 'Dear,' TO lt_message_body.
      append ' ' to lt_message_body.
      APPEND 'Please fill the attached form and send it back to us.'
      TO lt_message_body.
      append ' ' to lt_message_body.
      APPEND 'Thank You,' TO lt_message_body.
      lo_document = cl_document_bcs=>create_document(
      i_type = 'RAW'
      i_text = lt_message_body
      i_subject = 'Customer Information Form').
      TRY.
          lo_document->add_attachment(
          EXPORTING
          i_attachment_type = 'PDF'
          i_attachment_subject = 'Customer Information Form'
    I_ATTACHMENT_SIZE =*
    I_ATTACHMENT_LANGUAGE = SPACE*
    I_ATT_CONTENT_TEXT =*
    I_ATTACHMENT_HEADER =*
          i_att_content_hex = t_att_content_hex ).
        CATCH cx_document_bcs INTO lx_document_bcs.
      ENDTRY.
    Add attachment*
    Pass the document to send request*
      lo_send_request->set_document( lo_document ).
    Create sender*
      lo_sender = cl_cam_address_bcs=>create_internet_address( l_send ).
    lo_sender = cl_sapuser_bcs=>create( sy-uname ).*
    Set sender*
      lo_send_request->set_sender(
      EXPORTING
      i_sender = lo_sender ).
    Create recipient*
      lo_recipient = cl_sapuser_bcs=>create( sy-uname ).
    lo_recipient = cl_cam_address_bcs=>create_internet_address( l_send ).*
    Set recipient*
      lo_send_request->add_recipient(
      EXPORTING
      i_recipient = lo_recipient
      i_express = 'X' ).
    lo_send_request->add_recipient(*
    EXPORTING*
    i_recipient = lo_recipient*
    i_express = 'X' ).*
    Send email*
      lo_send_request->send(
      EXPORTING
      i_with_error_screen = 'X'
      RECEIVING
      result = lv_sent_to_all ).
      COMMIT WORK.
      message 'The Customer Information form has been emailed to the Employee' type 'I'.

    I am also facing issue with email send .
    apex 4.1.1 oracle 11g
    create or replace procedure email ( p_email  in    varchar2)
    is
        l_workspace_id      number;
        l_subject           varchar2(2000);
        l_body              clob;
        l_body_html         clob;
         l_email varchar2(40);
    begin
        l_workspace_id := apex_util.find_security_group_id (p_workspace => 'xyz');
        apex_util.set_security_group_id (p_security_group_id => l_workspace_id);
    l_email:= p_email;
        l_body := ' ';
        l_subject := 'You have new tasks';
        --if l_email=:P3_CONFIRM_EMAIL_ADDRESS is not null then
       -- email( l_email =>:P3_CONFIRM_EMAIL );
    -- end if;
            l_body_html := '<p />The following tasks have been added.';
         apex_mail.send (
                p_to        => l_email ,
                p_from      => '[email protected]',
                p_body      => l_body,
                p_body_html => l_body_html,
                p_subj      => l_subject );
      APEX_MAIL.PUSH_QUEUE;
    end; I also check the log and queue but both are empty,
    select * from
    apex_mail_queue
    select * from
    apex_mail_log Kindly suggest what to do ?
    I also created a process in apex , which call this procedure and pass the email address entered by user.

  • I have a license for CS3 Design Premium but no disk. Where exactly can I download the software? The solution offered on the Adobe website does not work ...

    I have a license for CS3 Design Premium but no disk. Where exactly can I download the software? The solution offered on the Adobe website (CS3-Produkte herunterladen) does not work ...

    If the page you linked does not work then it should so what happens when you try?  It is possible that it might be a simple matter of you enabling cookies or trying another web browser.
    You can also try to download the trial version of the software thru the page linked below and then use your current serial number to activate it.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
    CS3 and CS4: http://prodesigntools.com/download-adobe-cs4-and-cs3-free-trials-here.html

  • MouseEvents and KeyEvents in the same form is not working

    Hello!
    I'm newbee in java althought i've bee programing for a long time in other languages, C, C++ wich i'm proud of.
    Now i land on java and there are a lot of cuestions (nothing that cant be solved by trying and reading).
    But today i hitted my head against all posible solutions and nothing (but bad mood) came out.
    The code with trouble is this...
    public class NewJFrame extends javax.swing.JFrame
        public NewJFrame()
            initComponents();
        private void initComponents() {
            jButton1 = new javax.swing.JButton();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            addKeyListener(new java.awt.event.KeyAdapter() {
                public void keyPressed(java.awt.event.KeyEvent evt) {
                    formKeyPressed(evt);
                public void keyReleased(java.awt.event.KeyEvent evt) {
                    formKeyReleased(evt);
                public void keyTyped(java.awt.event.KeyEvent evt) {
                    formKeyTyped(evt);
            jButton1.setText("jButton1");
            jButton1.addMouseListener(new java.awt.event.MouseAdapter() {
                public void mouseClicked(java.awt.event.MouseEvent evt) {
                    jButton1MouseClicked(evt);
            pack();
        private void formKeyTyped(java.awt.event.KeyEvent evt) {
            Integer i = evt.getKeyCode();
        private void formKeyPressed(java.awt.event.KeyEvent evt) {
            Integer i = evt.getKeyCode();
        private void formKeyReleased(java.awt.event.KeyEvent evt) {
            Integer i = evt.getKeyCode();
        private void jButton1MouseClicked(java.awt.event.MouseEvent evt) {
            Integer i = evt.getButton();
        private javax.swing.JButton jButton1;
    }In debug mode i cant listen to mouse events and key events in the same form. Is that normal ?
    In case this is normal, how can i surround this "problem" and make it work.
    Thanks a lot in ahead.

    Thanks for trying to understand whats going on ...
    There is my SSCCE
    * NewJFrame.java
    * Created on 2 de mayo de 2008, 20:32
    * @author  edu
    public class NewJFrame extends javax.swing.JFrame
        public NewJFrame()
            initComponents();
            setFocusable(true);
            requestFocus();
        private void initComponents() {
            jButton1 = new javax.swing.JButton();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            addKeyListener(new java.awt.event.KeyAdapter() {
                public void keyPressed(java.awt.event.KeyEvent evt) {
                    formKeyPressed(evt);
                public void keyReleased(java.awt.event.KeyEvent evt) {
                    formKeyReleased(evt);
                public void keyTyped(java.awt.event.KeyEvent evt) {
                    formKeyTyped(evt);
            jButton1.setText("jButton1");
            jButton1.addMouseListener(new java.awt.event.MouseAdapter() {
                public void mouseClicked(java.awt.event.MouseEvent evt) {
                    jButton1MouseClicked(evt);
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 400, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(0, 0, Short.MAX_VALUE)
                        .addComponent(jButton1)
                        .addGap(0, 0, Short.MAX_VALUE)))
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 300, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(0, 0, Short.MAX_VALUE)
                        .addComponent(jButton1)
                        .addGap(0, 0, Short.MAX_VALUE)))
            pack();
        private void formKeyTyped(java.awt.event.KeyEvent evt) {                             
            setTitle(String.valueOf(evt.getKeyCode()));
        private void formKeyPressed(java.awt.event.KeyEvent evt) {                               
            setTitle(String.valueOf(evt.getKeyCode()));
        private void formKeyReleased(java.awt.event.KeyEvent evt) {                                
            setTitle(String.valueOf(evt.getKeyCode()));
        private void jButton1MouseClicked(java.awt.event.MouseEvent evt) {
            setTitle(String.valueOf(evt.getButton()));
        private javax.swing.JButton jButton1;
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new NewJFrame().setVisible(true);
    }It's quite simple, its suposed to show on the windows title the KeyCode (if there is any) or the MouseButton when pressed.
    The problem is: it doesnt work... (if i comment out the jButton1 related code, that means that i dont listen to MouseEvents & dont add the MouseAdapter as MouseListner to the form, the KeyEvents are raised and i can listen to them - but there are no MouseEvents - if i run the SSCCE like above i can listen to the MouseEvents, but cant listen to the KeyEvents. Can you tell me why?
    Just before posting i realized it was a focus issue ! The button got the focus and got all the events redirected towards him ! I solved it with the code
            jButton1.setFocusable(false);and it finally worked !
    Thanks!

  • The Adobe Flash plugin not working

    I downloaded and installed the Adobe Flash plugin last version (11), but Firefox doesn't recognizing it and asking me again to install it. OS - MAC, version 10.6.8

    You can find the latest Flash player for Firefox on this page.
    *http://www.adobe.com/special/products/flashplayer/fp_distribution3.html
    For Firefox on 64 bit Windows, you need the 32 bit Flash version version because Firefox is a 32 bit application.

  • Since I installed Mountain Lion the adobe website is not working anymore

    Hi, I know it soundes absurd, but since I installed Mountain Lion, I don't habe access to the adobe website anymore.
    Anyone had the same troble or knows how to get it fixed? I need to make updates.
    Thanks a lot
    Indikation

    I have replied to an issue like this one before and I guess it's the same thing. Go check here: https://discussions.apple.com/message/18546308#18546308

  • Script to open another pdf attach to email and close the new pdf

    I have a pdf that contais a movie and there is a link to send another pdf with a small version of that film to email i tried this code but without any luck
    var myDoc = app.openDoc({cPath:"XXXXXX/cpi-028.bx.pdf"});
    myDoc.mailDoc(true);
    myDoc.closeDoc(true);
    the link is working but after the small pdf opens nothing else works
    Somebody please help me

    If the PDF isn't already downloaded in the email then you should be able to do so by tapping on it.
    If the PDF is open within the body of the email then press and hold it and after a second or so you should get a 'Open In' pop-up; otherwise (e.g. the PDF opens into a separate screen) then tap the PDF and you should get an icon top right of a box with an arrow coming out of it - tap that and you'll get the 'Open In' option

  • When I open a pdf in ibooks the music pauses, with te books it's ok, help me please

    Only with pdfs

    This particular file is a PDF Portfolio, which needs Flash to display correctly. When you open a PDF Portfolio in the Adobe Reader mobile it will open in list view to get around the fact that Flash isn't supported on iOS. So, it won't open properly in a native viewer on iOS only within the Adobe Reader.

  • I opened my form and downloaded the form to post on my website... but the submit button is not working.

    What am I doing wrong? The first time I created my form I used Acrobat and the FormsCentral embedded in the program. The original form was working, but I had to make some changes to it. I can't get FormCentral to launch within Acrobat anymore. I loaded my new form (with the changes) to Forms Central through the browser interface, yet when I open the form and download the form to post the posted form does not work. Help!

    Hi,
    if it's ok for you, people can send a email at your adress, it's enough to use (translated from German-DW):
    Insert -> email link. In my DW it looks lik this:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>eMail</title>
    </head>
    <body>
    <a href="mailto:[email protected]">eMail</a>
    </body>
    </html>
    The users click into the word "eMail" your eMail-program wil start.
    Naturally there are som other ways, like this for example:
    <td width="35%"><input id="send" type="submit" name="Submit" value="send" />
    I suggest first try or test the easy way.
    Hans-G.

  • PDF embedding in a Adobe Form

    Hi folks,
    is it possible to embed a PDF-datastream (which comes from backend system) into a PDF Based Form , and if so, how?
    kind regrads,
    oliver

    hi Bertrand DESSERTENNE,
    Can share with detail how to insert attachment (PDF/jpeg) into the adobe form generated by sap?
    the requirement is offline form using webservice to save all the info (including attachment) back to sap.
    how we store the attachment and how to retrieve it?
    Regards,
    Lau

  • How to write a application using WDJ with the adobe form ?

    Hi, experts,
    I don't know how to write a application using !!webdynpro for java!! with the adobe form so that I can fill data to the adobe form and get data from the adobe form.
    Note: I have configed the ADS(adobe document services),and I can create a application with a interactiveform in webdynpro for abap and run it successfully, so that I can  fill data to the adobe form and get data from the adobe form.
    Do you give me some hint?
    Thanks a lot.
    Best regards,
    tao
    Edited by: wang tao on Sep 9, 2008 8:59 AM

    Hi,
    Refers the following links.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4fd2d690-0201-0010-de83-b4fa0c93e1a9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5f27e290-0201-0010-ff82-c21557572da1
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c9a954-aa20-2a10-64bb-ea0835204e03
    Thanks
    Abhilasha.

  • I opened a PDF attached to an email. When I reduce the PDF and try to go back to email, the PDF opens again. How do I close it?

    This whole support process doesn't make sense to me, but that's a problem for another day...
    I opened a PDF attached to an email ( from a trusted source). Now I can't close it, nor can I get back to my email account. When I try, I just get the open PDF. How do I close it?

    I looked at similar inquiries, and got my answer. Thanks!

Maybe you are looking for

  • I use Mac OS X 10.6.8 and I need to know how can I print using Aficio MP C4000

    I can not print after I added the printer my laptop (MacBook Pro) using OS X 10.6.8 and my printer model is Aficio MP C4000 when I give the order print from my laptop to print the printer will print a empty paper and never stop printing its network c

  • ISync icon on status bar vs. opening app

    Ok- new to Mac so I apologize if I butcher this question- however, I have a RAZR- and the syncing thing works great. But, in order to sync, I have to open iSync and click "sync devices". Why doesn't clicking on the small sync icon on the upper status

  • Question on updating Moved Archives

    Procedural questions: I have a mailbox that receives throughout the day every day firewall logs. These are then automatically moved into monthly folders, and the monthly folders are automatically moved to archives. Since the archive was getting to be

  • Customized data type

    i tried to make a simple Dynamic Invocation Interface client sample. how do i set input and output a customized data type and how do i invoke the method that uses the customized data type?thank you.

  • Quick keynote for iPad question

    Using Keynote on an ipad, can you place a hyperlink on a page that will open up a file you already have on your ipad? (I'm not talking about an internat hyperlink) On my work PC using Powerpoint I can place a file 'hyperlink" on a page and when I cli