using ZipRenditionManagement

Hello world
I created a project that add document to the server to the AAU helps CRMI.
I use CHECKIN_UNIVERSAL to checkin document to the server.
But when I need to add attachments using RIDC, I can't find any API to do.
I looked and someone said that ZipRenditionManagement component can help, but I can't find more information.

Can someone give me example?

THX

Hello

Try the following code snippet and see if it works:

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", "D:\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.

I hope this helps.

Thank you
Srinath

Published by: Srinath Menon on 4 February 2013 12:15

Tags: Fusion Middleware

Similar Questions

  • 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

  • Using the markup with iPad Pro

    I open a pdf file in apple mail and used the markup and saved. It is not in the project and seems gone. Help?

    Check your iBooks app.

  • I have a lg 4 k tv (40 "40UH630V TV LG ULTRA HD 4 K) with HDMI 2. 0 and if I buy apple tv 4 can be used with HDMI 2. 0 port or do I HDMI 3 port to use this? Please help me

    I have a lg 4 k tv (40 "40UH630V TV LG ULTRA HD 4 K) with HDMI 2. 0 and if I buy apple tv 4 can be used with HDMI 2. 0 port or do I HDMI 3 port to use this? Please help me

    You can use it with your TV.

  • Why is apple tv (4th Gen) using subnet different comcast

    I need to figure out if there is anything special/different regaurding how ATV (4th Gen) made the resolution DNS when wired to a Comcast cable modem only (no wifi and no router)?  I notice that my ATV selects a different subnet when ATV is set automatically resolve IP and DNS.  Example of my Dell PC Tower and Sony laptop automatically use a subnet of 255.255.255.0, but ATV uses the example below:

    67.166.208.26

    255.255.252.0

    router 67.166.208.1

    ATV works great just need to know why to solve network problems not related to my home office network and at home?

    Hello. You say there is no router, but I guess that the Comcast modem is also a router and DHCP server. Are you using IPv6? You use a static IP address?

  • Verification request uses the wrong place

    I can't connect my mac to iCloud after changing my password.  Request for verification on the phone uses the wrong place.  It is safe to accept access?

    What do you mean by 'place' in 'request for verification on the phone uses the wrong place?

    You use two factor authorization?

  • Why are the 'minor' photos in the new iMac with K5 of the retina (using photoshop)?

    In English

    Hello.

    I met a 'problem' with the new iMac (retina 5K, 27 ", at the end of 2015).

    When I edit pictures in Photoshop, I can't get the images blown up big enough and the fillings of slide show they do not rule out even at a size of 72 dpi and with dimensions of 3000 x 2000.

    What don't I understand?

    Help would be so nice, thank you in advance.

    By Bjarne.

    PA Dansk

    Hej.

    JEG er pa stodt and 'problem' med den nyeste iMac (retina 5K, 27 ', ultimo 2015).

    NAR jeg redigerer billeder I Photoshop kan jeg ikke fa billederne blaest stort nok op og ved diasshow fylder ikke skaermen ud ved en str pa 72 dpi library pa med og selv 3000 x 2000.

    Hvad er det jeg ikke forstar?

    Tants city limit his BRA, pa forhand tak.

    By Bjarne.

    What version of the operating system and Photos do you use? Exactly how do you get pictures of Photos in Photoshop?

    LN

  • Photos shared on iOS devices use data?

    I have created a number of shared albums in the Photos on my Mac and iOS devices.

    When other people visit then shared albums, what data are used to access?

    I invited a person to see a shared album which had mobile data off on their iOS device and no wifi. However, they were able to access a shared album which surprised me because I assume they would have need of mobile data or wifi.

    Shared albums are stored locally on the iOS devices. Photos downloads smaller and optimized versions pictures of an iPhone. iCloud, sharing photos - Apple Support

    Once shared, pictures taken with your standard devices, iOS devices or cameras have up to 2048 pixels on the long edge. Panoramic photos can be up to 5400 pixels wide.

  • Using quartiles in figures

    I'm trying to understand the first and third quartile among a long list of different values, using numbers. I already did once in Excel, but for some reason I can't get the same result in numbers. In Excel, my first quartile is 40%, but when I do it with the same exact values in numbers, I get 41%. When I try to find the third quartile, the result is 57% in Excel and 55% in number. I copied the list of values in Excel, so I do not know there is no error with the missing numbers or something like that. The list has 80 values in there, but that shouldn't really matter. Would be great if someone knew what happens with that!

    Maybe something is wrong?

    Maybe something is different?

    Ok.  Joking apart.  We cannot help if you do not provide the details (as data).  Paste a copy of the data (select data, copy, click in this forum, paste) and screenshots of the results in Excel.  After the formulas that you use in Excel and you use number.

  • The use of the battery has increased since the update to ios 10. Also, why can not disable the voice command. It's the most boring on the new update.

    The use of the battery has increased since the update to ios 10. Also, why can not disable the voice command. It's the most boring on the new update.

    Depending on what you mean by "voice command", either:

    Settings / general / accessibility / VoiceOver / OFF, or

    Settings / Siri / OFF

    As for your use of the battery, you can check what app pulls most of its use in the settings / battery.  A new version of the app is sometimes problematic, not necessarily iOS or iPhone.  If you see a unusual % of use of a particular application, or force-to leave it removal/reinstalling it or remove it until an update comes.  If anything seems unusual, it might be a problematic installation of iOS, in which case, you could backup your iPhone and restore it:

    Restore your iPhone, iPad or iPod touch from a backup - Apple Support

  • Cannot use the search feature on the App Store

    Hello

    I have a problem with the search feature in the App Store. This problem only occurs when connected with my Apple ID, everything in the App Store itself works very well. Only when it comes to the search I get an error "the App Store is temporarily unavailable. Try again later. I tried all methods I found online and on Apple's site, including: restarting the unit, check the time and date, iOS is updated, various wireless as well as the 4 G network, signing in and out of the account and App Store refresh method. Unfortunately, nothing has worked so far.

    I am currently using iPhone 5s device

    iOS 10.0.2

    Same thing here.

    But if I register the App Store, the search works very well.

    There is clearly something wrong with the App Store.

  • 8gig of ram will be enough to use windows?

    I'm about to buy a macbook pro. This is the model of 512 gigabytes, 3.1 GHz, 8 GB ram. I want to only install windows to play spintires and that would be it. If I install windows and steam then spin tires it will the macbook running slower?

    rotating the tires to the requirements

    CPU: 2.5 GHz Dual Core
    RAM: 4 GB

    If you install Windows using Boot Camp Windows wizard will use all your computer RAM, 8 GB, when you start in Windows. It's more than enough RAM for Windows and a spin the requirements that you have posted.

    If you boot into OS x, OSX will use all 8 GB of RAM.

  • Use the old MBP as disk hard wi - fi?

    Is it possible to use my MBP 2011 as an external hard drive access via wifi with my new MBP mid-2015?

    Otherwise, I can buy an external hard drive and transfer everything on it; How I linking to our wifi router, and I can buy a regular drive (LaCie is what I've always bought in the past).

    Thanks for any help.

    Get an external drive enclosure usb, remove it from the old computer and put the old drive in the case, connect the box/HDD to the usb port of your router. Then, connect to the drive using wifi to your router.

  • Using terminal to empty trash

    I moved my Gallery of Photos on an external drive, changed the location of the external library and deleted my copy on the hard disk. I tried to empty the trash, but he just hung. After looking for an answer, I found a post that suggested using the terminal with sudo rm - rf ~ /. Trash command. Typed and entered password and press return. Some sort of message is displayed after the file has been deleted in the Terminal or how do I know if the procedure is finished and I can restart my Mac. Thank you!

    If you get the prompt to enter another command, it is complete.

    (145132)

  • Removed all icloud photo library, 1.9 GB still in use

    I deleted all of my photo, My Photo Stream etc. flows including shared library iCloud.

    I have also ensured that the recently deleted album is empty. I disabled iCloud photo library on each device. It should not be a trace of left.

    However, I always told my library back 1.9 GB of my storage iCloud. There is an option to turn it off completely but it will take 30 days, which is a long wait when I don't know if it will work.

    Any ideas that he could be taking all this space? Or if there is a way to reset all empty without waiting for 30 days?

    I use the latest version of iOS on my iPad and the iPhone, and the El Capitan on my Mac if that helps.

    Have you tried to log in to your iCloud account, then sign in again?

Maybe you are looking for

  • Satellite L30-134, where can I get a replacement disk restore system?

    I have an old L30 and have totally messed up, it runs very slowly and I was advised to do a system restore from the original disc, which I can't find, where I can get a new one for Windows XP Home edition - I still the sticker with the code produced

  • DLL, error when quiting LabVIEW 2009 on WIN7

    Hello I reduced the problem in my EXE application code following joint (see attachment). Somehow the DLL (in User32.dll) calls create a problem when quiting Labview 2009. The Application remains resident in the bar of Windows taskbar and after a whil

  • Windows 2003: Newspapers erased during the update of windows

    Hi all is it possible that during an update of windows, newspapers evt files becomes permitted by the system?On a Windows 2003 server, I get a message in the security log, saying that the user SYSTEMhas authorized the security log. The timestamp coin

  • VHS to DVD on Windows DVD Maker

    Should which device I plug my DVD player to the computer to convert my movies at home using Windows DVD Maker? I have Windows Vista and you may not use the answer to another answer which requires Windows 2000 or XP. I thought to buy a video capture d

  • Search for recovery disc for an HP Pavilion dv6000

    HP has more of them. My hard drive crashed and nothing could be recovered. I am replacing the hard drive and need the recovery discs, which I lost, to complete the repair. Other biting teeth and buy another laptop, everything gives to think? {Deleted