How to register several files/attatchments on UCM using RIDC?

Hello

I would like to know how can I check in several files on UCM using CRMI. I'm currently checking - in one document at the University Complutense of MADRID with some metadata bsuiness and a specified file, but the end user must be able to specify more than one file to download.

We provide several files entry on the UI so that the user can choose, in addition to the main file, several files (for example, up to 3) that are not created in the form of documents on the University Complutense of MADRID, but rather as the other files for a given document attatched.

Should I simply archive them like I do with the first file and then specify on the side of the WCC that others are "other files". Or there is one way to treat these files attatched or another for a given document?

Thanks in advance.

Kind regards

Filipe Baptista

Hi Filipe,

Upon check-in, you cannot select multiple files that WCC because both would take 1 primary and 1 file replacement as entries per request. If you are looking to add multiple files for a content of Check - in component ZipRenditions can be used to add attachments "multiple" the archived file. But again, this would be a check-post operation. A code for this example would be like this:

Consignment:

DataBinder dataBinder = idcClient.createBinder ();

dataBinder.putLocal ("IdcService", "CHECKIN_NEW");

dataBinder.putLocal ("dDocAuthor", "weblogic");

dataBinder.putLocal ("dDocTitle", "CRMI-AttachTest1");

dataBinder.putLocal ("dDocType", "Document");

dataBinder.putLocal ("xIdcProfile", "RIDCProfile");

dataBinder.putLocal ("dSecurityGroup", "Public");

