SCSM SDK Relating an Incident to a File Attachment

It seems that I have too many Exchange Connectors so I am looking to find other avenues to meet the needs of my users.  I was planning on trying to pitch using Self-Service Portal for internal requests and creating an website for external client requests.
While I was able to create and Incident and a File Attachment via the SDK and C#, the process failed when I tried to create the relationship between them.  I've tried to find an answer on the internet but I am coming up short.  I followed the examples
correctly but the code fails with a DiscoveryDataLifetimeDependencyException
public static void Test_AttachFileToWorkItem()
EnterpriseManagementGroup mg = new EnterpriseManagementGroup("scsmserver");
EnterpriseManagementObject createdIncident = mg.EntityObjects.GetObject<EnterpriseManagementObject>(new Guid("9AF45443-150E-2AE4-B4F5-CC76930ED3F8"), ObjectQueryOptions.Default);
EnterpriseManagementObject fileAttachment = mg.EntityObjects.GetObject<EnterpriseManagementObject>(new Guid("4FFEBC8B-C1CF-27D5-E01C-CD8E22A06873"), ObjectQueryOptions.Default);
ManagementPackRelationship relAttachment = mg.EntityTypes.GetRelationshipClass(new Guid("aa8c26dc-3a12-5f88-d9c7-753e5a8a55b4"));
CreatableEnterpriseManagementRelationshipObject attachmentRelationship = new CreatableEnterpriseManagementRelationshipObject(mg, relAttachment);
attachmentRelationship.SetSource(createdIncident);
attachmentRelationship.SetTarget(fileAttachment);
attachmentRelationship.Commit(); //Error here

