Adding an attachment from a ByteArrayOutputStream

I have a ByteArrayOutputStream that I need to add to a message as an attachment. What is the best way to go about this?

Hello
Please try the following code. It should work
ByteArrayInputStream istream = new ByteArrayInputStream(ostream.toByteArray());// You already have the ByteArrayOutputStream with you.
MimeBodyPart mimeBodyPart = new MimeBodyPart(istream) ;
MimePartDataSource ds = new MimePartDataSource(mimeBodyPart);
BodyPart messageBodyPart = new MimeBodyPart();
messageBodyPart.setDataHandler(ds);
Multipart multipart = new MimeMultipart();
multipart.addBodyPart(messageBodyPart);
msg.setContent(multipart);
Regards Geetha Mangalam

Similar Messages

  • Exception adding attachment from custom worklist client

    I am building a custom Human Task Editor for BPEL. This is a java standalone (at the moment) and runs on my local Mac machine. The SOA Suite 11g is installed on Linux hosted box.
    A BPEL process is already deployed and an instance created. The instance has reached the 'human task' activity. I can also verify this from <host:port/integration/worklistapp>. However, we plan to build our own worklist app.
    In this custom worklist app (which is configured through REMOTE protocol ), I make use of the taskQueryService to fetch a list of all human tasks assigned to a particular user. This returns me with a list. All works well.
    However, when I try to add an attachment to one of the tasks, I get an exception.
    -------------------CODE:----------------------------------
    import oracle.bpel.services.workflow.task.model.AttachmentTypeImpl;
    In my main class :
    AttachmentTypeImpl at = new AttachmentTypeImpl() {
    public InputStream getInputStream() {
    throw new UnsupportedOperationException("Not supported yet.");
    public void setInputStream(InputStream arg0) {
    throw new UnsupportedOperationException("Not supported yet.");
    public void setBoundary(String arg0) {
    throw new UnsupportedOperationException("Not supported yet.");
    public String getBoundary() {
    throw new UnsupportedOperationException("Not supported yet.");
    at.setContent("THIS IS ATTACH CONTENT");
    at.setMimeType("application/msword");
    at.setName("MyAttach.doc");
    task.addAttachment(at);
    try {
    taskSrvc.addAttachment(ctx, task.getSystemAttributes().getTaskId(), at);
    } catch (StaleObjectException ex) {
    } catch (WorkflowException ex) {
    --------- EXCEPTION --------------------
    Exception in thread "main" java.lang.NullPointerException
    at oracle.xml.jaxb.JaxbNode.getOwnerDocument(JaxbNode.java:237)
    at oracle.xml.jaxb.JaxbNode.setJaxbElement(JaxbNode.java:782)
    at oracle.bpel.services.workflow.task.model.AttachmentTypeImpl.setContent(AttachmentTypeImpl.java:50)
    at customworklistclilent.Main.addAttachment(Main.java:224)
    at customworklistclilent.Main.queryTasks(Main.java:156)
    at customworklistclilent.Main.main(Main.java:70)
    Has anyone tried adding an attachment from the custom worklist client using remote ejb interface

    Have you tried working with the addAttachment() method of the Message interface (http://help.sap.com/javadocs/pi/SP3/xpi/com/sap/engine/interfaces/messaging/api/Message.html#addAttachment%28com.sap.engine.interfaces.messaging.api.Payload%29) ... It may require some (major) redesign of your JAVA mapping (I'm still on XI, so I can't validate this assumption)
    Chris

  • How to extract a .eml (e-mail file) "attachment" from an e-mail

    Hi,
    I have a slight problem with e-mail attachments. It's quite an explanation, so stick with me please.
    I have to extend, debug and adapt an e-mail archive for my company.
    I already worked on this project for 2 months, to make an extra batch and change some functionality of the existing e-mail archive.
    I've been outsourced for a montsh, and now back on the e-mail archive.
    There were some problems with e-mail attachments. (.gif, .doc, ...)
    Some of them weren't shown in the web application.
    The code that already has been written has a custom Email object. This e-mail object contains custom EmailBodyPart objects. Every EmailBodyPart has a disposition (Part.INLINE or Part.ATTACHMENT).
    In every JavaMail Message object, every BodyPart is read, the disposition is extracted, and an EmailBodyPart is created with the disposition and some other data. Then, this EmailBodyPart is added to the Email object.
    But sometimes, an attachment (.gif, .doc, ...) doesn't have the correct disposition in a Message, and isn't added as attachment, but as INLINE.
    This way, in the web application, there aren't any attachments visible for the e-mail, but when you send the mail back to your inbox through the web interface, you can see the attachments again.
    I had to solve this, and make the attachments visible in the web interface, and i did. I just checked if a filename was present, and if it wasn't an image (images still can be inline), then the disposition of the EmailBodyPart is set to Part.ATTACHMENT. It is visible now.
    But now on to the problem...Sometimes, an e-mail (.eml file) is added to an other e-mail as an attachment. But, this e-mail isn't included as disposition attachment, but just as an other message within the message. It doesn't even have a file name. It seems like this is just a forward or something.
    This e-mail should be visible as an attachment of the surrounding e-mail within the web interface. Does anyone have an idea how i can accomplish this and extract this body part as an attachment? Are there any headers i can check? (I printed the headers of the body part and there were only three, content-type, encoding en such ... but nothing like disposition. I tried to set the disposition to attachment to make it visible as an attachment, but that didn't work.
    Thanks already in advance.

    Hi there,
    Thanks for your reply.
    Well, it was kind of a mistake in the webapplication itself. The object passed to the related method was an instance of MimeMessage (the previous programmer only checked MimeMultiParts), and those weren't added to the vector of attachments. Now they are.
    But now i still have problems. I have to give those attachments a file name. I tried extracting the subject from the message, but in the related method the message is casted to a multipart (is needed for further processing), and i can't fetch the sub-message's subject (if i get the part, i can't get the subject header anymore).
    If i don't give the file a .eml extension, it opens a MHTML file or something, and it is unreadable by windows. If i get an InputStream of the part's content, and return that, and give the attachment a .eml extension, i get the outlook window , but all the text is pure HTML code. Not like it should be, and the mail in Outlook doesn't have any headers (no from, no to, no subject, ...)
    Any idea here ? I could suply you with some code, but i don't understand all the steps myself, i got on this project which was build by someone else. It's quite a lot of code.
    Thanks in advance.

  • Attachment from webdynpro abap to workflow and vice versa

    I added  the attachment using the following code from my webdynpro abap application:
    DATA: lv_xstring TYPE xstring,
            att_id TYPE swr_att_id,
            ls_msg_ln TYPE TABLE OF swr_messag,
            ls_msg_str TYPE TABLE OF swr_mstruc,
            lv_objkey TYPE swr_att_doc_id,
             ls_header             TYPE swr_att_header.
      lv_xstring = lv_file.
      ls_header-file_type      = 'B'.
      ls_header-file_name      = 'Attachment'.
      ls_header-language       = sy-langu.
      CALL FUNCTION 'SAP_WAPI_ATTACHMENT_ADD'
        EXPORTING
          workitem_id          = lv_wi_id
          att_header           = ls_header
         att_bin              = lv_xstring
         do_commit            = 'X'
       IMPORTING
         return_code          = rc
         att_id               = att_id
    TABLES
       message_lines        = ls_msg_ln
       message_struct       = ls_msg_str .
    I see the attachments in the workitem but am unable to open the attachment.
    Another question is how can I show the same documents in another webdynpro application as attachments.
    Thanks,
    ST

    Hello,
    Try specifying file_extension = 'DOC' like in this thread (see Pavan's code about halfway down) :
    attachment to _Attach_Objects in user dicision step
    regards
    Rick Bakker
    Hanabi Technology

  • How can I delete an attachment from a received email but save the message?

    Hi all, how can I delete an attachment from a received email but save the message?*

    Over the years this issue crops up again and again. Here are the cases I know about:
    Case 1 - it simply doesn't work
    I have a message in my inbox with a jpeg of about 300Mb. Select message, choose option "remove attachment" which is not greyed out, and it does not work.
    Case 2 - it works if you save the message first
    I move the message from the inbox to a mail box. Open the mailbox (select), select the message, choose option "remove attachment", result: the attachment is removed, a small text file is added and an error appears in the message "missing plug-in". The message size is reduced from 300Mb to a few bytes.
    Case 3 - the option "remove attachment" is greyed out.
    I've googled this at least 10 times and read all the advice about editing various files from the library and all the other hacks. The simple truth here is that the user should not be inconvenienced by such inappropriate behaviour. We're not used to this from Apple any more, not since OS X. Even Windows does this stuff painlessly. In fact this kind of function is something that Outlook and Exchange do incredibly well. If they didn't the corporate world would have ground to a halt.
    My point: the remove attachment option should work all the time and should be redesigned. Right-click + save as + delete in the message would be a hundred times easier.

  • Email attachment from ibooks or file manager

    When I email a attachment from ibooks or file manager, the  text added to the email witch is visible in the send email on the ipad is not send except for the inserted file  Only the attachment is received but no text.  Is it possible to ad a text and signature?

    That issue has nothing to do with FileVault. The recipient's mail server is misconfigured.

  • Extract attachment from input sream?

    hi,
    how can i retrieve image/attachment from input stream.
    I am getting:
    <?xml version="1.0" ?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.csapi.org/schema/parlayx/multimedia_messaging/send/v2_4/local" xmlns:ns2="http://www.csapi.org/schema/parlayx/common/v2_1">
    <soapenv:Body>
    <ns1:sendMessage>
    <ns1:addresses>tel:070123456789</ns1:addresses>
    <ns1:senderAddress>tel:07123456789</ns1:senderAddress>
    <ns1:subject>GIF89a� > � p��Hl����������+Ut������
    <`Cf��������������� 2X!� , � > ��I��8����`xIbi�h�>���p��rm�"��|�����',C��r9b:��$tK@KJ�����c,8P��tQ ������ �B�_��� p|q
    ��
    �� 4hk �����:�l�:��� ��� ��c ���*X��Y�� �,� �n ���������
    ���� �{|
    Y�m���C��;` !�c���I| P��Z �r�= �1�F r���`Z_q 0oP�C4AP@��
    08�a��>H` ��o � Z� �:-���o�4`2����WH�� X�3���`Uu�@K ���d� �A� *�d+@��lv���C6��9�U�� ������WY�"a��B�8�} Z���c,��tH���(:00�x�4Hvl�0��� 8A�H��( �X��L 7�?
    �&���r�lW@m�� ��(^� ��E:�o��"0�Cu���N���
    ��,���]���Y6�e�]P t����\��@?�P�ud` � x����� �
    �� ���I0rH�
    B�*=�� 5dAi,���p7�N m����$�� �A4N8�Z����uHB�F6"o�5� ��[J�m���X-��6 � ,�@|m���c��-��' ���Ors4�hh�? ��P#���P�50��)���
    V�J�bX��D�<�iU���%M������ �c� &���$G@��a@*�: $$��8M���+�����r�#��)|c��&2`V��/&X� ��0�c`��� |��w���0�N2�z���Th���F/
    ��lro���r��XQ�%��X.�
    )Q��AT��i���P�M��Y��T�d�� ��"��� <I5�V_�H�Z�u�v|
    �b��E�fS��|d�A�u ��YRu��� a2���3��S�XR0^dw���xb�U���6A�����
    8�� �t�d�@���p���d�Dw ��a R�uq����%�
    $�:k�W��a�H`i$.Zt_IR@{`����}�/4�n�w��.:Jr�B
    �F���D;���{3W ?���U� �H�{���9�� ��AT���������[���>�%�Io�a���X���q�<P��y�� �� ��g�>�/
    ��$���$�S�C��"Sk���y X8�BZQ�L� �.�0\wC��� $�3��X�)� r3��e=k���q�1
    + 9��~tS��l����O���Kc����t������ 'U�OZ������
    oZ������e�� �t�w�A'���7�I ���%3�AE!mc[*� �U.���<,cY�Y�2���t��\����
    �)L��08&2] �e� ;
    </ns1:subject>
    <ns1:priority>Default</ns1:priority>
    </ns1:sendMessage>
    </soapenv:Body>
    </soapenv:Envelope>
    Please help me!
    Edited by: sumitbhatnagar007 on Feb 19, 2008 2:38 AM

    Try this 
    http://www.infopathdev.com/blogs/ernesto/archive/2012/01/13/extract-attachments-from-your-infopath-forms.aspx
    As far as I know, there isn't anything built into either SharePoint or InfoPath to do this; you would have to write code. Take a look at this article http://support.microsoft.com/kb/892730 for
    how to decode the base64 encoded string of an attachment. If you're using VB.NET, you can take a look at this InfoPath newsgroup threadhttp://groups.google.com/group/microsoft.public.infopath/browse_thread/thread/310fca090e9f708f/81376114cd5ee732?hl=en&lnk=gst&q=attachment+disk+infopath#81376114cd5ee732
    Once you've decoded the attachment, you can use either the WebClient class (if you're extracting from outside of SharePoint) or classes of the SharePoint Object Model (if you're extracting from somewhere inside of SharePoint) to upload the binary data
    as a file to a SharePoint document library.
    There are several ways to retrieve the form and extract the attachment; it all depends on your requirements and at which moment you want to do the extraction. You could use for example an ItemAdded event handler in SharePoint on the form library to do the extraction
    as soon as the form has been added to the form library. You could also extract after the fact by creating a utility program (outside of SharePoint) that would retrieve all forms in a form library and do the extraction.
    If this helped you resolve your issue, please mark it Answered. You can reach me through http://itfreesupport.com/
    If this helped you resolve your issue, please mark it Answered. You can reach me through http://itfreesupport.com/

  • Attachment from VA02 to be copied to VF01?

    Hi Friends,
    The user wishes to attach any kind of document in sales document. I had achieved the same by adding parameter u201CSD_SWU_ACTIVEu201D to the user id. After which I was able to attach document via VA02 and VA03.
    Now the user wants the same document to get copied in to the invoice. What does it take to make attachment from VA02 to be copied to VF01?
    Do you have any idea on how to achieve this functionality.
    Thanks in advance.
    Br,
    Raj.

    HI PJ,
    I have discussed the issue with my business. They actually want to send the attachment to the customer, along with invoice output (which is already being sent as PDF file throug Email).
    They want any of the two points below:
    Either the attachment should get copied from the order to invoice, and then the same should be sent to the customer along with invoice ouput.
    or
    Even if the attachment is not copied from sales order to invoice, they want it to be there in the mail which is sent to the customer. The mail at the moment contains PDF file  (which is nothing but basically invoice output).
    Hope my requirement is clear.
    Thanks for the help.
    Br,
    Raj.

  • Send mail with attachment from the uploaded file

    hi,
    From a form thread i got the following code to send mail with attachment with the file uploaded from the file upload ui element.
    public void onActionLoadFile(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionLoadFile(ServerEvent)
         WDWebResourceType FileType = null;
         String FileName = new String();
              //get attribute info for context attribute 'FileUpload'
              IWDAttributeInfo attributeInfo =
                   wdContext.getNodeInfo().getAttribute(
                        IPrivateEmailView.IContextElement.FILE_UPLOAD);
              //get modifiable binary type from the attribute info,requires type cast.
              IWDModifiableBinaryType binaryType =
                   (IWDModifiableBinaryType) attributeInfo.getModifiableSimpleType();
              IPrivateEmailView.IContextElement element =
                   wdContext.currentContextElement();
              //if a file in the 'FileResource' attribute exists
              if (element.getFileUpload() != null) {
                   try {
                        String mimeType = binaryType.getMimeType().toString();
                        byte[] file = element.getFileUpload();
                        //get the size of the uploaded file
                        element.setFileSize(this.getFileSize(file));
                        //get the extension of the uploaded file
                        element.setFileExtension(binaryType.getMimeType().getFileExtension());
                        //NOTE: context attribute 'FileName' must not be set
                        //because the FileUpload-UI-element property 'fileName'
                        //is bound to it. Consequently the fileName is automatically
                        //written to the context after file upload.
                        //report success message
                        wdComponentAPI.getMessageManager().reportMessage(
                        IMessageEmailComp.SF_UPLOAD,
                             new Object[] { binaryType.getFileName()},
                             false);
                        FileType = binaryType.getMimeType();
                        FileName = binaryType.getFileName();
                   } catch (Exception e) {
                        throw new WDRuntimeException(e);
              //if no file in the 'FileResource' attribute exists
              else {
                   //report error message
                   IWDMessageManager msgMgr = wdComponentAPI.getMessageManager();
                   msgMgr.reportContextAttributeMessage(
                        element,
                        attributeInfo,
                        IMessageEmailComp.NO_FILE,
                        new Object[] { "" },
                        true);
              //clear the FileResource context value attribute
              //element.setFileUpload(null);
              String URL;
              URL = this.CreateAndGetPathFileUpload(
                                  wdContext.currentContextElement().getFileUpload(),
                                                      FileName);
    //          if (URL.length() == 1){
    //               //ERRORE
         wdContext.currentContextElement().setPATHFileUploaded(URL);
        //@@end
      public boolean send( java.lang.String subj, java.lang.String mess, java.lang.String dest, java.lang.String attach, java.lang.String FileName )
        //@@begin send()
         InitialContext ctx = null;
         Address[] address = null;
         Message msg = null;
         Session sess = null;
         MimeBodyPart bodyPart = null;
         Multipart mp = null;
         // "141.29.193.71" == milvl2ja.icn.siemens.it (SMTP di Siemens)
           try {
              Properties props = new Properties();
              props.put("domain","true");
              ctx = new InitialContext(props);
              sess = (Session) ctx.lookup("java:comp/env/mail/MailSession");
              msg = new MimeMessage(sess);
              IWDClientUser utente = WDClientUser.getCurrentUser();
              String senderEmail = utente.getSAPUser().getEmail();
              InternetAddress addressFrom = new InternetAddress(senderEmail);
              msg.setFrom(addressFrom);     
              String EmailDEST = dest;
              InternetAddress addressTo = new InternetAddress(EmailDEST);
              msg.setRecipient(Message.RecipientType.TO, addressTo);
              msg.setSubject(subj);
    //          if ((mess != null) && (mess.length()>0)) {
    //                 msg.setContent(mess, "text/plain");
    //            } else {
    //                 msg.setContent("", "text/plain");
              //Gestione ATTACHMENT...
              String attachedFileName = new String(wdContext.currentContextElement().getFileName());
              boolean hasAttachment = (attachedFileName != null) && (attachedFileName.length() > 0);
              boolean isMultiPart = (mess != null) && (mess.length() > 1);
              //adding an attachment makes the message multipart
                 if (isMultiPart || hasAttachment) {
                    mp = new MimeMultipart();
                    // add text parts
                      if (mess != null) {
                         for (int i = 0; i < mess.length(); i++) {
                           bodyPart = new MimeBodyPart();
                           bodyPart.setContent(mess,"text/plain");
                           mp.addBodyPart(bodyPart);
                    //attach the file to the message if needed
                    if (hasAttachment) {     // avoid the case with no text parts
                         bodyPart = new MimeBodyPart();
                           bodyPart.setContent("Allegato incluso nel messaggio.","text/plain");
                           mp.addBodyPart(bodyPart);
                           // the part with the file
                           FileDataSource fds = new FileDataSource(attach);
                           MimeBodyPart attachmentBodyPart = new MimeBodyPart();
                        attachmentBodyPart.setDataHandler(new DataHandler(fds));
                        //URL URLattachedFileName = new URL(attach);
                        //attachmentBodyPart.setDataHandler(new DataHandler(URLattachedFileName));
                           attachmentBodyPart.setFileName(FileName);
                           mp.addBodyPart(attachmentBodyPart);
                    msg.setContent(mp);
                 } else {
                    if ((mess != null) && (mess.length() > 0)) {
                         msg.setContent(mess, "text/plain");
                    } else {
                         msg.setContent("", "text/plain");
              //fine ATTACHMENT 
              msg.setSentDate(new GregorianCalendar().getTime());
              msg.saveChanges();
              address = msg.getAllRecipients();
              Transport.send(msg, address);
           } catch (Exception e) {
                 e.printStackTrace();
                 return false;
           return true;
        //@@end
    When i used the same code in my application i am gett ing error in many places..
    1)FileDataSource fds = new FileDataSource(<b>attach</b>);
    attach cannot be resolved
    2)attachmentBodyPart.setFileName(<b>FileName</b>);
    fliename cannot be resolved
    3)byte[] file = element.getFileUpload();
    type mismatch cannot convert sting to byte[]
    4)element.setFileSize(this.getFileSize(file));
    method getFileSize() is undefined
    5)element.setFileExtension(binaryType.getMimeType().getFileExtension());
    method getFilExtension() is undefined
    6)URL = this.CreateAndGetPathFileUpload(wdContext.currentContextElement().getFileUpload(),FileName);
    method CreateAndGetPathFileUpload() is undefined.
    7)wdContext.currentContextElement().setPATHFileUploaded(URL);
    from the above error i can understand that only i have got the part of the code.
    Please send me the complete coding.
    some method definitions are missing....
    Please help me to send the mail with attachment from the file uploaded from the file upload ui element.
    Thanks in advance,
    shami.

    hi,
    I got this from the following link
    Re: Attaching an excel file
    plz help me ...
    I am using 2004s with nwds 7.0.06.
    also tell me what should be the type of the context variable FileUpload
    Thanks in advance,
    shami.

  • How to get An Attachment from(reading outlook attachment from Java)

    I am developing a Java Email client. This Email client is working for "POP3" server. This is working fine for recieving all the emails other than Outlook express attachment. This is first time I am posting a topic even I had answered some topics. Now I am expecting your help for to solve this. Please help me if anybody faced the same problem.Please send me the Actuall code retreive Attachment from Inbox
    Please Send to me That code
    [email protected]

    I think this peice of information and code would help u
    Getting Attachments
    Getting attachments out of your messages is a little more involved then sending them, as MIME has no simple notion of attachments. The content of your message is a Multipart object when it has attachments. You then need to process each Part, to get the main content and the attachment(s). Parts marked with a disposition of Part.ATTACHMENT from part.getDisposition() are clearly attachments. However, attachments can also come across with no disposition (and a non-text MIME type) or a disposition of Part.INLINE. When the disposition is either Part.ATTACHMENT or Part.INLINE, you can save off the content for that message part. Just get the original filename with getFileName() and the input stream with getInputStream().
    Multipart mp = (Multipart)message.getContent();
    for (int i=0, n=multipart.getCount(); i<n; i++) {
    Part part = multipart.getBodyPart(i));
    String disposition = part.getDisposition();
    if ((disposition != null) &&
    ((disposition.equals(Part.ATTACHMENT) ||
    (disposition.equals(Part.INLINE))) {
    saveFile(part.getFileName(), part.getInputStream());
    The saveFile() method just creates a File from the filename, reads the bytes from the input stream, and writes them off to the file. In case the file already exists, a number is added to the end of the filename until one is found that doesn't exist.
    // from saveFile()
    File file = new File(filename);
    for (int i=0; file.exists(); i++) {
    file = new File(filename+i);
    The code above covers the simplest case where message parts are flagged appropriately. To cover all cases, handle when the disposition is null and get the MIME type of the part to handle accordingly.
    if (disposition == null) {
    // Check if plain
    MimeBodyPart mbp = (MimeBodyPart)part;
    if (mbp.isMimeType("text/plain")) {
    // Handle plain
    } else {
    // Special non-attachment cases here of
    // image/gif, text/html, ...
    regards
    shanu

  • How do i open an e-mail attachment from WINDOWS

    heres my question
    Someone approached me in church today,they know i have a Macbook
    They recieved an e-mail with an attachment from someone else
    they went to open the attachment,Right away Microsoft Office opened and told them their TRIAL had expired.
    I recommmended they look in Spotlight and also under system preferences in the blue apple
    What he needs in something In the Macbook Already that will open the attachment so he can read it.
    Will the trial version of I-Work do it?
    he is looking or something quick that will work
    thanks

    CoffeehouseSchmuck,
    The attachment is evidently a Word file, and the person in question evidently just clicked on the attachment in the email message. When you do this, Mail will attempt to have the associated application open the attachment.
    The first problem is that only a trial version of Word is present, and the second is that the person in question is simply clicking on the attachment. First, get the attachment to the Desktop by dragging it there (or using the "Save Attachment.." button in Mail).
    Once the attachment is on the Desktop, select it, then press Apple-I to open a Getinfo window for it. Use the "Open With.." pull-down to change the default application to open this type of document, then click the "Change All" button.
    Text Edit will open Word documents, but the formatting might be funky. However, this should be sufficient for simply reading attachments. An iWork trial version of Pages will be able to handle it with all formatting in place, but this will only work until the trial expires.
    Ideally, the person in question should acquire either MS Office or the free NeoOffice.
    Scott

  • Unable to open URL attachment from SBWP in CRM WEB UI

    Hello Gurus,
    Need your help please. I'm having some problem opening the URL attachment from SBWP via CRM 7 WEB UI (I used a Transaction Launcher for SBWP). The attachment is a Webdynpro application.  I am able to open the attachment in SAP GUI, but not in CRM WEBUI. This problem occured when we update the SP level of CRM 7.
    Here's the scenario,
    - whenever I click the attachment, it open a new window, which also happen even before SP level update, with the following information:
      Execute an Application on FrontEnd
      Please wait. You will be forwarded automatically.
      This page is included for technical reason.
      Execute program.
      Status: Displaying Office Document ..........
      After a couple of seconds, it will return to the Workflow Workplace screen.
    I have checked the workflow log and found no inconsistency on the attached URL.
    Immediate response would be highly appreciated. Thanks in advance.
    Regards,
    Edwin

    Thanks for the reply WD ABAP.
    Yes, I did try to use the functionality of Worklist and the URL attachment successfully opened. However, there are some limitation in its functionality as indicated in the link below that opted us to use the SBWP in CRM WEB UI via transaction launcher.
    http://wiki.sdn.sap.com/wiki/display/CRM/CRMWorklist-AdvancewithDialognotSupported
    We don't want to adjust the logic of our existing workflow at this point as described in the above link as it will entails end-to-end testing again. We just encountered this issue when we update the SP level of CRM 7.
    Hope there is an alternative solution without shifting us to Worklist.
    Regards,
    Edwin

  • On my Mac Pro, when I send emails, it always gives me the option of adding an attachment with a paper clip. Today, the paperclip has vanished. What do I do ?

    On my Mac Pro, when I send emails, it always gives me the option of adding an attachment with a paper clip.
    Today, the paperclip has vanished. What do I do ?
    Simon

    http://www.apple.com/support/mail

  • Open attachment from AOL mail

    when i download a attachment from AOL mail I get a message "Adobe Reader could not open (name of file) it is not a supported etc

    What is your operating system?  Reader version?
    If you download the attachment to your local disk first, then open it from there, does it open?

  • How can I copy songs with metadata (added in iTunes) from my PC to my new iMac?

    I have iTunes 12.0.1 on my Windows PC. I'm about to get a new iMac (hooray!) and I'm beginning the process of transferring everything on my PC to my Mac. I've got all the documents, pictures, files, etc. covered, but now I have to make a copy of all of my music.
    Most of the music in my iTunes library is not bought through the iTunes Store (I download most of my songs from the Internet). Then, after saving the downloaded song to my computer, I go into iTunes on my computer and add the song. I also add metadata like artist, album, genre, album artwork, etc. to the song in iTunes. What concerns me is that only the songs in iTunes have this metadata: the original downloaded files I saved onto my computer don't have any metadata.
    I really don't want to have to go through the long and tedious process of adding artist/album names, genre, etc. to every single song in my iTunes library on my new iMac. How can I copy songs with metadata (added in iTunes) from my PC to my new iMac?
    Thank you so much for any help!

    Hello! I'd like to learn more about Home Sharing. To do this, would both my PC (which I hope to get rid of) and my new iMac need to be plugged in?
    Also, after Home Sharing with the old PC is initiated, I understand that all my songs would appear on my iMac. Is there a way to copy all of these (with album artwork, name, artist, etc.) directly to the iMac's hard drive and then disconnect home sharing so I can get rid of my PC?
    Thank you!

Maybe you are looking for

  • Petstore not working in J2EE1.4.1 beta2(with sunone application server)

    Hi, I have downloaded an installed J2EE1.4_beta2 , which has J2EE SDK, JRE , Sunone application server, and J2ee blueprints sample apps. I have installed properly as per the installation instruction. I am able to run Quickstart application. But when

  • Changes are not saved under 'listen sockets' - Webserver 6.1 SP2

    Hi all, I'm running Webserver 6.1 SP2 on Solaris 9 and face a strange behaviour when I make changes under 'Listen sockets'. I want to enable nearly everything regarding SSL2 and SSL3 to serve older IE browser versions. My config is like SSL Version 2

  • Issue with using GET n SET Parameter in module pool programming.

    Hello Friends,                      I am using SET n GET Parameter to access input values from a screen. But when I use it, the values are not transfered back n forth. Getting initial values. Your expertise would be appreciated. Cheers, Senthil

  • Exception Handling for Array Binding

    Hi 1) I am using a Stored Procedure. I am using array binding and if i am sending an array of count 10 to be inserted in a table and only 9 got inserted,i deliberatly inserted one errorneous record in array, the count returned by ExecuteNonQuery() is

  • B2B File Marker

    Hi, We have an inbound scenario where we will get large number of EDIFACT messages in a single input file. Now the B2B process the EDIFACT file and converts to multiple XML files to the specified folder. These XML files needs to be consumed by some o