dataBinder.addFile ("primaryFile" ", new File("/home/oracle/test/run.sh "));

dataBinder.addFile ("alternateFile" ", new File("/home/oracle/test/run1.sh "));

dataBinder.putLocal ("doFileCopy", "1");

dataBinder.putLocal ("fParentGUID", "6CD583399ED00A8D86A689BBF0AF89C7"); If she wants to be archived in a framework folder.

Then the answer to this would be a fact and dDocName you need to use and check if the status is started:

dataBinder.putLocal ("IdcService", "DOC_INFO");

dataBinder.putLocal ("dDocName", "");

dataBinder.putLocal ("a", "");

If the answer to dStatus RELEASED =, and then run the code example attachment of multiple file like this:

dataBinder.putLocal ("IdcService", "EDIT_RENDITIONS");

dataBinder.putLocal ("a", "");

dataBinder.putLocal ("renditionKeys", "addRendition0");

dataBinder.putLocal ("addRendition0.name", "FileAttach");

dataBinder.putLocal ("addRendition0.action", "modify");

dataBinder.putLocal ("addRendition0.file:path", "\ridc\test.txt");

dataBinder.addFile ("addRendition0.file", new leader ("test.txt"));

addRendition0 is the first attachment that can be added, like wise, you can use addRendition1, addRendition2, addRendition3 etc to add more number of attachments to the same content.

Re: using ZipRenditionManagement

So, it is not a case where the checkin request itself you can add attachments himself (this feature is available with WCC 12 c - archive of content items and attachments together)

With the UCM 11 g, you will need to check the response for the checkin data and then add attachments (which at one point I think that you can select 6).

I hope this helps.

Thank you

Srinath

Tags: Fusion Middleware

Similar Questions

  • How to register multiple files with the same name with different num revision

    Hello

    Can someone please tell me, how to register several different files with the same name with the revision number using the RIDC API.

    For example:
    First of all I will be saved in a file (TestFile.txt) in a content server with revision number 1 using the RIDC API in application of the ADF. Then after awhile, will change the same line (TestFile.txt) check-in and once again. I tried to check the same file several times, however first Check-in correctly in server showing revision 1, so that Check-in same file again, her gives no error message, and also its not reflecting only not to the server. Single file (TestFile.txt) reflecting on the server.

    How to implement this feature using the RIDC API? Any suggestions would be helpful.

    Concerning
    REDA

    Published by: 887680 on March 6, 2013 10:48

    (1) get the content ID (dDocName), call CHECKOUT_BY_NAME
    (2) call check-in service with dRevLabel = previous dRevlabel + 1

  • How to share several files at the same time?

    iI am trying to share a number of edited files and sending one at a time takes too much time. How to share several files at the same time?

    Yes, you can select and send/share several files at once.

    Start https://cloud.acrobat.com/send. Click Select files to send and then follow the instructions in file selection. If you want to add more files, simply click on add files:

    You can include up to 50 files by "transaction".

  • Get alternative files of ucm using RIDC

    How can I get the alternative of the AAU with CRMI file if I have the fact and dDocName?

    See the code provided in the link below:

    http://www.lkakarla.com/2012/09/get-file-from-UCM-using-RIDC-client.html

    Just add the following line in the code above:

    dataBinder.putLocal ('Rendition', "Alternate");

    This is how it should appear:

    dataBinder.putLocal ("IdcService", "GET_FILE");

    dataBinder.putLocal ('Rendition', "Alternate");

  • How create the CSV file delimited by tabs using ORACLE utl_file?

    How create the CSV file delimited by tabs using ORACLE utl_file? Please provide the code sampl.

    This isn't a problem with Oracle, it is a problem with the way you open the data in Microsoft Excel.

    In Excel, you want (depending on your version may vary slightly)...

    Office 2010...

    1. go in the Ribbon "Data".

    2. click on 'text '.

    3. Locate and select your file, and then click "import."

    4 step 1 of the wizard - choose "Delimited", then click on "next >".

    5. step 2 of the wizard - choose "Tab" as the delimiter and click on "next >".

    6. step 3 of the wizard - define types of column as needed (if necessary) and click on "Finish".

    7. check where you want the data in the worksheet.

    Data is loading now in single cells as you expect.

    If you just double-click the CSV, Excel is apparently assuming that it will be separated by commas and does not recognize tabs as separators, unlike when you rename the file with a .xls extension where it examines the file, complains that it is not a content .xls and asks you to confirm that you want to continue loading and then intelligently recognizes the tabs and the format for you.

    As I said, not a problem with Oracle, just a problem with the MS Excel software.

  • How To Read RTF file in JAVA?  Using iText?

    How To Read RTF file in JAVA?  Using iText?...

    import java. IO;

    com.lowagie.text import. *;
    com.lowagie.text.rtf import. *;

    public class RTF3 {}
    Public Shared Sub main (String [] args) {}

    System.out.println ("this example produces a RTF Sample.rtf file name");

    Create the Document object
    The myDoc document = new Document();

    try {}

    Create writer to listen to a document object
    and directs the RTF stream to the Sample.rtf file
    RtfWriter2.getInstance (myDoc, new FileOutputStream ("Sample.rtf"));

    Open the document object
    myDoc.open ();

    Create a paragraph
    Point p = new Paragraph();
    p.Add ("Helloworld in Rtf file... amazing isn't");

    Add a paragraph to the document object
    myDoc.add (p);

    }
    catch (Exception e) {}
    System.out.println (e);
    }
    close the document
    myDoc.close ();
    }
    }
    Exception in thread "main" java.lang.NoSuchMethodError: com.lowagie.text.Rectangle.width (F)
    at com.lowagie.text.rtf.document.RtfPageSetting.rectEquals(RtfPageSetting.java:433)
    at com.lowagie.text.rtf.document.RtfPageSetting.guessFormat(RtfPageSetting.java:362)
    at com.lowagie.text.rtf.document.RtfPageSetting.setPageSize(RtfPageSetting.java:341)
    at com.lowagie.text.rtf.RtfWriter2.setPageSize(RtfWriter2.java:248)
    at com.lowagie.text.Document.open (unknown Source)
    to the view. RTF3.main (RTF3. Java:23)

    Can you help me?

    import com.lowagie.text.Document;
    import com.lowagie.text.rtf.parser.RtfParser;
    import java.io.FileInputStream;

    String Fichierentree = "sample.rtf."
    Document document = new Document();
    document. Open();
    RtfParser parser = new RtfParser (null);
    parser.convertRtfDocument (new FileInputStream (inputFile), document);

  • How to delete several files at the same time in Windows 7

    Original title: I'm operating a windows 7 and I am the only operator. I'm used to Vista. All I want to do is to highlight several files and delete them from Documents in the trash.

    I'm operaating Windows 7 and I was used too using Windows Vista but I do not have the Remove feature that I outsourced either by organizing right clickng on selected files/files. I also have Norton Antivirus installed.

    Hi Allan Cole.

    It seems that these downloaded emails would not have permission to delete.

    You suggest to download and save all emails in a specific folder, and then you can delete or read emails downloaded from this particular file.

  • Am confused on how to select several files not in order

    Everywhere where he talked about Windows, books, Web sites, maybe tv shows all say the same thing when you try to select several files not in order. So I told you must hold the Ctrl key and select your files.

    The problem is sometiomes all files I've selected - they are re-copied.

    So if I have ten files, I'm now twenty years old. Can someone explain the best thing ion theworld is so hard to undersrtand? I mean, what does make these files to work as I want it to work. When seloecting files with the cntrl key just seems to increase my workload.

    Everywhere where he talked about Windows, books, Web sites, maybe tv shows all say the same thing when you try to select several files not in order. So I told you must hold the Ctrl key and select your files.

    The problem is sometiomes all files I've selected - they are re-copied.

    So if I have ten files, I'm now twenty years old. Can someone explain the best thing ion theworld is so hard to undersrtand? I mean, what does make these files to work as I want it to work. When seloecting files with the cntrl key just seems to increase my workload.

    Hello

    This a problem running.

    What happens is that when you select multiple files, you select one of the files and the mouse is moved, even slightly, when you release the mouse button, all the selected files will be copied to the same folder. You must be very careful not to move the mouse when you select files.

    Concerning

  • How batch edit several files to add images on each page

    Hello

    I have pdf files (about 1000) and all of them have several files. Is it possible using Acrobat DC (grammatically or using a function or tool) I can change everything in batch to have an image at the bottom of each page?

    The same image on each page in each file? If so, you can use the command Add watermark in an action brought in Acrobat Pro to achieve this.

  • How to open several files in ACR without bridge

    Is there a way? but not a single file, several files at once.
    Is it possible to open LR as bridge? (Some may wonder why I want to open if I use LR because ACR is similar to LR)

    There is no provision to do so. You are right, however. You can select multiple images in Lightroom and apply the corrections here. But when images to Photoshop Lightroom, Camera Raw only serves to interpret the Lightroom adjustments. Camera Raw itself does not open. Of course, you can open as smart objects. But only allow you to take individual images in Camera Raw.

  • How can I move files to memory stick using Vista

    Can anyone throw any light on my new problem.

    I use Windows Vista Home on my Toshiba Satellite 350 and I'm trying to save a file on memory stick.
    I find the right file and click on 'send to removable disk '.

    I then get an "Item not found" box that contains the message, "

    "Could not find this point, this point is no longer in C:\Users\Desktop.
    "I (or any place seeking) check the location of the elements, and then try again.
    I checked the site and I have the right pair.

    I tried several times with different types of files/places and I get a similar message whenever I try to move the file to anywhere, not only the memory stick

    I tried dragging the files to the box and get the same message, copy and paste do not work I still get the same message?

    Anything I'm doing wrong?

    Are you kidding me?
    You n t know how copy/move the files on the other machine?

    You must mark the file, and then press CTRL + X (shortened for CUP) then go on the memory stick and open it. Press CTRL + V (paste).

    All that s!

  • How to move a file to the rear using the Terminal

    Hello world

    I just recently started to learn how to use the terminal in OS X I learned how to move files from one directory to another, but I don't know how to move a file back again. Here is an example:

    (I'm already in the Desktop directory) In my office, I have a folder named "music" and a file called "algo.rtf". In order to move the "algo.rtf" file in the "music" folder, I type the following command: "musica algo.rtf mv / '. That works perfectly fine, when I check, the file is now in the new folder.

    But what happens if I want to move the file "algo.rtf" which is now in "musica" on the desktop? I can't understand. I tried the following:

    'cd musica' (so now I'm in the folder where the file is) and from there I typed: "mv algo.rtf Desktop /" (but then it is said; no such directory not found)

    I understand that he says no "found" because it is looking for a folder named "Desktop" in the folder named "music" and this is why it does not work.

    But that still doesn't help me much because I still don't know how to bring it back to "Desktop". If anyone knows how to do this, I would be very happy for your response!

    Thank you.

    Use:

    MV algo.rtf...

    (140623)

  • How can I add files imported into sequences using ExtendScript connection of Premiere Pro?

    I really want to know the answer to this... I'm trying to create a script (in ExtendScript for Premiere Pro) that will load into the specified video files, attach them to the specified start and stop time, place it in a sequence and then export the resulting film.

    I understand that Adobe has no official documentation on the scripts for Premiere Pro, so I worked from the data (in the ExtendScript Toolkit or ESTK) browser and a collection of handy references I found to links like this:

    http://WEBCACHE.googleusercontent.com/search?q=cache:http://cssdk.adobesites.com/SDK/2.1/d ocs/WebHelp/references/csawlib/com/adobe/premiere/App.html

    (You can replace the 'App' with other class names, but they must always be properly capitalized, as a 'Project' or 'TrackCollection'. Pages list properties and methods to the classes, and are the only place where I was able to find what kind of parameters/arguments methods expect.)

    I loaded correctly in the CSV file that specifies the information required. I also know how to import video files and create a new sequence (as explained here: http://forums.adobe.com/thread/1177191). The pain that I am experiencing now is to get the imported files properly cut and placed in the sequence. (I see that the activeSequence has methods like setInPoint and setOutPoint, but that doesn't seem to translate into the correct trimming to export).

    Here is my code (with comments to show the flow of the global script):

    #target premierepro var myDir = "G:\\directoryWithVideoFiles\\"; // defined "indexOf" subfunction here // ***** begin main body of script ***** // (dataRuns has fields runName, startVideo, startTime, stopVideo, stopTime) // Import video files listed in dataRuns var vidFiles = new Array; for (i=0; i<dataRuns.length; i++) { if (indexOf.call(vidFiles,myDir + dataRuns[i].startVideo + '.MPG') == -1) { vidFiles.push(myDir + dataRuns[i].startVideo + '.MPG'); } if (indexOf.call(vidFiles,myDir + dataRuns[i].stopVideo + '.MPG') == -1) { vidFiles.push(myDir + dataRuns[i].stopVideo + '.MPG'); } app.project.createNewSequence(dataRuns[i].runName,''); } app.project.importFiles(vidFiles); // at this point, for each run (called runName) I need to: // - take a clip of the startVideo from the startTime to the end of the video // - take a clip of the stopVideo from the start of the video to the stopTime // - put clip 1 at the beginning of the associated sequence, & clip 2 right after // - export the sequence as a new video file

    The example PProPanel shows how to import files and make the sequences. The missing part (from above) = there is no supported method for adding clips to sequences.

    Tim, if you would, please write to me at my day job [b b b at adobe dot com] an overview of the workflow (s) you wish to support, and I can better frame.

  • How to send a file to the server using the flash?.

    How can I send a photo for example to set up a virtual catalog and preview my album?
    I use a simple form with 5 fields of transmission and the small image after submission.

    If you want to download a file to your server using flash, use the Flash filereference class (and its upload() method) and backend scripts.

  • How to load several files DBF table 1 target using only 1 interface?

    Hello, I am a beginner in ODI and I have a problem.

    I have several DBF / Foxpro files that is stored in a directory like this:
    2010_10/account.dbf
    2010_11/account.dbf

    All DBF files have the same structure, but stored in a different folder (the folder name is < year > _ < month >)

    I managed to create an interface to load a DBF unique for the target table and the source table is hardcoded in the interface. Ideally, the interface will take place once a month.

    How can I use the same interface to load other DBF files?

    I know, if the data source is a text file, you can link the resource name to a variable, and the variable can be set to a file name. But I can't do since I use a JDBC driver to connect to the DBF file.

    Any help will be appreciated

    Hello

    I have no idea on the DBF files, yet...

    What is create a variable to build the 'months' and then pass this variable to OdiFileCopy, move this file to a specific directory. Then run your interface to load this file into your database. Once the work is successful, you can delete the file using OdiFileDelete (optional)

    Thank you
    Fati

Maybe you are looking for