Attach a file to a document using metadata

Hi experts
We have a problem related with metadata. Our business case is to create a custom metadata for documents in KM. This metadata should allow users to attach related documents to an existing document in KM (the document we are creating or modifying).
We tried to implement this business case by the following way:
We created a new Property metadata of type String and assigned an attachment property renderer. While uploading a file, we got an attachment UI so that users can attach other documents (by uploading them or by linking to existing documents in the KM folders). After saving parent document with all this metadata, we try to display document properties, and all custom properties are displayed but not the attachment property/related documents...
Is the attachment renderer designed for this purpose? Or maybe do we forgot to customize something? We haven't found any documentation/samples about predefined properties and renderers...
Any help/suggestion is welcome...
Thank you very much

Does anyone have a response for this issue?
Or, as a workaround, is there another way to create a metadata property for attaching a file to another KM document?
Thank you very much

Similar Messages

  • I have a MacBook Pro and can't print pdf files or word documents using my HP Wireless Photosmart Printer.  It will print files from the internet.  Any suggestions or ideas will be greatly appreciated.  Thank you.

    I have a MacBook Pro and can't print pdf files or word documents using my HP Wireless Photosmart Printer.  It will print files from the internet.  Any suggestions or ideas will be greatly appreciated.  Thank you.

    Hello, SoonerAnesthetist. 
    Thank you for visiting Apple Support Communities.
    Here is an article that I would recommend going through when experiencing this issue.
    OS X Mavericks: Solve printing problems
    http://support.apple.com/kb/PH14142
    Cheers,
    Jason H.

  • Attach the file for purchase requisition using BSP service

    Hi All,
    I have Requirement Attach the any file like(PDF,TXT,PPT) to Purchase requisition using BSP service.Could please provide me any function module or BAPI for this functionality.
    Thanks in advance.
    Regards,
    Rajesh.

    Hi All,
    REPORT ZTESTJLG3 . .
    parameter p_mandt like sy-mandt default '120' .
    parameter p_equi type equnr default '1000007' .
    parameter p_path like IBIPPARMS-path memory id AD_LOCAL_PATH .
    parameter p_name(30) default 'Test attach 100007' lower case .
    " nom attachement .
    data w_prog like sy-repid .
    data w_dynnr like sy-dynnr .
    data w_attachement type borident .
    initialization .
    w_prog = sy-repid .
    w_dynnr = sy-dynnr .
    " test jean luc recuperer le code de
    fucntion module 'GOS_EXECUTE_SERVICE'
    data lo_container TYPE REF TO cl_gui_container .
    *call method lo_container->get_container_type .
    at selection-screen on value-request for p_path .
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
    PROGRAM_NAME = w_prog
    DYNPRO_NUMBER = w_dynnr
    FIELD_NAME = 'P_PATH'
    IMPORTING
    FILE_NAME = p_path .
    start-of-selection .
    if sy-mandt ne p_mandt .
    write 'Erreur mandt ' .
    exit .
    endif .
    data ws_borident like borident .
    ws_borident-OBJKEY = p_equi.
    ws_borident-OBJTYPE = 'EQUI'.
    data w_document like SOOD4 .
    data : begin of wt_files occurs 0 .
    data fname(128) .
    data end of wt_files.
    wt_files-fname = p_path .
    append wt_files .
    data folder_id like SOODK .
    call function 'SO_FOLDER_ROOT_ID_GET'
    EXPORTING
    region = 'B'
    IMPORTING
    folder_id = folder_id
    EXCEPTIONS
    others = 1.
    w_document-foltp = folder_id-objtp .
    w_document-folyr = folder_id-objyr .
    w_document-folno = folder_id-objno .
    append document to documents.
    w_document-objdes = p_name .
    w_document-objnam = p_name .
    data w_h_data like sooD2 ..
    data w_fol_data like sofm2.
    data w_rec_data like soos6 .
    w_h_data-objdes = p_name .
    CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER'
    EXPORTING
    METHOD = 'IMPORTFROMPC'
    OFFICE_USER =
    REF_DOCUMENT = w_document
    NEW_PARENT =
    IMPORTING
    AUTHORITY =
    TABLES
    OBJCONT =
    OBJHEAD =
    OBJPARA =
    OBJPARB =
    RECIPIENTS =
    ATTACHMENTS =
    REFERENCES =
    FILES = wt_files
    CHANGING
    DOCUMENT = w_document
    HEADER_DATA = w_h_data
    FOLMEM_DATA = w_fol_data
    RECEIVE_DATA = w_rec_data .
    if w_document-okcode = 'CREA' or w_document-okcode = 'CHNG'.
    w_attachement-objtype = 'MESSAGE'.
    w_attachement-objkey = w_document(34).
    CALL FUNCTION 'BINARY_RELATION_CREATE_COMMIT'
    EXPORTING
    OBJ_ROLEA = ws_borident
    OBJ_ROLEB = w_attachement
    RELATIONTYPE = 'ATTA'
    IMPORTING
    BINREL =
    TABLES
    BINREL_ATTRIB =
    EXCEPTIONS
    NO_MODEL = 1
    INTERNAL_ERROR = 2
    UNKNOWN = 3
    OTHERS = 4
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endif .
    For above requirement i am trying like above code.
    working fine but which transaction i can find the attach file.I am trying to fine using ME52N transaction but i c't find this file.
    Please suggest me how can i find this one
    Thanks in advance,
    RajeshV.

  • Insert image file to word document using active X

    Hello,
    I would like to insert an image into my word document (at the end). The image is saved as a bmp file and I'm using LV 8.2.1.
    I would like to do this using Active X (without using report generation toolkit).
    Any idea please ? Thanks in advance.
    J.
    Solved!
    Go to Solution.

    Hi J.
    The method to use is Inline shapes (Add pictures). I have linked an example. You will have to configure it in order for it to be at the end of your document but that shouldn't be a problem for you.
    Best Regards,
    Charlotte F. | CLAD
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> "Du 11 octobre au 17 novembre, 2 sessions en parallèle : bien démarrer - approfondir vos connais...
    Attachments:
    activex image.vi ‏13 KB

  • How to attach a file to a mail using htmldb

    Hi all,
    can u help me how to attach a file in htmldb.
    iam able to send a mail using the inbuilt package but unable to attach a file.
    advance thanks in helping out.

    The APEX_MAIL package doesn't support sending emails with attachments.
    See Send E-Mail with attachment from HTML DB for some alternatives.

  • Exception while retrieving deleted document using metadata based query

    Hi,
    I am using dbxml 2.4.11 on Mac OS 10.5. My xml documents are stored in the dbxml with some metadata. Index on metadata is built. After delete a document I get an exception (error code is DATABASE_ERROR) while trying to use metadata based query:
    com.sleepycat.dbxml.XmlException: Error: DB_NOTFOUND: No matching key/data pair found, errcode = DATABASE_ERROR
    at com.sleepycat.dbxml.dbxml_javaJNI.XmlResults_hasNext(Native Method)
    at com.sleepycat.dbxml.XmlResults.hasNext(XmlResults.java:136)
    at gov.nasa.gsfc.md.mms.dbserver.server.XmlDbServerImpl.selectDocuments(XmlDbServerImpl.java:111)
    at gov.nasa.gsfc.md.xdba.server.ApplicationServiceImpl.findDocument(ApplicationServiceImpl.java:99)
    the code used to query:
    query = ... /DIF[dbxml:metadata('md:Id')='1234']
    // Perform the query.
    XmlResults results = getXmlManager().query(query, context);
    while (results.hasNext()) {
    XmlValue xmlValue = results.next();
    DocumentDTO documentDTO = new DocumentDTO();
    XmlDocument xmlDocument = xmlValue.asDocument();
    XmlMetaDataIterator metadataIt = xmlDocument.getMetaDataIterator();
    XmlMetaData md = metadataIt.next();
    while (md != null) {
    String name = md.get_name();
    String value = md.get_value().asString();
    NameValuePair nameValuePair = new NameValuePair(name,value);
    documentDTO.addToMetadataList(nameValuePair);
    md = metadataIt.next();
    retVal.add(documentDTO);
    counter = counter + 1;
    results.delete();
    context.delete();
    As name and value of the metadata I use kind of Id. If I use the query with a never before existing Id, I get the expecting error code DOCUMENT_NOT_FOUND, which is ok.
    Anybody has an idea why?
    Thanks a lot,
    Hoan.

    Hi George,
    I use now version 2.4.16, built a new database, but I can't found any records using the code mentioned above. First I thought there would be problem on Mac, tried to install the whole database and app on linux, but the problem still persists. The query I am using is:
    collection('////usr/server/gcmdx/xmldb/data/live.bdbxml')/DIF[dbxml:metadata('md:docType')='DIF' and dbxml:metadata('md:internalId')='456']
    (Switching back to 2.4.11, I find the records inserted)
    I can send a record if you want.
    Thank you for your help,
    Hoan.

  • Using Windows Life or Hotmail, when attaching a file it crashes. Using Firefox 9.01. Please advise how to correct.

    Recently when using Windows Live or Hotmail, when I try to attach a file it crashes. I am using Firefox 9.01. These are not big files. I need this feature for work. It happens about 90% of the time. If I close Firefox and start again, I can sometimes attach a file, and then the next time it will crash.
    Error says plugin-container.exe has encountered a problem and needs to close. Then another window opens and says - The Silverlight plugin crashed.
    ''[Personal information removed by moderator. Please read [[Forum and chat rules and guidelines]], thanks.]''

    Perform the suggestions mentioned in the following articles:
    * [https://support.mozilla.com/en-US/kb/Template:clearCookiesCache/ Clear Cookies & Cache]
    * [[How to clear the cache#w_clear-the-cache|Clear the Network Cache]]
    -> Update All your Firefox Plugins
    * https://www.mozilla.org/en-US/plugincheck/
    * '''When Downloading Plugins Update setup files, Remove Checkmark from Downloading other Optional Softwares with your Plugins (e.g. Toolbars, McAfee, Google Chrome, etc.)'''
    * Restart Firefox
    Check and tell if its working.

  • How to attach a file to tomcat server using SERVLETS

    Hello friends,
    I want to enable users to attach a file and send it to my server. This is a very common feature seen anywhere like e-mail attachments.
    Iam using tomcat server. I tried HTTP put but it did not work.
    Please give some suggessions.
    Thanks
    Goldy

    check this url:
    http://www.servlets.com/cos/index.html
    follow the link MultiPartRequest
    Spieler

  • How to attach PDF files to invoice document from ECM.

    Hi Gurus,
    We have one requirement in that around three million  invoice pdf files are there in ECM system. we need to attach those pdf files(GOS) to  existing invoice document in SAP.as we searched in SCN we found one function module ARCHIVE_CONNECTION_INSERT. for this  function module we need pass mandatory import parameters as SAP object ID ,Document ID and some other variables(object type, doc.type , repository ID).
    My problem is how can I find the value of  respective SAP object ID and Document ID  form ECM system. and how can I match the SAP object ID and Document ID.
    please  help on this.
    Thanks in advance!!
    Regards,
    Vigneshwar.D

    Hello,
    Check with Global document type is maintained for the PDF you are looking for in OAC2. You will find the Document type, for the respective object type, check in OAC3. Content Repository is the archiving ID. Search by the archiving ID.
    Regards
    Rakesh

  • Possible to save files in My Documents using JavaScript?

    I have a customer who wants his users (service technicians) to be prompted to save a PDF form they fill out, print, and sign for their customers. It's easy to set the File>Save As action for the form button, but my customer wants to know if it's possible to always have the form saved to My Documents.
    I've searched the form and haven't been able to find any discussion on this. I can't imagine how to do it, since My Documents is inside the user profile... but was wondering what people who actually know what they're talking about (as opposed to me, that is) might have to say.
    If it is possible to do what my customer wants, can you point me to any existing code or reference sources?
    Cheers!
    ---Fox

    But I have two problems with this...
    The first is that I ran several Google site-searches and Adobe searches, but did not find any document*** named Acrobat JavaScript API Reference, even though it is also directly referenced in the Acrobat 9 help (listed there as JavaScript™ for Acrobat® API Reference, but I've searched using broader terms such as API reference and other combinations, and it simply did not come up).
    I did find the companion "Developing Acrobat® Applications Using JavaScript". But it's overwhelming, and I don't know what chapter(s) contain the information I need to throw together a proper working script for what I need.
    That's the other problem.
    I do not know JavaScript. I know how to include it but not how to write it. Everywhere I look, the blanket response to newbie JavaScript questions is to dump the wad of documentation in the asker's lap, expecting them to sit down and read it "cover to cover."  I now have a long-overdue project and I need help, fast. I don't have time to learn JavaScript from scratch! -- If I did, I wouldn't be asking these questions! I'd be figuring it out myself.
    This is becoming very frustrating. Won't somebody please help me out, or tell me exactly what pieces of code I need to put in and where I need to put it?  I can at least go look up the syntax, as long as I know what to look for.
    EDIT:  *** Now that I've written that, I ran the Adobe search tool again and found the PDF version, which is what I was looking for. The saveAs samples make no sense to me, and I keep trying to dig back through the documentation to figure out what the heck it's talking about. It's a quagmire. The documentation is barely understandable; it's very poorly worded, and every sentence is thick with unfamiliar concepts for a n00b -- and I'm a tech writer!
    Message was edited by: FoxCole

  • I cannot attach a file in Hotmail when using Firefox 3.6.8

    I cannot attach files in Hotmail using FF 3.6.8
    == This happened ==
    Every time Firefox opened
    == July 30, 2010

    Follow up: The problem seems to have corrected itself. My guess is that Hotmail was the issue.

  • Iam unable to attach multiple files to a email using javamail?

    Hai to all,
    Sorry that snipnet is for only one attachment ,
    iam sending my topic again,plese go through it.
    Iam unable to send multiple attachments with a email,see
    iam have succeeded in sending one attachment with a email.
    when iam tring to add two or more attachments to a mail,
    it is giving a Exception like this:
    javax.mail.MessagingException: IOException while sending message;
    nested exception is:
    java.io.IOException: No content
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:577)
    at javax.mail.Transport.send0(Transport.java:151)
    at javax.mail.Transport.send(Transport.java:80)
    at AttachFilesModified.sendMail(AttachFilesModified.java:185)
    at AttachFilesModified.main(AttachFilesModified.java:43)
    this is my code snipnet:
    BodyPart messageBodyPart = new MimeBodyPart();
    Multipart multipart = new MimeMultipart();
    if(body != null)
    messageBodyPart.setText(body);
    multipart.addBodyPart(messageBodyPart);
    /*if(attachments != null)
    for(int i = 0; i < attachments.length; i++)
    String filename="D:\\nagaraju\\apachi\\axis-bin-1_3.zip";
    //String s[]=filename.split("\\");
    //System.out.println(s);
    //String s1=s[1];
    //String filename1=s[s.length-1];
    messageBodyPart = new MimeBodyPart();
    DataSource source = new FileDataSource(filename);
    messageBodyPart.setDataHandler(new DataHandler(source));
    messageBodyPart.setFileName(filename);
    multipart.addBodyPart(messageBodyPart);
    //second file attaching
    String filename1="C:\\nagadoc.txt";
    BodyPart messageBodyPart1=new MimeBodyPart();
    DataSource source1=new FileDataSource(filename1);
    messageBodyPart.setDataHandler(new DataHandler(source1));
    messageBodyPart.setFileName(filename1);
    multipart.addBodyPart(messageBodyPart1);
    mess.setContent(multipart);
    Address[] allRecips = mess.getAllRecipients();
    if(toStdOut)
    System.out.println("done.");
    //System.out.println("Sending message (\"" + mess.getSubject().substring(0,10) + "...\") to :");
    System.out.println("Sending message................");
    for(int i = 0; i < allRecips.length; i++)
    System.out.print(allRecips + ";");
    System.out.println("...");
    Transport.send(mess);
    if(toStdOut)
    System.out.println("done.");
    return 0;
    What's wrng with that code snipnet?
    Nagaraju G.

    This works fine with me, try it or compare it if you want.
    public void sendEmail( String from, String to,
    String subject, String body) {
    fMailServerConfig.put("mail.smtp.host", " <<mail server>>");
    Session session = Session.getDefaultInstance( fMailServerConfig, null );
    MimeMessage message = new MimeMessage( session );
    try {
    message.setFrom(new InternetAddress(from));
    message.setRecipient(Message.RecipientType.TO,
    new InternetAddress(to));
    message.setSubject( subject);
    message.setText( body);
    //Adds Attechment:
    Multipart multipart = new MimeMultipart();
    BodyPart messageBodyPart = new MimeBodyPart();
    messageBodyPart.setText("Here are my attachments");
    multipart.addBodyPart(messageBodyPart);
    messageBodyPart = new MimeBodyPart();
    //first attachment
    DataSource source = new FileDataSource("C:\\img1.jpg");
    messageBodyPart.setDataHandler(new DataHandler(source));
    messageBodyPart.setFileName("C:\\Telnor1.jpg");
    multipart.addBodyPart(messageBodyPart);
    //Second attachment
    DataSource source2 = new FileDataSource("C:\\img2.jpg");
    messageBodyPart.setDataHandler(new DataHandler(source2));
    messageBodyPart.setFileName("C:\\Telnor2.jpg");
    multipart.addBodyPart(messageBodyPart);
    //etc...
    message.setContent(multipart);
    Transport.send( message );
    }catch (MessagingException e){
    System.err.println("Cant send mail. " + e);
    The error on your code might be:
    BodyPart messageBodyPart1=new MimeBodyPart();
    DataSource source1=new FileDataSource(filename1);
    messageBodyPart.setDataHandler(new DataHandler(source1));
    messageBodyPart.setFileName(filename1);
    multipart.addBodyPart(messageBodyPart1);
    You don't need to create a new BodyPart, and apart from that you'r seting values on "messageBodyPart" but adding "messageBodyPart1" to your multipart :P
    Well see u and have a good one!
    p.s. i know it's a little late from the day you posted, but at least it might help somebody else :D .

  • If I attach a file to an email using Firefox it is received jumbled up but not so if I send the same file with Safari

    By jumbled I mean letters, symbols, punctuation marks etc. Total nonsense. If I scan a document then e.mail it using Firefox as my browser, when opened it is a jumble. If I take that same scanned document and e.mail it out using Safari it opens up completely legible. This is new stuff only since today. Heretofore Firefox has been terrific.

    In Mail's menu, go to Edit > Attachments > Always send windows-friendly attachments and click it.
    Attachments may appear embedded in the email on your end, but should appear as standard Windows attachments on the recipient's end.

  • How to read ZIP files(having PDFs,Image) using MQ Series link for R/3

    Hi,
    1)Is it possible to transfer a zip file (having an image or pdf) using IDocs in SAP 4.6C using MQ Series link for R/?
    Scenario: "MQ Series link for R/3" converts Business-Reports from a third-party software,into SAP IDocs.Each Business-Report contains one XML file and one ZIP file.
    2)Being on ABAP side,do I have to worry about how the zip file would be converted into IDocs?
    Detailed descrption:
    This scenario requires integration of a non-SAP software which talks in XML with SAP R/3(4.6C).The customer has decided to go with 'MQ Series link for R/3' (which integrates any non-SAP application running on IBM MQ Series to R/3,by converting data(in any format) into IDocs).He is not ready to go for XI.
    The Problem area is a functionality which requires the non-SAP software to send XML file along with an attached Zip file.So,XML document,basically,has a 'zippedFile' XML element having actual file in XML keyword 'file'.
    This XML document ideally, should be converted by the subsystem(MQSeries link for R/3) into IDocs i.e. into a stream which could be stored in a table on R/3 side and later, sent back to the non-SAP software through MQ Series link to be converted into zip-file again with corresponding pdfs,images.I want someone who has worked in a similar scenario to confirm this.

    Hi,
    I have a feeling I have posted this question in the wrong forum or maybe I will let you decide this.Any help would be appreciated (even the right forum name).
    My scenario requires integration of a non-SAP software which talks in XML with SAP R/3(4.6C).The customer has decided to go with 'MQ Series link for R/3' (which integrates any non-SAP application running on IBM MQ Series to R/3,by converting data(in any format) into IDocs).He is not ready to go for XI.
    The Problem area is a functionality which requires the non-SAP software to send XML file along with an attached Zip file.So,XML document,basically,has a 'zippedFile' XML element having actual file in XML keyword 'file'.
    This XML document ideally, should be converted by the subsystem(MQSeries link for R/3) into IDocs i.e. into a stream which could be stored in a table on R/3 side and later, sent back to the non-SAP software through MQ Series link to be converted into zip-file again with corresponding pdfs,images.I wanted someone who has worked in a similar scenario to confirm this.

  • How to attach a file

    Dear All,
    I want to send an email but I don,t know how to attach a file. I am using gmail on my ipad2 now I wish to send an email to my friend along with my mail I wish to attach a PDF file.
    Kindly please help me out because it is not showing the option for attaching the file.
    Thanks in advance.

    Unfortunately you can't. But other apps will allow it, like Goodreader. Goodreader is free and lets you open PDFs which can then be emailed. Pages, which is a document-layout programme also allows documents to be emailed within itself.

Maybe you are looking for

  • Item Text in FI Document

    Hi, For FI documents generated from GR (MIGO) and IV (MIRO), can we update the text field with certain values from the material documents? In fact, we would like to always populate the text field of FI documents from sub modules. What would be the be

  • Beware - 20" Cinema dead after 34 days

    Bought it 9/1/05 and on 10/4 it won't power up. Light stayed on solid but screen stays black and buttons do nothing. Hooked it up to a different Mac with same result. Called Apple and they had no advice and they sent me to a CompUSA to get it fixed.

  • Compaq Presario C7 Start Issues

    so my notebook wouldnt start after my brother accidently shut it off during an update configuration. so i ran a file restoration after a black screen came up and ran through almost 4k files and stopped at one and stuck there. it has been finalizing t

  • Reconciliation: push updates from an OpenLDAP into OIM 11g

    Hello everyone , Is there in the latest OIM a "push" connector that would allow a reconciliation process (ie inward flow into OIM) starting from an OpenLDAP directory system? Thanks, Nikos

  • Iframe and runtime

    Area: AIR Problem Statement : Cannot access runtime from the html in an iframe Description: 1. I have a landing page that consists of 2 iframes 2. these two iframes call into html files to display the landing page 3. I do not get a handle to the wind