i may be reading this wrong, but it looks like you are trying to create a relationship for a file attachment object that already exists. this will never work.
the relationship for file attachments is like the relationship for WorkItemContainsActivity. the lifetime of the child object is linked to the lifetime of the relationship. if the relationship is deleted, the child object is similarly deleted. the corollary
of this is that if you create an object in the database without this relationship, it can never be added to a relationship. 
instead of using mg.EntityObjects.GetObject() to get an existing object, Create the object using CreatableEnterpriseManagementObject inline, populate it with data, but do not commit it. create your relationship using the same code you specify here,
using the variable holding your uncommitted file attachment object in the relationship, then commit only the relationship object. 
for reference, here is similar powershell i used to do this: 
$FileParams = @{
Extension = ".xml"
Description=$FileName
Content = $SourceFile
Size = $SourceFileSize
AddedDate = (get-date).ToUniversalTime()
DisplayName = $FileName
ID=([System.Guid]::NewGuid()).ToString()
#create the attachement, then create the relation, then submit them both in one go.
$FileToAttach = New-SCSMObject -Class $fileClass -PropertyHashtable $FileParams -nocommit
$NewfileRelation = New-SCSMRelationshipObject -Relationship $AttachedFile -Source $Cr -Target $FileToAttach -nocommit
$NewFileRelation.commit()

Similar Messages

  • Are there any new RESTful SDK related planned for 4.1 SP3 release

    Gurus,
    Recently i saw the SAP BusinessObjects BI4.1 SP03 What’s new guide. But did not find anything about RESTful SDK on it.
    Are there any new RESTful SDK related planned for 4.1 SP3 release? where can i find those information.
    Thanks,
    Tilak

    @Terry,
    In SP3 we are releasing
    1) Major feature which is the ability to GET/POST/PUT/DEL input controls
    2) Also we are delivering helpers to GET/POST/PUT/DEL any kind of table in a given report, so a consummer who wants to add a table just has to submit the xml describing the table instead of the XML describing the entire report. (includes ranking)
    3) GET datapath of a given Report Element
    4) GET dataset of a report Report Element
    5) GET/PUT LOV of a Data Object
    6) GET/POST/PUT/DEL Custom Property for a given Report Element
    7) GET/POST/DEL a webi document as zip (create a zip file containing the webi document html + images, then retrieve it, or delete it)
    All this is documented in the WebI REST SDK Online Guide that will be made availble by when the SP3 is released to customers.

  • Document-relative Template paths in templated files?

    Is it possible to make Dreamweaver use document-relative
    paths to parent Templates rather than root-relative? My site
    definition is setup so such that the local folder is the root of
    the web site. However, on the server the site is actually in a sub
    folder, so the real web root is not the same as this web sites
    root. So, something like this:
    Local root folder = C:\...\Project Name\www2\
    (Local templates folder = C:\...\Project
    Name\www2\Templates\)
    HTTP Address =
    http://www.mysite.com/clients/client-site/
    (Remote templates folder =
    http://www.mysite.com/clients/client-site/Templates/)
    The end user will be using Contribute to manage the content
    on this site, so I'm using Templates to control some aspects of the
    site. My problen is that the path back to the Template is being
    written as a root-relative link:
    InstanceBegin template="/Templates/navigation-sub.dwt.php"
    When I then connect to the site using Contribute and try to
    edit a page, I get an error saying that it can't find the template
    (which is true because the template is actually in
    "/clients/client-site/Templates/navigation-sub.dwt.php" and not
    "/Templates/navigation-sub.dwt.php"). I have the Links Relative to
    Document option checked in my site definition, but that appears to
    only apply to regular links and not paths to Template files.
    Murray had mentioned some technotes that addressed this, and
    I think I found the ones he was thinking of, but they seemed to
    only address regular links and it wasn't clear if the Template
    paths were affected by the solution (which was to set the Links
    Relative to Document option which I mentioned above).
    So is it possible to tell DW to use document relative paths
    to its template files? I know you're thinking "Why not just create
    the local folder with the client and client-name folders," but this
    wouldn't work as the site will eventually be moved to the clients
    own website where the site files really will be in the site root.
    This is the whole reason for using document relative files in the
    first place. Any help would be greatly appreciated.

    OK, apparently I'm not explaining myself enough here because
    you guys keep giving me the same answer to something that I've
    already said isn't a viable solution. Let me explain in greater
    detail why just updating the local folder structure won't work.
    Let's assume that I did do what you suggest. My local folder
    could technically stay the same but I'd add two additional
    directory levels ('clients' and 'client-site') to match the site
    structure on my testing server. I then move all of the existing
    files into the lower 'client-site' directory *except* for the
    Templates folder because DW likes that to be at the "root" of the
    "site". So now assume my local site looks something like this:
    C:\...\Project Name\www2\ (DW would consider this the "root"
    of the site)
    .....clients\
    ..........client-site\ (i'll refer to this as the client root
    for simplicity sake)
    ...............articles\
    ....................doc_a.html
    ...............images\
    ....................img_a.jpg
    ...............index.html
    .....Templates\
    ..........client-template.dwt
    If DW is writing the Paths back to the Template file using
    site-relative paths then file index.html in the client root (i.e.
    /clients/client-site/) would have the path back to template
    client-template.dwt written as follows:
    InstanceBegin template="/Templates/client-template.dwt"
    Also assume that img_a.jpg is the client logo that will be
    used on all of the pages and so it is in a protected part of the
    template. The document-relative path from the template
    client-template.dwt to the image would be:
    <img src="../clients/client-site/images/img_a.jpg">
    Of course since my site is defined to use document-relative
    links then this path would resolve to just "../images/img_a.jpg"
    for index.html.
    OK, so far so good. I upload all of this to my testing
    server, give my client a connection key for Contribute and let them
    test away. They love it (naturally) and want to move everything to
    production. This is where your suggested solution falls apart.
    In order for the site to continue to work as-is I would have
    to copy the entire directory tree (/client/client-site/etc) to the
    clients web site, so what should be www.client-site.com/index.html
    becomes www.client-site.com/clients/client-name/index.html. I also
    have to copy over the Templates folder, stripping out any other
    Templates that might be in there (my own site template for
    example). Not only is this cumbersome, but the client hates the
    fact that there are all these subdirectories in their URL (as
    finicky as clients are) and they think it is unprofessional. My
    whole purpose for developing using document relative links is so
    that no matter where I plop the site, it will work as intended.
    OK, the first fox for this that comes to mind is to take just
    the site files (so everything under /clients/client-name/) and plop
    that into the root folder on production. All of the existing files
    should work fine since they use document-specific links. However,
    the client still needs to use Contribute to edit these documents so
    I have to copy over the Template folder. I can put that into the
    root since all of the paths back to the template are root-relative,
    right? Wrong - because all of the links in the template still point
    to the files as if they were in '/clients/client-name/', which they
    no longer are. So any new files based on the template will contain
    broken links, and any updates to the existing files might also
    result in broken links.
    So then I need to keep two versions of the site? And if I
    make a change to the template on the testing site, I then have to
    reconcile the changes to the production version? Way too much. And
    all of this would be irrelevant if I could just use
    document-specific links back to my templates.
    Does it make sense now why updating the site structure isn't
    as optimal of a solution as you are making it out to be.
    quote:
    Originally posted by:
    Newsgroup User
    Create a new site definition for this testing site that uses
    the correct
    root directory. Then it doesn't matter....

  • Change SCSM 2012 Portal Size File Attachment

    Hi friends.
    Im looking a way to change the SCSM 2012 Portal Size File Attachment I've been looking the solution but i can´t find it.
    This questions & answers don't helped me. SCSM 2012 Portal Size File Attachment --> http://social.technet.microsoft.com/Forums/en-US/b955d2ec-a1ad-4e50-9d4c-ad22b8a61c5d/portal-file-attachment-max-size?forum=portals
    Many Thanks for your great support.
    Regards.

    Thanks Thomas. 
    The problem is in the self web portal (incidents) that dont allow to upload a file that contains more than
    1mb and i can't change it. i tried it as here says (console and  modifyng
    the web.config) 
    http://social.technet.microsoft.com/Forums/en-US/b955d2ec-a1ad-4e50-9d4c-ad22b8a61c5d/portal-file-attachment-max-size?forum=portals
    http://technet.microsoft.com/en-us/library/ff460924.aspx 
    but dont work.
    I want to increase the limit up to 2mb

  • SCSM - SCOM Integration for Incident Management Automation(Auto-ticketing)

    Hi Team
    I have been doing lot of research on integrating SCSM and SCOM for Incident Management Automation(Auto-ticketing). I did configurations in SCSM, SCOM and it worked pretty well! :) However, I need some clarifications on Incident Priority calculations. 
    Environment - SCSM 2012 R2, SCOM 2012 R2
    Objective - To automate Incident Management for Each Service, I have picked Lync 2013 for Pilot testing.
    - Created SCOM Alert Connector action account
    - Created 3 SCSM incident templates for Incident Priority calculations (P1, P2 and P3)
       - Lync P1 Incidents (Impact - High, Urgency - High)
       - Lync P2 Incidents (Impact - High, Urgency - Medium)
       - Lync P3 Incidents (Impact - Medium, Urgency - Medium)
    - Attached is our incident priority settings in SCSM.
    - Created SCOM Alert Connector. In Alert Routing rules, I have picked couple of Lync classes (LS Registrar, LS Response Group, LS Data Conferencing, LS Centralized Logging Agent etc). (I don't want to target whole Lync MP as of now. Once the priority classification
    is successful, I can target alerts from whole Lync MP.) While adding routing rules, I have selected the specific template for a specific class. For ex- LS Registrars class, P2 Incident template. Alerts that do not fit the routing criteria would pick up P3
    template as default. Both check boxes "Close alerts in Ops Mgr when Incidents are resolved or closed" and "Resolve Incidents automatically when the alerts in Ops Mgr are closed" are checked.
    - In SCOM internal connector subscription, I have targeted all Lync Servers group and selected ONLY specific Lync classes (In approve targets) that I used in routing rules. Enabled "Error, Warning" and "High, Medium" check boxes in alert
    criteria
    Now, the incidents are getting generated, but with wrong priority calculations. I may be wrong in configuring routing rules. Is there any best way to configure routing rules for different priorities? If I remove all routing rules for specific classes and target
    entire Lync MP, how to configure the Incident Templates which I created for different priorities?
    Any help is much appreciated.
    regards,
    Guru
    Gururaj Pai

    In Screenshot, it was a typo error in Rule Name, should have been Lync P3(Stupid error from my side!) Is it a correct of targeting individual classes in routing rules? Because, Any class may contain lot of rules/monitors in it. And if we choose P2 incident
    template for one class, all alerts triggered out of this class would create P2 incidents. Is my understanding correct? Moreover, this just pilot testing of Lync MP and we have identified only few classes which are responsible for generating TOP 10 alerts for
    last month. Going forward, we would like to configure the whole MP in routing rule. Then, how should I configure routing rules for 3 different priorities? Can you also confirm Incident Priority calculation is done via SCSM templates or SCOM alert priority
    or severity? Thanks for your time. Guru
    Gururaj Pai

  • Cannot find a J2SE SDK installed at path C:\Program Files\Java\jre6

    Hi,
    I am trying to install the latest version of SQL Developer 3.0 on my brand new Windows7(64-bit) computer. I already installed the Java SDK6 (Update26). Unfortunatelly I am forcing some problems.
    When I start the sqldeveloper.exe for installing - at the beginning when I browse and select the java.exe an error comes up:
    Cannot find a J2SE SDK installed at path C:\Program Files\Java\jre6
    Why isn't it working?
    Can you help me? Any ideas?
    Thanks a lot!

    That's because you are trying to run SQLDeveloper with a JRE not a JDK.
    Since you already installed a JDK you should have a folder labeled
    jdk1.6.0_26in your C:\Program Files\Java directory.
    If you cant find the proper JDK in your system the 64 bit version for windows can be found here:
    http://download.oracle.com/otn-pub/java/jdk/6u26-b03/jdk-6u26-windows-x64.exe

  • Issues related to legacy gdiplus.dll file(s)

    Microsoft,
    I am using an OVAL based vulnerability scanner which checks certain files on my windows 2003 server.
    It's detecting vulnerabilities related to legacy gdiplus.dll files stored in the c:\windows\winsxs folder
    I have had already applied the windows updates which mitigates those vulnerabilities.
    For example, I have already applied the patch for MS11-029, Security Update for Windows Server 2003 (KB2412687). However, this vulnerability keeps being detected.
    I went to the c:\windows\winsxs folder, and saw that the older version of the gdiplus.dll file still exists.
    I have tried Disk Cleanup, and clean up of window components, but the older file persist.
    From other microsoft postings, it is not recommended that I go into the winsxs folder and start deleting files.
    Please advise next course of action.

    I checked my c:\windows\system32 folder, and according to the file search, there weren't any files named "gdiplus.dll"- this search was completed using the options:
    - search system folders
    - search hidden files and folders
    - search subfolders
    Windows file search only found the gdiplus.dll files under c:\windows\winsxs
    Using the windows 2003 support tools, I used this command to obtain the requested info:
    filever c:\windows\winsxs\gdiplus.dll /s /a /d
    Results are as follows:
    c:\windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.0.0_x-ww_8d353f13\gdiplus.dll
    W32i DLL ENU 5.1.3097.0 shp gdiplus.dll
    c:\windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.100.0_x-ww_0d1f9f94\gdiplus.dll
    W32i DLL ENU 5.2.3790.0 shp gdiplus.dll
    c:\windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.3790.1830_x-ww_24c40c58\gdiplus.dll
    W32i DLL ENU 5.2.3790.1830 shp gdiplus.dll
    c:\windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.3790.3959_x-ww_8251bdde\gdiplus.dll
    W32i DLL ENU 5.2.3790.3959 shp gdiplus.dll
    c:\windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.3790.4278_x-ww_ad682293\gdiplus.dll
    W32i DLL ENU 5.2.3790.4278 shp gdiplus.dll
    c:\windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6001.22319_x-ww_f0b4c2df\gdiplus.dll
    W32i DLL ENU 5.2.6001.22319 shp gdiplus.dll
    c:\windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6002.22507_x-ww_c7dad021\gdiplus.dll
    W32i DLL ENU 5.2.6002.22507 shp gdiplus.dll
    c:\windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6002.22791_x-ww_c8dff154\gdiplus.dll
    W32i DLL ENU 5.2.6002.22791 shp gdiplus.dll
    c:\windows\winsxs\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.6002.23084_x-ww_f3f35550\gdiplus.dll
    W32i DLL ENU 5.2.6002.23084 shp gdiplus.dll

  • Increase File attachement size/number of attachments

    Hello all,
    Is there any way to raise the MAXIMUM file attachment size limit in Service Manager? We have a need to have more than 10 attachments to a request and have those attachments be more than 10mbs each (the max in the GUI). Has anyone figured out how to
    increase this maximum in Service Manager 2012? 

    The restrictions for these settings are simply hard coded into the GUI. Why, I do not know. However, it is possible to over-ride, please see this blog from Marcel Zehner:
    http://marcelzehner.ch/2013/07/06/increase-the-number-of-max-incident-attachments-to-more-than-10/
    Rob Ford scsmnz.net
    Cireson www.cireson.com
    For a free SCSM 2012 Notify Analyst app click
    here

  • 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;
    /

  • (SOAP)File Attachment

    Hi All,
    I am currently working on SOAP Attachments. My requirement is to send a file as an attachment ( SOAP req containing an attachment),BPEL when receicves the Input should process it to a file adapter which will write the file (attached file) to a particular location.
    can any one help me out out of this
    Thanks
    Surya
    Edited by: 944642 on Jul 30, 2012 4:51 AM

    Ex:-
    Send a SOAP Request having file attached to it ( ex:- a text file) . BPEL or Mediator should be able to process the request (request containing an attachment , in our case a text file)
    , route to a file adapter.
    -The File Adapter should write the file to some location on the file system.
    -For schemas I referred to [http://www.w3.org/TR/2004/WD-xml-media-types-20041102/].
    -Sample SOAP request having Image attached to it should look like :-
    The following example shows a SOAP 1.1 message with an attached facsimile image of the signed claim form (claim061400a.tiff):
    MIME-Version: 1.0
    Content-Type: Multipart/Related; boundary=MIME_boundary; type=text/xml;
    start="<[email protected]>"
    Content-Description: This is the optional message description.
    --MIME_boundary+
    Content-Type: text/xml; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Content-ID: <[email protected]>
    +<?xml version='1.0' ?>+
    +<SOAP-ENV:Envelope+
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    +<SOAP-ENV:Body>+
    +..+
    +<theSignedForm href="cid:[email protected]"/>+
    +..+
    +</SOAP-ENV:Body>+
    +</SOAP-ENV:Envelope>+
    --MIME_boundary+
    Content-Type: image/tiff
    Content-Transfer-Encoding: binary
    Content-ID: <[email protected]>
    +...binary TIFF image...+
    MIME_boundary+
    But My SOAP request having image attached to it looks like
    POST http://localhost:7001/soa-infra/services/default/bpel-111-soap-attachments/Mediator1_ep HTTP/1.1
    Accept-Encoding: gzip,deflate
    Content-Type: multipart/related; type="application/xop+xml"; start="<[email protected]>"; start-info="text/xml"; boundary="----=_Part_33_1143898358.1343888133522"
    SOAPAction: "execute"
    MIME-Version: 1.0
    Content-Length: 2124
    Host: localhost:7001
    Proxy-Connection: Keep-Alive
    User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
    ------=_Part_33_1143898358.1343888133522
    Content-Type: application/xop+xml; charset=UTF-8; type="text/xml"
    Content-Transfer-Encoding: 8bit
    Content-ID: <[email protected]>
    *<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ct="http://example.com/ct-required">*
    *<soapenv:Header/>*
    *<soapenv:Body>*
    *<ct:MyBinaryData ct:contentType="image/jpeg"><inc:Include href="cid:1236481897083" xmlns:inc="http://www.w3.org/2004/08/xop/include"/></ct:MyBinaryData>*
    *</soapenv:Body>*
    *</soapenv:Envelope>*
    ------=_Part_33_1143898358.1343888133522
    Content-Type: image/jpeg; name=javaicon32.jpeg
    Content-Transfer-Encoding: binary
    Content-ID: <javaicon32.jpeg>
    Content-Disposition: attachment; name="javaicon32.jpeg"; filename="javaicon32.jpeg"
    *<*** Here I am able to see the encoded image*****>*
    Kindly guide me in this regard.
    Hope the above mentioned Information describes my requirement clearly.
    Thanks

  • Opening a File Attachment

    Hi all,
    My scenario is as follows:
    I have a Adobe Form which will have file attachments. The Form with the attachments will be sent from the SAP R/3 system itself. My work is to open the file which I am unable to do. Those attached files can be seen in the attachments option in the Adobe Reader and can open from there, but I am not able to open through my code. All the attached file's name, id and description are displayed in the table. Upon clicking the file name, the attachment should open. I have wrote the code for opening attachment which is working fine when I attach files in the Adobe Reader using a button click event (just using browse button and importDataObject method). The same code fails when I try to open the file which is received from the R/3 system.
    I dont have a clue for what to do to import the file attachment and how can I relate the attachment with the fileID. Any help is of great use to me since I am new to this technology.

    Hi,
    There is a discussion here: http://forums.adobe.com/message/1360859#1360859 and I have uploaded Paul's solution here: https://acrobat.com/#d=5gQoNybe75bwACDtfBToMA.
    This might help you.
    If you want the user to be able to attach files to the form, then it would need to be Reader Enabled using LC Reader Extensions, which is part of the server solution. See summary here: http://assure.ly/etkFNU.
    Also this example might help: http://assure.ly/vRyoeQ.
    Hope that helps,
    Niall

  • Can BPEL handle file attachment from oracle database?

    Hello All,
    Need some help for this below incident.
    1. user attach a file from Human Task Work List. (this will store the attachment into the database)
    2. Get the attachment from the database.
    3. Sent it via email as attachment. (attachment can be all types of file format)
    Question.
    1. Is this possible to be done?
    2. I manage to decode and sent successful as an attachment in .txt format only. But for others i can't, any idea? i get this error in my flow (XML Parsing Error: reference to invalid character number)
    your help will helped others as well. Thanks

    Hei all.
    I get it works already. Direct copy the content from the database with the email content body.
    Problem is:
    1. PDF with large size will fail. (That's why I keep on getting error) but anyone out there know whats the size of the limit?
    2. It wont work for Text file. Its shows base64 format. I not sure why this is happen. But this can be fix with a base64 encoder.

  • Text messages with animated .gif files attachment

     I recieved a text the other day with an animated gif file attached. I believe it was sent as a zip file. Anyway I tried to open it and all I got was a gray screen with an icon . No animation.. The second one I recieved was from a buddy. I watched and listened to it on his Droid 1. I had him send it to my phone text came through fine when I went to load and play the gif file it .had sound but no animation, just the gray screen again. I know the attachment is a zip file as I sent it to my email and opened it on my computer. Any thoughts maybe there's a setting I'm not finding? I'm using whatver text mesage program thats standard on the DX.
    Thanks
    MTY55.

    Sounds like the issue you are having is that the files are zipped, MMS should be zipped because it has to access the files to display it.. I send and recieve anifated gif files and they play fine but also keep in mind that for some reason the stock email client does not play all files at same time, if there is a audio and photo, it will play audio and then the photo..

  • After I Update to IOS 7.1 I can't open the excel file attached in  my email

    After I updated my Iphone 5s from IOS7.0.6 to IOS7.1 when i check my email i can't open excel file attached in my email i check with my frineds phone thy have same issoue

    David_PDX wrote:
    Hi Alex,
    The trick to this whole thing is to scroll to the bottom of the message. There should be a dashed line at the bottom of the email message with text underneath it that says, "This message was downloaded as plain text." Underneath that it should say (in blue hyperlink text) "Download full message". Select that hyperlink, and the Excel file should download completely. You should then be able to select the document and have it open correctly.
    I have had the same concern regardless of file format that is sent, so I do not believe your issue is with file format. Hope this helps.
    I've seen the same thing happen with images, which it displays in a corrupted form. It's fixed by downloading the full message.
    There's a more serious side effect of this, which I've now seen with several types of files. If one FORWARDS the email to someone else, the attached files it sends them are CORRUPTED and unopenable too. In the case of a Word files I looked at, it had dropped the last two bytes of the file.
    The workaround for that is to download the full message before forwarding.
    I'm seeing this happening with so many types of attachments that I'm assuming it affects them all. Please everyone report this to Apple feedback (http://www.apple.com/feedback/). It's one thing not being able to open a file on your device, it's another to have files corrupted permanently just by forwarding.

  • How do I get an email file attachment, any extension, off of my phone?

    All I want to do is get an email file attachment off of my phone and on to my computer so I can use it.  I don't want to open it on my phone, it could be an AutoCAD file, a programming langauge file, etc.  I want the option to save the attachment to local memory on my phone and then transfer it to my PC via USB.   This worked all the time with my Blackberry, but it seems impossible or extremely difficult with the Apple IOS. The available phone memory would look like a USB stick drive to my PC.  I am at job sites all the time where I do not have internet access from my PC, but I am within the cell network area of coverage so this would be an option.
    I spent almost an hour with Apple Tech support today and they must have thought that I was on drugs asking for such a simple thing.  Apparently, the available phone memory is protected by the IOS so that the PC can't see it or use it.  They said this feature would be all App based.  The key then is finding an App that would allow the email client on the phone to give the user the option to open or save the file to a location that my PC can see. Does anyone know of such an App?   If I can't find a workable solution I may have to go to an Android device.  Thanks.

    So I understand where you are coming from. The best way is to use the cloud. What you need to do is download a program like dropbox, box.net or sugar sync; there are tons of these apps but those 3 are the most widely supported. Once you download it on your device you can then download it onto your computer by going to their respective sites. These will automatically sync your documents over the air when both your computer and phone are connected to the internet. But if you have no internet service on your computer here is what you do; go to itunes and plug in your phone> go over to the APPS tab on the top> scroll to the bottom of the page and it will say file transfer. This will allow you to pull files from those cloud apps even without service and voila you have your files on your computer even without Wi-Fi or hotspots. I hope this helps!
    EDIT; the best app to use file transfer with is good reader because the cloud apps won't sync directly with iTUnes. You will have to pay for it but it will allow you to connect all your cloud services to it and it can edit and view most files. I use it constantly for my work and I wouldn't be able to live without it even if I wasn't using it for file transfer. Sorry I forgot that in my post, this is an necessity to use the file transfer in iTunes.
    Message was edited by: MFS APPLE PRO

Maybe you are looking for

  • How to compile java programs? There is no javac for me!

    Hi, I'm starting to learn java and downloaded the java 1.4.0.1 standard edition from this website. However, after I installed the program, there is no javac to be found while there is a java.exe. I need javac to compile my program before I can interp

  • When click on button in jsp portlet, the portlet is reloaded

    Hi all I have a jsp portlet containing a number of divs and buttons. When the user clicks on a specific button, I use javascript to hide and/or display specific divs. However, in Weblogic Portal 10.3 (using IE 8 or FF 3.5.3) the whole portlet is relo

  • Vendor not transferring to GTS system

    hi guys, I have setup logical & RFC connections between ECC and GTS works fine. when I am performing initial vendor transfer (1 vendor)from ECC to GTS, it gives me following message "1 vendor selected and 0 were passed successfully". what could be th

  • Photo getting cut off when printing

    I am trying to print a 6x4 photo with my HP Photosmart B8550.  Everytime I go to print it, it cuts off part of the picture.  I created the picture in Photoshop at 6x4 and saved it as a jpg.  In the preview it shows up fine but it is NOT right when it

  • Removing one of two iPhones from iTunes account

    I have two iphones connected to the same itunes account, I need to decouple one of them from the account - how do I do this?  Will I lose all content from the phone?