Need more information on Remote Intradoc Client (RIDC)
bensterOct 24 2012 — edited Oct 30 2012Hi guys,
First, let me say it is a real pleasure to try to understand your framework and other extensions you have created (sarcasm). How many pdf will I have to open before to find a good explanation... Ok enough said, it is not related to the subject. I do not want to waste your time and mine either.
Ok for a new project, I will have to create folders, upload new files, put tags on documents, all this using RIDC to connect to the UCM. I am using right now for testing purposes "Pre-Built Developer VMs" that you offer, the one that says "SOA & BPM Development VM".
I was able to create folders so far, thanks to Flavius Burca's Blog.
1) I will like to have more info on this topic, like in a Databinder, what values am I allowed to set via putLocal()? There should be a list somewhere in one of your documents (Oracle Guides), there a so many of them seriously...
Code example :
DataBinder binder = idcClient.createBinder();
binder.putLocal("IdcService", "COLLECTION_INFO");
binder.putLocal("hasCollectionPath", "true");
binder.putLocal("dCollectionPath", "/Contribution Folders/ParentFolderName");
DataBinder searchFolder = idcClient.sendRequest(idcContext, binder).getResponseAsBinder();
DataBinder dbinder = idcClient.createBinder();
dbinder.putLocal("IdcService", "COLLECTION_ADD");
dbinder.putLocal("dCollectionName", "NewFolderName");
dbinder.putLocal("dCollectionOwner", idcContext.getUser());
dbinder.putLocal("dDocTitle", "NewFolderName");
dbinder.putLocal("dSecurityGroup", "Public");
dbinder.putLocal("hasParentCollectionID", "true");
dbinder.putLocal("dParentCollectionID", searchFolder.getLocal("dCollectionID"));
dbinder.putLocal("ignoreMaxFolderLimit", "");
dbinder.putLocal("dCollectionCreator", "weblogic");
dbinder.putLocal("dCollectionModifier", "weblogic");
dbinder.putLocal("dDocAuthor", "weblogic");
idcClient.sendRequest(idcContext, dbinder);
2) Also, my biggest concern, I do not find anywhere how to assign a tag to a UCM document programmatically. Please provide me information on that as well.
Thanks a lot everyone for your time.