Save attachment on content server and create a document link

Hi All
I have the following requirement:
1. We have an attachment
2. We are creating a parked document number.
3. We need to place the attachment on the Content Server
4. We need to create a link b/w the parked document number and the attachment which is available on the CS.
Could anybody please let me know how to place the attachment on the Content Server & how to establish the link b/w the parked document number and the attachment which is available on the CS?
Your help is most appreciated.
Thank you
Sen

We're changing the logic.
Thank you.

Similar Messages

  • Save Attachment from exchange server 2010 from oracle using java mail API

    Hello,
    I want to read email from microsoft exchangeserver 2010 and save attachement into a folder.I created an Java program to import attachments from a exchange server mailbox using "POP3S".It works fine when run as a java application.But when i put this inside Oracle11g R2 using load java and while executing from a procedure it gives an error at parsing message into Multipart
    Error at line : Multipart mp = (Multipart)m.getContent();
    Error:
    Content-Type: multipart/mixed;
    boundary="_002_A0C2E09A..................................."
    java.lang.ClassCastException
    at mailPop3.checkmail(mailPop3:71)
    My Java Class is as follows,
    import java.io.*;
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.Date;
    The function i used to check for attachments is given below.
    public static boolean hasAttachments(Message m) throws java.io.IOException, MessagingException
    Boolean hasAttachments = false;
    try
    // if it is a plain/html text - no attachements
    if (m.isMimeType("text/*"))
    return hasAttachments;
    else if (m.isMimeType("multipart/alternative"))
    return hasAttachments;
    else if (m.isMimeType("multipart/*"))
    Multipart mp = (Multipart)m.getContent();
    if (mp.getCount() > 1)
    hasAttachments = true;
    return hasAttachments;
    catch (Exception e) {
    e.printStackTrace();
    } finally {
    return hasAttachments;
    My Java Details as follows
    java Version :1.5.0_10
    java.vm.specification.version:1.0
    java.vm.version :1.5.0_01
    java.specification.version:1.5
    java.class.version:48.0
    Java mail API:javamail-1.4.4
    Used Jars:mail.jar
    Could someone explain why I am getting this error? What can I do to resolve this error?
    Is any other Jar need other than mail.jar?
    Any help would be much appreciated.
    Regards,
    Nisanth

    Hai EJP,
    Thanks for your reply,
    My full java class as follows,
    import java.util.Properties;
    import javax.mail.Authenticator;
    import javax.mail.Folder;
    import javax.mail.Message;
    import javax.mail.PasswordAuthentication;
    import javax.mail.Session;
    import javax.mail.Store;
    import javax.mail.Part;
    import javax.mail.Multipart;
    import javax.mail.internet.MimeMultipart;
    import javax.mail.internet.MimeMessage;
    public class Newmail
    public Newmail()
    super();
    public static int mailPOP3(String phost,
    String pusername,
    String ppassword)
    Folder inbox =null;
    Store store =null;
    int result = 1;
    try
    String host=phost;
    final String username=pusername;
    final String password=ppassword;
    System.out.println("Authenticator");
    Authenticator auth=new Authenticator()
    protected PasswordAuthentication getPasswordAuthentication()
    return new PasswordAuthentication(username, password);
    System.out.println("Certificate");
    String filename="D:\\Certi\\jssecacerts";
    String password2 = "changeit";
    System.setProperty("javax.net.ssl.trustStore",filename);
    System.setProperty("javax.net.ssl.trustStorePassword",password2);
    Properties props = System.getProperties();
    System.out.println("host-----"+props);
    props.setProperty("mail.pop3s.port", "993");
    props.setProperty("mail.pop3s.starttls.enable","true");
    props.setProperty("mail.pop3s.ssl.trust", "*");
    Session session = Session.getInstance(props,auth);
    session.setDebug(true);
    store = session.getStore("pop3s");
    System.out.println("store------"+store);
    store.connect(host,username,password);
    System.out.println("Connected...");
    inbox = store.getDefaultFolder().getFolder("INBOX");
    inbox.open(Folder.READ_ONLY);
    Message[] msgs = inbox.getMessages();
    System.out.println("msgs.length-----"+msgs.length);
    result = 0;
    int no_of_messages = msgs.length;
    for ( int i=0; i < no_of_messages; i++)
    System.out.println("msgs.count-----"+i);
    System.out.println("Attachment....>"+msgs.getContentType());
    Multipart mp = (Multipart)msgs[i].getContent();
    System.out.println("Casting Success" + mp.getContentType());
    catch(Exception e)
    e.printStackTrace();
    finally
    try
    if(inbox!=null)
    inbox.close(false);
    if(store!=null)
    store.close();
    return result;
    catch(Exception e)
    e.printStackTrace();
    return result;
    Please check it
    Regards,
    Nisanth

  • Confuguration of DMS using an external content server and KPRO

    Hello all,
    I am working in a new EH&S SAP environnement.
    The aim is to configure a DMS to link EH&S with an external content server Documentum using Kpro.
    I have done the following IMG activities:
    - Specify Content Servers (Tcode: OAC0)
    - Maintain Categories (Tcode: OACT)
    - Specify links
    - Specify Data Carriers
    - Define document types
    - Assign EH&S Document Types to Data Carriers
    But i am facing to the following problems:
    - CG36VEN: error: "could not create report for specification XX, variant XX and lang. EN.
    - CG34: error: cannot display document MSDS
    - CG4B: error: cannot display document TEST
    Are there other actions to be done in the IMG activities?
    Any idea to help me please?

    More details:
    I am working in a new EH&S SAP environnement.
    I have installed a new DMS link witn an external documentum content server and he is working fine.
    My aim is to configure EH&S to link SAP EH&S with my DMS.
    Actually my connexion between EH&S and DMS is not working.
    Can you tell me what are actions to be done to link EH&S to my DMS.
    Thanks,
    Ludovic Roux

  • Diff. between content server and archive server(SARA on content server)

    I am very interested about difference between content server and archive server. Is there content server supplied by SAP and archive server by third party producers or something else?
    If so dditionally what needs to be done to archive data (via Sara) on content server. I did it on sap R/3 4.0 on an archive server. Is it huge difference to do it on 4.7x2 on content server?

    Hey,
    The content server is used to save documents,
    and SARA (and other third party producers) are used to archive old data.
    For example:
    You should use Content server - When you need to save un-structured data about worker (e.g: pictures, documents and etc) .
    You should use SARA (and other third parties) - When you need to move to archive old
    worker which have left your organization before 5 or more years (there for they are not relevant for you)
    Here is some more information about Content server
    from help.sap.com:
    "Therefore, besides the SAP database, an external content server is always available in every SAP system installation. In this way, the necessary technical infrastructure is provided for all document-centric applications and business scenarios that do not require a long-term archiving solution"
    Here is some more information about SARA and archiving
    from help.sap.com:
    "Data Archiving removes from the database application data from closed business transactions that are no longer relevant for the operational business. The archived data is stored in archive files that can be accessed by the system in read-only mode."
    for more information:
    http://help.sap.com/saphelp_nw70/helpdata/en/8c/e9ddbb5d9a524bbb7854d31b963248/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/73/c335406ee32e34e10000000a155106/frameset.htm

  • Upgrade Content Server and Site Studio

    Hello Everyone,
    We are trying to upgrade both Content Server and Site Studio from 7.1 / 7.2.1 to
    10gR3
    1) Instead of updating existing instance we Installed new 10gR3 instance
    Exported folder structure archive, layout files and data files from old instance
    2) Imported into new 10gR3 instance.
    3) Tried to upgrade sitestudio websites
    4) Its created a project file but not adding any SiteStudio section properties
    (ex. primaryURL, secondaryURL, IncludeSectionInNavigation etc.), if I open the site in
    designer, it shows just blank site structure without any templates associated and all sections are disabled.
    Any ideas on this??
    Venkat

    Hi ,
    If you are displaying the data from spaces only then all the operations like creating a web content , editing it etc can be done from Webcenter spaces itself .
    Thanks
    Srinath

  • Content server and Images

    Hi... we've found some odd behaviour with content server and I'm wondering if anyone else has had similar experience.
    Our installation is spread accross a number of servers, we have a front end portal/image server with Content Server installed on one of the servers behind the firewall.
    When we create branding portlets (and content canvas portlets), it all works happily. The html template is created in the ptcs/publishedContent on the Content Server machine and images appear in the correct template folder on the Image Server machine and everything displays correctly on the portal page.
    Problem is, for any other content portlets (eg: announcement), the images end up in the ptcs/publishedContent on the Content Server machine as well ... which isn't good as this location is not accessible from the browser - the published html gets rendered correctly but no images appear.
    We don't want to manually transfer images from the Content Server to the Image Server and hack the generated ptcs html.... from what I can tell, all the properties set for the Image server are correct so we've hit a brick wall in terms of figuring out why it's behaving this way, our expectation was that the content portlets would operate in the same way as the branding portelts but this doesn;t seem to be the case.
    thanks in advance

    You should be able to edit the gateway space URL of the Content Server Published Content Web Service to include the published content location of where it is.
    Alternately, you can set the published content targer and file transfer method for the server (or any other content server section) by right-clicking on the top-level node (or the individual folder) in the Content Server Explorer, and selecting "Publishing Target..." and setting the appropriate values in the resulting dialog box.

  • The difference between Telepresence Content Server and MSE 3500

    Good day! Could someone explain me what's the difference between Telepresence Content Server and MSE 3500? Why do I need to obtain two these devices for sorting out my tasks? I want to understand gist of the first and the second devices.

    In addition to what Jonathan posted above, here is a Capture Transform Share Solution Guide that goes over a little bit of what the TCS and MXE are and some possible deployment scenarios.
    In short, TCS is used to record video conferences or lectures that can be streamed on demand or live using various streaming or distribution methods.  One such distribution method is using the MXE 3500 to ingest the recordings from TCS and convert them to different media types and add in-video content such as logos etc.  However, from the MXE, you can't send the video back to the TCS for viewing, you'd need to send that off to another viewing portal such as Show and Share.

  • Difference Between "Content Server" and "Content Services"

    Can someone tell me the difference between "Oracle Content Server" and "Oracle Content Services"? From my research, I get the sense that
    these are different products (and Oracle Content Services seems like it's an obsolete one), but I would like some confirmation.
    My apologies for the uber-newbie question :)

    Content Services is what you had with Content DB, Oracles old product.
    Content Server is the core engine of the UCM product, formerly Stellent Content Server.

  • Read,write and create word document with list data

    Hi,
    My requirement is that I have a custom list called List1 and which has a 4 (suppose XName, location, phone, email)columns and also have a Template document(.dot). If I click on save button , new document has to create from the Template document(.dot) and
    should modify the content depends on list columns.
    For that I need to read the document , find out the text where XName , location,,phone, email and replace with the list item data(user entered data). 
    Can anybody please refer links for read,write and create word document?
    Thanks in advance.

    Yes, you can using Office Open XML. I found it to be a lot more cumbersome and in the end not a money saving approach:
    https://msdn.microsoft.com/en-us/library/office/bb448854.aspx?f=255&MSPPError=-2147217396
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Content Search and not the document in SharePoint 2010

    Hi,
    The requirement is : Search the content of documents by storing the data in a database-driven structure and get the search results in a grid view with data in different columns. My questions are :-
    1) Can we store complete content of the word document in a separate database (other than content DB of site collection) or in list/library and show in search results/SP search result page ?
    2) Can we convert the existing documents in XML format and save it SharePoint ? Will that content be visible in Search results  ?
    3) How can we modify search page to have check box before every search result ?
    4) How can we export the selected search results in an excel file ?
    Any help will be highly appreciated !!!
    Vipul Jain

    Hi Inderjeet,
    Thanks for the reply. But the client's existing documents are in .doc (Word 2003) format , which is not an open-xml supported format. So the first step would be -
    Q1) How can we extract the content from word documents ?
    The existing documents are based on a standard corporate template (.dot). These documents are having very heavy content , for example, resume document of an employee, having 20 experiences in very big paragraphs in text format.
    Q2) Can we store such large content (experience/qualifications/professional licenses etc) in SharePoint list/library columns ? If yes , which column type will be used...  
    Its true that we can convert the existing documents in XML and then the content will be searchable in SharePoint 2010.
    Q3) Can we customize the search page to that level that it can give us results in a grid view having different columns , and user can select the multiple search results and create a document dynamically based on those selected search results.
    I Know anything can be done using customization's (.net C#)..I just want to clarify for SharePoint search page. If yes , then there will be no need to store the document contents in a separate SQL database.
    Kindly reply.
    Vipul Jain

  • MS Word: This file is read-only. To save a copy, click OK, and give the document a new name in the save dialog box.

    This is not a question. I believe I've found a new issue and the fix for it.
    The situation:
    A brand new iMac 27" running Yosemite 10.10.1
    MacMini server running 10.8.5 server.
    The issue:
    Client on iMac trying to work on MS Word documents stored on server was requiring him to save the documents to his desktop and then copy them back to the folder on the server. The exact error message was, "This file is read-only. To save a copy, click OK, and give the document a new name in the save dialog box."
    The issue is unique to this computer in an office of 10 client computers and three servers.
    Attempted fixes:
    Verified that the ".Temporaryitems" folder existed and the permissions were set properly.
    Repaired permissions on the client and the network share.
    Definitive fix:
    By default, Yosemite 10.10.1 uses SMB for connecting file shares. When I overrode the default and switched to AFP protocol, the issue went away.
    I hope this helps someone else.
    Rob

    That was it. What an operating system. It is very helpful to view files you are looking for. But if you have preview on you cannot save files.

  • Hi there, I currently subscribe to Adobe Pro Subscription (yearly) and I also subscribe to Adobe PDF pack (monthly).  I only require Adobe to read and create PDF documents such as converting word/excel document or a web based document.  Can someone tell m

    Hi there, I currently subscribe to Adobe Pro Subscription (yearly) and I also subscribe to Adobe PDF pack (monthly).  I only require Adobe to read and create PDF documents such as converting word/excel document or a web based document.  Can someone tell me if I'm doubling up as I'm not sure of the differences between the products and would like to save a few dollars.

    Acrobat Pro can do a lot more than the PDF Pack online service.
    Try if you can do everything you need with PDF Pack; otherwise keep Acrobat Pro.

  • We collected data using NI in the Labview environmen​t and created tdms document. Is there a reader for reading the data in Matlab environmen​t?

    We collected data using NI in the Labview environment and created tdms document. Is there a reader for reading the data in Matlab environment?

    A search will often turn up results.
    Reading TDM/TDMS Files with The MathWorks, Inc. MATLAB® Software

  • Seting up Content Server and ArchiveLink

    Ok, Here is the problem that I am currently dealing with.  I have set up a Content Server to store files to a sapDB (not file system).  I am trying to have purchase orders moved into the Content Server.  I defined a content server:
    from TCode OAC0:
    ZT     ARCHLINK     HTTP content server     0046     Content Server Test
    from TCode OAC3:
    EKKO     MEOORDER     X     ZT     TOA01     0
    in TCode OAC3 I am only able to choose ZT if I set ZT to Document Area "Archivelink".  But when I choose this it makes me choose a directory and as I mentioned I set up the content server to save files to DB (not file storage).  Can anyone please assist me in what settings I have incorrect?  Also I looked up the PO information and it says something about Object Type BUS2012... not EKKO.  Do I have to set up this object type?
    Basically when I change the Document Area to "Archivelink" it makes me use a file... when I choose "Archivelink: Print List Manager" or "Archivelink: Document management" it does not force me to have a file path.
    Well... after re-reading it I can see I am very confused.  Any help understanding the process or any advise would be greatly appreciated.
    Thanks,
    Paul Ksobiech
    SAP Basis Administrator

    Hi,
    In the transaction OAC0, when creating a repository, you would find the field 'Document Area'.  The value for Document Area has to be specified as 'ArchiveLink' or should be left blank. If you specify the Document Area as ArchiveLink, then only ArchiveLink woulod be able to use this repository. Hence, if you would like other applications also to use this repository, please maintain the Document Area as blank.
    You have mentioned that when you choose ARCHIVELINK as the document area, you have to choose a directory. Are you referring to the Transfer Directory in OAC0 transaction? If yes, then this Transfer Directory is used for storing the documents temporarily. This directory would be a path on the Application server.
    For example, if you maintain a transfer directory (as seen in Full Administration mode)as the following:
    Basic Path      IX_GLOBAL
    Archive Path    IX_GLOBAL
    This would mean that Basic path is the path where the documents are stored temporarily before saving into the archive.
    The Archive Path is the path where the documents are made available temporarily during the document retrieval process.
    The transfer directory IX_GLOBAL is maintained in the transaction FILE. This directory would inturn be pointing to the path on the application server.
    Additionally, answering your last question, the business object EKKO was used in the release 4.6. However, from higher release like 4.6C, 4.7, the EKKO business object has been replaced with BUS2012. Hence, from higher releases onwards, you would have to use this business object instead of EKKO.
    I hope this info helps.
    Best Regards,
    Sindhu Sreedharan.

  • SAP HTTP Content Server and ECC 6  to be installed on same Windows system?

    Hi Gurus:
    I have ECC 6 (IDES) running on a Windows 2003 server already.  I plan to install the SAP HTTP Content server on the same machine/same operating system.   I will be the only user, just testing it out and learning things myself.
    Is this advisable?
    Also does anyone know the latest set of Content Server DVDs/CDs to download ?

    Deepak:
    Thanks a lot. 
    My Content Server is running OK now.
    Two repositories are created: one is DMS, one is on ArchLink (ArchiveLink).
    But when I am trying to attach a PDF document to a PO, I got this:
    HTTP error: 401 Unauthorized
         Message no. CMS025
    Diagnosis
         Error in accessing via HTTP
         401 Unauthorized
    Any clue???

Maybe you are looking for