SharePoint - InfoPath - File Attachment Control Problem

Hi,
I have problem with File Attachment Control.
If I open form via internet browser in dialog mode next I click "Attachment Button", browser automatically open form in new tab without dialog.
Any ideas?

Check if below article can help you
http://www.bizsupportonline.net/blog/2010/04/top-10-questions-infopath-file-attachments/
http://sharepoint.stackexchange.com/questions/12512/infopath-file-attachment-run-view-instead-of-download

Similar Messages

  • InfoPath File Attachment, After the form is ReadOnly the Attachment cant be opened anymore! *Fatal*

    Hello Everbody,
    well, you know it and everybody should avoid it. You have some huge amout of Test Cases and all go well, so you declare a Project to "Production ready" and then you found out something doesnt work, like happen now at my side.
    We have a InfoPath Form, which is beeing used as Template in a SharePoint Form Library. We have also a Nintex Workflow which asked different People to "approve" or "reject" a form if a new one was submitted. All that works now like a charm BUT, we have also a Field in the Form where you can Add Attachments. Its the Regular "File Attacment" of the "File and Picture" Design Task Window from InfoPath in Designer Mode. So nothing spezial coded or something like that.
    As long a user has Write permissions, he can open those Attachments which are included in the Form (like they should), but in the moment the User has only 'Read' Permissions he CANT Read the Attachment anymore... no iam in a huge mess, its not absolut cirital But the biggest Problem at my ToDo List now so i would be really happy if someone can tell me there is a way out of this situation instead of (and so i think) this isnt a bug/problem - its a feature (you know those sentences...).
    We cant give everbody just their Write Permissions back of those file because they are 'finally' approved and should only be archived for later reviews if needed. But therefore its good to let those reviewer read those Attachments to.

    btw. i've found some information about this isue, and it seems that i am right - its a Feature , not a bug ...
    i have to set every Item in my ReadOnly view to "read only", disable all options to the user to edit something and then uncheck the ReadOnly Attribute of the View self. If i also uncheck the permission for the viewing user to add/delete Attachment he can still open the attachments.
    BUT, what about Checkboxes ? And Drop Down 's ?
    Okay, all drop down windows kann be replaced by normal textboxes with the same Data Source, but what about Check Boxes? There is no option to make it Read Only "in reference" of the current view. Now, i could easly (maybe, only theoretical) create a function which writes into a field the current Viewname and makes all Checkboxes ReadOnly if the View has a proper name. The Problem, in the second the user is opening the form the old value of the "View" Field was (for example) German View, so the function is replacing this text with "ReadOnly" which means the user HAS changed already something on the Form. If he no tries to close the form - he will be asked if he want save those changes (which he cant because he has only ReadOnly permissions on the file) but instead of saving those Changes it generates a NEW submitted Form which is a fallout in this szenario.
    So what now ? Any tipps ?

  • File attachment download problem with Chrome

    hi,
    I've been searching for a cure to this problem for days without success. Hopefully someone here will help me fix this annoying problem.
    The problem:
    1. First: When using Chrome (lastest as of today) to open an attachment in emails, Chrome
    always saves the file as download.xyz where xyz is the extension.
    2. Second: Sometimes it saves the file extension correctly, sometimes it just changes to something else like htm, ashx,... where the correct extension should be .doc or .xls.
    I find this only happen with MS Office attachment files. Other browsers like Firefox, IE work just fine.
    What is the problem and possible solution/work around for this?
    We are using MS Exchange 2010 btw.
    Thank you

    Hi Trung,
    Try disabling plug-ins in Chrome and see if it works, if works you can pin-point out the exact plug-in causing the issue.
    Type this in the chrome browser's address bar: 
    about:plugins
    Reference:
    Chrome: Attachments save as attachment.ashx and a number
    Regards,
    Satyajit
    Please “Vote As Helpful”
    if you find my contribution useful or “Mark As Answer” if it does answer your question. That will encourage me - and others - to take time out to help you.

  • File attachment encoding problem

    Guys,
    I spend to much time trying to get trough this.
    I use xsl mapping for preparing to send mail by mail adapter.
    File is encoded ANSI (not UTF-8) when i zip it to import it as archive for using this in maaping.
    It's realy simple XSL.
    It's adding IDOC ORDERS04 as xml attachment.
    This is the XSL file:
    "<?xml version="1.0" encoding="iso-8859-2"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:rfc="urn:sap-com:document:sap:rfc:functions" version="1.0" exclude-result-prefixes="rfc">
           <xsl:output method="xml" encoding="iso-8859-2" indent="yes"/>
           <xsl:template match="*">
                   <ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
                           <Subject>Order no. <xsl:value-of select="//BELNR" /></Subject>
                           <From>testattest.pl</From>
                           <To>
                           <xsl:value-of select="//RCVLAD" />
                           </To>
                           <Content_Type>multipart/mixed; boundary="--AaZz"</Content_Type>
                           <Content>
    AaZz
    Content-Type: text/plain; charset=iso-8859-2
    Content-Disposition: inline
    <xsl:text>Order file.
    AaZz
    Content-Type: text/xml; name=order.xml
    Content-Disposition: attachment; filename=Order no. <xsl:value-of select="//BELNR" />.xml
    <xsl:text>
    </xsl:text>
          &lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-2&quot; ?&gt;
          &lt;?xml-stylesheet href=&quot;idoc_orders04.xsl&quot; type=&quot;text/xsl&quot;?&gt;
    <ORDERS04>
    <xsl:text>
    </xsl:text>
    <IDOC BEGIN='1'>
    <xsl:text>
    </xsl:text>
    <xsl:copy-of select="//EDI_DC40"/>
    <xsl:text>
    </xsl:text>
    <xsl:for-each select="//E1EDK01">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="//E1EDK14">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="//E1EDK03">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="//E1EDK04">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="//E1EDK05">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="//E1EDKA1">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="//E1EDK02">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="//E1EDK17">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="//E1EDK18">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="//E1EDK35">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="//E1EDK36">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="//E1EDKT1">
    <E1EDKT1>
    <xsl:copy-of select="TDID"/>
    <xsl:copy-of select="TSSPRAS"/>
    <xsl:copy-of select="TSSPRAS_ISO"/>
    <xsl:copy-of select="TDOBJECT"/>
    <xsl:copy-of select="TDOBNAME"/>
    <xsl:for-each select="E1EDKT2">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    </E1EDKT1>
    </xsl:for-each>
    <xsl:for-each select="//E1EDP01">
    <E1EDP01>
    <xsl:copy-of select="POSEX"/>
    <xsl:copy-of select="ACTION"/>
    <xsl:copy-of select="PSTYP"/>
    <xsl:copy-of select="KZABS"/>
    <xsl:copy-of select="MENGE"/>
    <xsl:copy-of select="MENEE"/>
    <xsl:copy-of select="BMNG2"/>
    <xsl:copy-of select="PMENE"/>
    <xsl:copy-of select="ABFTZ"/>
    <xsl:copy-of select="VPREI"/>
    <xsl:copy-of select="PEINH"/>
    <xsl:copy-of select="NETWR"/>
    <xsl:copy-of select="ANETW"/>
    <xsl:copy-of select="SKFBP"/>
    <xsl:copy-of select="NTGEW"/>
    <xsl:copy-of select="GEWEI"/>
    <xsl:copy-of select="EINKZ"/>
    <xsl:copy-of select="CURCY"/>
    <xsl:copy-of select="PREIS"/>
    <xsl:copy-of select="MATKL"/>
    <xsl:copy-of select="UEPOS"/>
    <xsl:copy-of select="GRKOR"/>
    <xsl:copy-of select="EVERS"/>
    <xsl:copy-of select="BPUMN"/>
    <xsl:copy-of select="BPUMZ"/>
    <xsl:copy-of select="ABGRU"/>
    <xsl:copy-of select="ABGRT"/>
    <xsl:copy-of select="ANTLF"/>
    <xsl:copy-of select="FIXMG"/>
    <xsl:copy-of select="KZAZU"/>
    <xsl:copy-of select="BRGEW"/>
    <xsl:copy-of select="PSTYV"/>
    <xsl:copy-of select="EMPST"/>
    <xsl:copy-of select="ABTNR"/>
    <xsl:copy-of select="ABRVW"/>
    <xsl:copy-of select="WERKS"/>
    <xsl:copy-of select="LPRIO"/>
    <xsl:copy-of select="LPRIO_BEZ"/>
    <xsl:copy-of select="ROUTE"/>
    <xsl:copy-of select="ROUTE_BEZ"/>
    <xsl:copy-of select="LGORT"/>
    <xsl:copy-of select="VSTEL"/>
    <xsl:copy-of select="DELCO"/>
    <xsl:copy-of select="MATNR"/>
    <xsl:copy-of select="VALTG"/>
    <xsl:copy-of select="HIPOS"/>
    <xsl:copy-of select="HIEVW"/>
    <xsl:copy-of select="POSGUID"/>
    <xsl:text>
    </xsl:text>
    <xsl:for-each select="E1EDP02">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="E1CUREF">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="E1ADDI1">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="E1EDP03">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="E1EDP04">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="E1EDP05">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="E1EDP20">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="E1EDPA1">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="E1EDP19">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="E1EDP17">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="E1EDP18">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="E1EDP35">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="E1EDPT1">
    <E1EDPT1>
    <xsl:copy-of select="TDID"/>
    <xsl:copy-of select="TSSPRAS"/>
    <xsl:copy-of select="TSSPRAS_ISO"/>
    <xsl:for-each select="E1EDPT2">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    </E1EDPT1>
    </xsl:for-each>
    <xsl:for-each select="E1EDC01">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    </E1EDP01>
    </xsl:for-each>
    <xsl:for-each select="//E1CUCFG">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="//E1EDL37">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <xsl:for-each select="//E1EDS01">
    <xsl:copy-of select="."/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    </IDOC>
    <xsl:text>
    </xsl:text>
    </ORDERS04>
    </Content>
                   </ns:Mail>
           </xsl:template>
    </xsl:stylesheet>"
    When i import it i can view this file when i open imported archive.
    There i can see that this is iso-8859-2 encoded file.
    When i recive mail and when i save the file it's UTF-8 encoded.
    I'm not talking about declaration in XML file etc. There everything is OK.
    Just when i open file lets say in Edit++ and check code page for file it's UTF-8.
    I need iso-8859-2 code page for the file.
    How can i convert it/do this?
    I used TextCodepageConversionBean but this is not working for that scenerio.
    In file adapter you can choose it.
    Thanks for help,
    Olek

    Are you sure, that your xslt is really used?
    In your XSLT I see:
    <Content>
    ----AaZz
    Content-Type: text/plain; charset=iso-8859-2
    Content-Disposition: inline
    The same place in the SXMB_MONI there is:
    <Content>
    ----AaZz
    Content-Type: text/plain; charset=UTF-8
    Content-Disposition: inline
    I assume that you changed the XSLT meanwhile, but the changes are not active.

  • XPAAJ library export file attachment annotation problem

    Hi,
    I'm using XPAAJ library to export annotations contained in a PDF file to XFDF file. The files which have fileAttachmentAnnotations cannot be exported to XFDF and is giving the exception pasted below. Is there any known issue in XPAAJ library that it doesn't work with FileAttachmentsAnnotations?
    The exception stack trace is given below
    com.adobe.internal.pdf.cos.util.exceptions.PDFCosCastException: expected CosName
    at com.adobe.internal.pdf.cos.CosObject.nameValue(Unknown Source)
    at com.adobe.internal.pdf.cos.CosDictionary.getName(Unknown Source)
    at com.adobe.internal.pdf.PDFEmbeddedFile.getMIMEType(Unknown Source)
    at com.adobe.internal.xfdf.XFDFAnnotationFileAttachment.transformToXFDF(Unknown Source)
    at com.adobe.internal.xfdf.PDF2XFDFAnnotationsReader.outputAnnotations(Unknown Source)
    at com.adobe.internal.xfdf.PDF2XFDFAnnotationsReader.HandleAnnotations(Unknown Source)
    at com.adobe.internal.xfdf.PDF2XFDFAnnotationsReader.parse(Unknown Source)
    at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.ja va:452)
    at com.adobe.internal.pdf.cos.util.Utility.transformToXML(Unknown Source)
    at com.adobe.internal.xfdf.XFDFObject.exportAnnotations(Unknown Source)
    at com.adobe.pdf.impl.PDFDocumentImpl.exportAnnotations(Unknown Source)
    Is there any other product (any adobe or other for that matters) i can use to accomplish the export annotation task. Note that I wouldn't like to use Acrobat SDK or Assembler as they have this ability.
    Any suggestion would help a great deal.
    Thanks
    Ali

    The answer to the first part is that GetIconContents will
    return:
    #type:#linkedIcon
    However, I am pretty sure it is not possible to automatically
    'select'
    the library version in this way.
    Mark
    derekclayton wrote:
    > I have a script that parses through an Authorware (7.02)
    file, gathers
    > information and exports appropriate media. This is done
    on unpackaged files.
    > Everything works great, unless the icon is actually a
    library icon. After
    > selecting the icon...
    >
    > ExportMedia( FileLocation^"_build\\", FALSE, FALSE )
    >
    > If the icon is linked to a library, it results in an
    error dialog indicating
    > that there was no media to export. How do I determine if
    the icon is a linked
    > library icon? And then select the library version? I can
    find no function or
    > variable, no reference within the help, and nothing
    online.
    >
    > What am I missing? Your input will be greatly
    appreciated.
    >
    www.AuthorwareXtras.co.uk
    EuroTAAC eLearning 2007
    www.eurotaac.com
    www.freelists.org/list/flashelearning
    Authorware Media Synchronization Command:
    www.authorwarextras.co.uk --> Commands
    Media Synchronization made easy !

  • Help me in Increasing attachment control size on infopath form

    I have several attachment control on the form. it may require more than 5 MB capacity per form. could anyone let me know how to extend attachment control size in infopath?

    Quoted From:
    -----http://social.msdn.microsoft.com/Forums/en-US/c8d0c009-aa3f-48c2-8d99-08e26e9d35be/how-to-increase-the-size-of-attachment-file-in-infopath-forms
    The fix lies in either the machine.config file or the web.config file of the MOSS server. 
    You'll need to increase the 'maxRequestLength' value in order to upload larger files. 
    Ex:
    <httpRuntime maxRequestLength="8192" />
    Verify below link for more idea.
    http://www.k2underground.com/blogs/fromthebench/archive/2008/03/10/infopath-file-attachment-size-limit.aspx
    Anuma Chinthapalli / http://www.GGKTech.com
    Hope it helps.

  • How to include multiple attachment control's in single info-path form

    Hello Everyone,
    I am using SharePoint online with info-path form 2013. for one sharepoint list form i would like to include multiple attachment control's. please suggest a possible solution.

    Hi Venkat,
    Per my knowledge, when we edit the list form in InfoPath, the attachment control cannot be accessed.
    And  InfoPath form templates of types (compatibility) "SharePoint List Form" and "Workflow Form" are by Microsoft design (or under-mis-design) locked, non-modifiable and do not permit client custom code (from InfoPath
    Designer in VSTA, Visual Studio for Applications).
    So we cannot add more attachment control in InfoPath form for SharePoint list.
    As a workaround, I recommend to use Multiple line of text field to store the attachments instead.
    Best regards,
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Text file attachment in UTF-8 encoding

    Hi
    I have written a program which sends  mails to the users with text file attached. the problem is the text file when you save it to the local desktop ( by clicking on save as ) the encoding is by default ANSI. I want to make the encoding as UTF-8. Is it possible to change this in program?.
    thanks
    sankar

    OPEN DATASET - encoding
    Syntax
    ... ENCODING { DEFAULT
                 | {UTF-8 [SKIPPING|WITH BYTE-ORDER MARK]}
                 | NON-UNICODE } ... .
    Alternatives:
    1. ... DEFAULT
    2. ... UTF-8 [SKIPPING|WITH BYTE-ORDER MARK]
    3. ... NON-UNICODE
    Effect
    : The additions after ENCODING determine the character representation in which the content of the file is handled. The addition ENCODING must be specified in Unicode programs and may only be omitted in non-Unicode programs. If the addition ENCODING is not specified in non-Unicode programs, the addition NON-UNICODE is used implicitly.
    Note
    : It is recommended that files are always written in UTF-8, if all readers can process this format. Otherwise, the code page can depend on the text environment and it is difficult to identify the code page from the file content.
    Alternative 1
    ... DEFAULT
    Effect
    : In a Unicode system, the specification DEFAULT corresponds to UTF-8, and in a non-Unicode system, it corresponds to NON-UNICODE.
    Alternative 2
    ... UTF-8 [SKIPPING|WITH BYTE-ORDER MARK]
    Addition:
    ... SKIPPING|WITH BYTE-ORDER MARK
    Effect
    : The characters in the file are handled according to the Unicode character representation UTF-8.
    Notes
    : The class CL_ABAP_FILE_UTILITIES contains the method CHECK_UTF8 for determining whether a file is a UTF-8 file.
    A UTF-16 file can only be opened as a binary file.
    Addition
    ... SKIPPING|WITH BYTE-ORDER MARK
    Effect
    : This addition defines how the byte order mark (BOM), with which a file encoded in the UTF-8 format can begin, is handled. The BOM is a sequence of 3 bytes that indicates that a file is encoded in UTF-8.
    SKIPPING BYTE-ORDER MARK
    is only permitted if the file is opened for reading or changing using FOR INPUT or FOR UPDATE. If there is a BOM at the start of the file, this is ignored and the file pointer is set after it. Without the addition, the BOM is handled as normal file content.
    WITH BYTE-ORDER MARK
    is only permitted if the file is opened for writing using FOR OUTPUT. When the file is opened, a BOM is inserted at the start of the file. Without the addition, no BOM is inserted.
    The addition BYTE-ORDER MARK cannot be used together with the AT POSITION.
    Notes
    : When opening UTF-8 files for reading, it is recommended to always enter the addition SKIPPING BYTE-ORDER MARK so that a BOM is not handled as file content.
    It is recommended to always open a file for reading as a UTF-8 with the addition WITH BYTE-ORDER MARK, if all readers can process this format.
    Alternative 3
    ... NON-UNICODE
    Effect
    : In a non-Unicode system, the data is read or written without conversion. In a Unicode system, the characters of the file are handled according to the non-Unicode codepage that would be assigned at the time of reading or writing in a non-Unicode system according to the entry in the database table TCP0C of the current text environment.

  • How to disable delete option or symbol in attachment control in infopath 2010

    Any have any idea how to disable the delete option or symbol near the attached file using attachment control in infopath 2010.
    I have created a custom list in sharepoint online 2013(Office 365) and customized it in  Infopath forms 2010 
    i want tht user can attach the files using attachment control but not to allow to delete other attached files.
    plzzzzzz help me out :( .

    Hello,
    As per my finding, you have to custom create event receiver to handle this situation. Use "ItemAttachmentDeleting" event to prevent user to delete attachment. Please refer below MSDN link to implement this:
    http://stackoverflow.com/questions/2023414/prevent-deletion-of-attachments-from-a-sharepoint-list-item
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • InfoPath 2013 attachment limitation in sharepoint 2013

    Dear Expert,
    I would like to plan the file attachment in InfoPath form, I'm not sure what's the file limitation. 
    I will plan to use SharePoint Server 2013. Please suggestion.
    or send the reference.
    Thank you

    Hi,
    According to your post, my understanding is that you want to know the file limitation for the InfoPath attachment.
    By default, the limitation is 4096 kb, however, we can increase the limitation in the
    Central Administration->General Application Settings->Configure InfoPath Forms Services->in the
    User Sessions, increase the number for  the Maximum size of user session data
    option.
    There is an article about increase the upload limitation, though it is for SharePoint 2010, it works for SharePoint 2013.
    http://yalla.itgroove.net/2013/01/25/sharepoint-2010-file-size-upload-limits-the-essential-mix/
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Problem in file attachment functionality in ERP.

    Problem in file attachment functionality in ERP in Invoice Workbench and PO documents. The error is Page Not Found.
    Regards
    Sridhar

    Please post the details of the application release, database version and OS.
    user11996389 wrote:
    Problem in file attachment functionality in ERP in Invoice Workbench and PO documents. The error is Page Not Found.Please post the steps you follow to reproduce the issue.
    Was this working before? If yes, any changes been done recently?
    Can you find any errors in Apache/Workflow/Database log files?
    Thanks,
    Hussein

  • Control/set a limit for file attachment

    Hello,
    I would like to know if there is a way to control/set a limit for file attachment in Workbench ES. e.g. Assign Task > Attachments & Notes.
    Can you please advise.
    Thanks,
    Han Dao

    No. You would have to customize Workspace to do that.
    Jasmin

  • Problem while sending file attachment

    <strong>Hi,
    I am using java mail api to send mail from a standalone java application. The mail has one html file attachment. I am using the below java program.</strong>
    import java.io.File;
    import java.util.Properties;
    import javax.activation.DataHandler;
    import javax.activation.DataSource;
    import javax.activation.FileDataSource;
    import javax.mail.Authenticator;
    import javax.mail.Message;
    import javax.mail.Multipart;
    import javax.mail.Part;
    import javax.mail.PasswordAuthentication;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeBodyPart;
    import javax.mail.internet.MimeMessage;
    import javax.mail.internet.MimeMultipart;
    public class AttachExample {
    public static void main(String args[]) throws Exception {
    String host = "smtp.gmail.com";
    String from = "[email protected]";
    String to = "[email protected]";
    String fileAttachment = "javamail.html";
    // Get system properties
    Properties props = System.getProperties();
    // Setup mail server
    props.put("mail.transport.protocol", "smtp");
    props.put("mail.smtp.starttls.enable", "true");
    props.put("mail.smtp.host", host);
    props.put("mail.smtp.auth", "true");
    Authenticator authenticator = new Authenticator() {
    public PasswordAuthentication getPasswordAuthentication() {
    String username = "[email protected]";
    String password = "password";
    return new PasswordAuthentication(username, password);
    // Get session
    Session session = Session.getInstance(props, authenticator);
    // Define message
    MimeMessage message = new MimeMessage(session);
    message.setFrom(new InternetAddress(from));
    message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
    message.addRecipient(Message.RecipientType.TO, new InternetAddress(
    "[email protected]"));
    message.addRecipient(Message.RecipientType.TO,
    new InternetAddress(from));
    message.setSubject("Hello JavaMail Attachment");
    // create the mail root multipart
    MimeMultipart mpRoot = new MimeMultipart("mixed");
    // Create a body part to house the multipart/alternative Part
    MimeBodyPart contentPartRoot = new MimeBodyPart();
    // Create the content multipart (for text and HTML)
    MimeMultipart mpContent = new MimeMultipart("alternative");
    // Add text
    MimeBodyPart mbp1 = new MimeBodyPart();
    mbp1.setText("Hello World");
    mpContent.addBodyPart(mbp1);
    // Add html
    MimeBodyPart mbp2 = new MimeBodyPart();
    mbp2.setContent("<P>Hello World</P>", "text/html");
    mpContent.addBodyPart(mbp2);
    contentPartRoot.setContent(mpContent);
    // Add the root body part to the root multipart
    mpRoot.addBodyPart(contentPartRoot);
    // Add an attachment
    MimeBodyPart mbp3 = new MimeBodyPart();
    DataSource source = new FileDataSource("javamail.html");
    mbp3.setDisposition(Part.ATTACHMENT);
    mbp3.setDataHandler(new DataHandler(source));
    mbp3.setFileName("javamail.html");
    mbp3.setHeader("Content-Type", "text/html");
    mpRoot.addBodyPart(mbp3);
    message.setContent(mpRoot);
    message.saveChanges();
    session.setDebug(true);
    // Send the message
    Transport.send(message);
    <strong>
    In my web mail I am not able to find the attachment in inbox/sent item. However I can see the mail is present there.</strong>
    Here is the mail....
    ------=_Part_0_5439109.
    <div class="ii gt">
    1276373943170
    Content-Type: multipart/alternative; boundary="----=_Part_1_14410104.1276373943174"
    ------=_Part_1_14410104.1276373943174
    Content-Type: text/plain; charset=us-ascii
    Content-Transfer-Encoding: 7bit
    Hello World
    ------=_Part_1_14410104.1276373943174
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit
    <P>Hello World</P>
    ------=_Part_1_14410104.1276373943174--
    ------=_Part_0_5439109.1276373943170
    Content-Type: text/html
    Content-Transfer-Encoding: quoted-printable
    Content-Disposition: attachment; filename=javamail.html
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "<a href="http://www.w3/" target="_blank">http://www.w3</a>=<br />
    .org/TR/REC-html40/loose.dtd">
    <html><head>
    <meta http-equiv=3D"content-type" content=3D"text/html;
    charset=3DISO-8859-1=<br />
    <<.....more html code....>><br />
    </div>
    <hr><br />
    =A9 Vipan Singla 2001<br />
    </body></html><br />
    ------=_Part_0_5439109.
    <div class="ii gt">
    1276373943170--<br />
    <br />
    <br />
    <strong>I think I am missing something. Please suggest if you have any idea.<br />
    Thanks In Advance.</strong><br />
    <br />
    <br />
    </div>

    Your posting is full of html markup that this forum doesn't understand, which makes
    it really hard to see what you were trying to say...
    Also, I can't tell whether you're showing us the entire message that was sent,
    or whether you're just showing us part of it. For example, I don't see any From
    or To headers in the message. If they're really missing, something else is wrong.
    If they actually are present in the message, then the rest of what you showed
    looks fine.
    Possibly your web mail isn't able to handle a message that has both a
    multipart/alternative and an attachment? Try a simple plain text message
    with an attachment and see if that works better.

  • How to use UTL_SMTP to send email with existing file attachment

    Hello! I am trying to create a pl/sql procedure that lets me send an email and include an existing file to a email address. So far, I found information on how to send a file and create an attachment with information I put in the procedure. This is NOT what I'm trying to do. I'm trying to send an email and include an attachment for a file that already exists. I need the pre-existing file to be sent to the email recipient.
    This is how far I've gotten, but this only allows me to CREATE an attachment with the information I put in it from the procedure. I got it from the following site:
    http://www.orafaq.com/wiki/Send_mail_from_PL/SQL
    DECLARE
       v_From       VARCHAR2(80) := '[email protected]';
       v_Recipient  VARCHAR2(80) := '[email protected]';
       v_Subject    VARCHAR2(80) := 'Weekly Invoice Report';
       v_Mail_Host  VARCHAR2(30) := 'mail.mycompany.com';
       v_Mail_Conn  utl_smtp.Connection;
       crlf         VARCHAR2(2)  := chr(13)||chr(10);
    BEGIN
      v_Mail_Conn := utl_smtp.Open_Connection(v_Mail_Host, 25);
      utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);
      utl_smtp.Mail(v_Mail_Conn, v_From);
      utl_smtp.Rcpt(v_Mail_Conn, v_Recipient);
      utl_smtp.Data(v_Mail_Conn,
        'Date: '   || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || crlf ||
        'From: '   || v_From || crlf ||
        'Subject: '|| v_Subject || crlf ||
        'To: '     || v_Recipient || crlf ||
        'MIME-Version: 1.0'|| crlf ||     -- Use MIME mail standard
        'Content-Type: multipart/mixed;'|| crlf ||
        ' boundary="-----SECBOUND"'|| crlf ||
        crlf ||
        '-------SECBOUND'|| crlf ||
        'Content-Type: text/plain;'|| crlf ||
        'Content-Transfer_Encoding: 7bit'|| crlf ||
        crlf ||
        'This is a test'|| crlf ||     -- Message body
        'of the email attachment'|| crlf ||
        crlf ||
        '-------SECBOUND'|| crlf ||
        'Content-Type: text/plain;'|| crlf ||
        ' name="ap_inv_supplier_cc10.txt"'|| crlf ||
        'Content-Transfer_Encoding: 8bit'|| crlf ||
        'Content-Disposition: attachment;'|| crlf ||
        ' filename="ap_inv_supplier_cc10.txt"'|| crlf ||
        crlf ||
        'TXT,file,attachment'|| crlf ||     -- Content of attachment  (THIS IS MY PROBLEM!  I NEED TO BE ABLE TO ATTACH AN EXISTING FILE, NOT CREATE A NEW ONE)
        crlf ||
        '-------SECBOUND--'               -- End MIME mail
      utl_smtp.Quit(v_mail_conn);
    EXCEPTION
      WHEN utl_smtp.Transient_Error OR utl_smtp.Permanent_Error then
        raise_application_error(-20000, 'Unable to send mail: '||sqlerrm);
    END;
    /

    First, you must create a directory object
    create directory ORALOAD as '/home/ldcgroup/ldccbc/'
    /Study the Prerequisites in the link I posted above, or else you will not be able to read/write files from the above directory object
    "fname" relates to the file name that you read from.
    In the code below, it is also the name of the file that you are attaching.
    Although they can be different!
    l_Output is the contents of the file.
    declare
    vInHandle  utl_file.file_type;
    flen       number;
    bsize      number;
    ex         boolean;
    l_Output   raw(32767);
    fname      varchar2(30) := 'ap_inv_supplier_cc10.txt';
    vSender    varchar2(30) := '[email protected]';
    vRecip     varchar2(30) := '[email protected]';
    vSubj      varchar2(50) := 'Weekly Invoice Report';
    vAttach    varchar2(50) := 'ap_inv_supplier_cc10.txt';
    vMType     varchar2(30) := 'text/plain; charset=us-ascii';
    begin
      utl_file.fgetattr('ORALOAD', fname, ex, flen, bsize);
      vInHandle := utl_file.fopen('ORALOAD', fname, 'R');
      utl_file.get_raw (vInHandle, l_Output);
      utl_file.fclose(vInHandle);
      utl_mail.send_attach_raw(sender       => vSender
                              ,recipients   => vRecip
                              ,subject      => vsubj
                              ,attachment   => l_Output
                              ,att_inline   => false
                              ,att_filename => fname);
    end;
    /

  • I have Windows 7, Microsoft Outlook and PSE 13. I have used the "Share photos as embedded images" feature frequently, but today when I went to use it, it wasn't there, only the option to send email with files attached. How do I get back the ability to sen

    I have Windows 7, Microsoft Outlook and PSE 13. I have used the "Share photos as embedded images" feature frequently, but today when I went to use it, it wasn't there, only the option to send email with files attached. How do I get back the ability to send emails with photos embedded. I like adding the frames and backgrounds and I think it's easier for recipients to look at the photos. Thanks for any suggestions of things to try.
    Gail

    I had a similar problem in that my wife's iphone 5 could not send pics with imessage.  Had to set the settings to default to SMS or whatever.  After laboring many hours on the web I coincidentally was on the phone with the internet people to question my internet speed.  They changed the router channel, which is something that I am capable of doing myself.  After that, the pics go over imessage.  My own Iphone didn't have the problem.  We are both latest IOS 7.0.6.

Maybe you are looking for