WebCerver Content: how to reproduce a big folder structure in one shot?

Hello everybody,
I'm a newbie on this tool and I need to get if, given a complex share that contains several nested folders,
I can import the whole folders structure and its content accordingly and in such a way to replicate the structure with its metadata.
Are there some kind of APIs to make such a custom and massive copy/checkin of folders and files?
I would appreciate help.

It is called RIDC API.
Good luck to find everything you need in the documentation. This is a nightmare, too much stuff for nothing.
Start with these documents :
Developer's Guide for Remote Intradoc Client (RIDC)
http://docs.oracle.com/cd/E14571_01/doc.1111/e16819/toc.htm
Oracle WebCenter Content Services Reference Guide
http://docs.oracle.com/cd/E28389_01/doc.1111/e11011/toc.htm
Here is how you can create folders :
public class RIDCBean {
IdcClientManager man = null;
IdcClient idcClient = null;
IdcContext idcContext = null;
public RIDCBean() {
man = new IdcClientManager();
try {
idcClient = man.createClient("idc://localhost:4444"); // ucm server connection
idcContext = new IdcContext("weblogic", "welcome1"); // ucm credentials
} catch (IdcClientException e) {
// log4j...
System.out.println(e.getMessage());
     private void createPublicFolder(String folderName, String parentFolderName, String comment) {
          try {
               DataBinder dbinder = idcClient.createBinder();
               dbinder.putLocal("IdcService", "COLLECTION_ADD");
               dbinder.putLocal("dCollectionName", folderName);
               dbinder.putLocal("dCollectionOwner", idcContext.getUser());
               dbinder.putLocal("dDocTitle", folderName);
               dbinder.putLocal("dSecurityGroup", "Public");
               dbinder.putLocal("hasParentCollectionID", "true");
               dbinder.putLocal("dParentCollectionID", getFolderCollectionId(parentFolderName));
               dbinder.putLocal("ignoreMaxFolderLimit", "");
               dbinder.putLocal("dCollectionCreator", "weblogic"); // if user is admin, can specify other user
               dbinder.putLocal("dCollectionModifier", "weblogic"); // if user is admin, can specify other user
               dbinder.putLocal("dDocAuthor", "weblogic"); // if user is admin, can specify other user
               dbinder.putLocal("xComments", comment);
               idcClient.sendRequest(idcContext, dbinder);
          } catch (Exception e) {
               // log4j...
               System.out.println(e.getMessage());
}

Similar Messages

  • I wanted to transfer 4000  photos from my PC to my IPOD and IPAD, I did this but I thought the images would be still in their folders and not in an individual format, how do I retain the folder structure and transfer?

    I transferred my photos from my PC to my IPOD and IPAD, c. 4000. I thought they would be transferred in the existing folders, all I got was 4000 individual photos, how do I retain the folder structure?

    If you are syncing a number of folders from your computer then each folder should get it's own album on the iPad (http://support.apple.com/kb/HT4236) - I assume that you've touched the 'Albums' button at the top of the Photos app so as to view them by album, and not just the Photos 'button'.
    You could try closing the Photos app completely and then re-opening it : from the home screen (i.e. not with Photos 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Photos app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    Another option is to try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • How we can import an IDOC structure from one SAP system to another w/o ALE

    Hi Gurus,
    How we can import an IDOC structure from one SAP system to another? we're not able to use ALE tech, these two sap systems are isolated.
    Any response will be awarded!
    Thanks a lot.
    Samson

    hi,
    1.One is by change pointer concept i.e by executing the RBDMIDOC.We can generate the idoc and automatically to the inbound System.
    2.By executable program also like bd10 and bd11.
    Regards,
    SHIVA(reward if helpful).

  • How we can import an IDOC structure from one SAP system to another

    Hi Gurus,
    How we can import an IDOC structure from one SAP system to another? If we're using ALE, how can we do that? Please can someone give me the process and necessary t codes.
    Any response will be awarded!
    Thanks a lot.
    Samson

    hi!
    Define the logical system names in both the systems.
    Logical system names :SAP001
    SAP002
    SAP001 FOR 001 CLIENT
    SAP002 FOR 002 CLIENT
    These two logical system definitions should be present in both the systems.
    Assign the logical systems to the client. (in both the systems)
    Assign SAP001 to 001 CLIENT
    Assign SAP002 to 002 CLIENT
    you can See these in transaction SALE.
    After this define the rfc DESTINATION IN sm59. (in both the systems)
    In 001 client create the RFC destination name SAP002
    In the tab log on security, give the user name and password and client of the 002 client and save it.
    Similarly do the reverse in the 002 Client.
    In 001 client create the port.(Transaction WE21)
    Specify the RFC destination name as SAP002.
    Now you can define the ports, (both the systems)
    Create the partner profile for partner(ie gve logical system name of partner) , so give as SAP002.
    partner profile in both the systems.
    Now create the distribution model in BD64 and goto edit>model view>distribute.
    The same model view will be visible n distributed to the partner system also..which in this case is sap002.
    U may trigger the idoc from we19 and chk its status in we05.
    Please let me know if you need further info on this.

  • Can you tell me how to copy all staff assignments(structure) in one to anot

    Dear Experts,
        can you tell me how to copy all staff assignments(structure) in one organization unit to another organization unit ?
    Looking forward to your reply.
    Thanks in advance.
    Best Regards,
    Merry

    RHCOPY00
    use this report to copy the objects
    even though if u are maintaint he staff assingments the same will be displayed in other types of the OM Module like expertmode simple maintainence etc the only thing is  the method woudl be changeing

  • How to encrypt a big folder without using disk utility method ?

    How to encrypt  big folder
    suck as 100 GB
    without using disk utility method ??

    Click the partioned disk > Hit Erase Tab  >
    Under "Format" Select "MAC OS Extended Journaled, Encrypted
    Click "Erase"
    Set Password ..
    Done

  • How do i get my folder structure in Lightroom to replicate my hard drive folder structure?

    My issues is that post-import from Aperture, my folder structure in Lightroom does not match my folder structure on my hard-drive.  In particular, rather than be structured as in my hard-drive:
    2015 (folder)
    -> 2015-01-30 (sub folder)
    -> 2015-02-15 (sub folder)
    -> 2015-03-03 (sub folder)
    All of the photo folders are listed individually as:
    2015-01-30
    2015-02-15
    2015-03-03
    In addition, a number of folders have been created in the form 01a2a201aff9c8c684928629ea41221c0fa5930ab7 where no folder exists on my hard drive in this form and the image contains the right date meta data.
    As I've got photos dating back to 2005 and a lot of different days taking photos, this is making the folders view unmanageable.
    I completed the Aperture migration in two stages (as i did not have sufficient space to replicate images in move across to Lightroom)
    1.  Moved Aperture original images from being References to Managed (with the file structure above)
    2.  Then used the Lightroom plug in to import the library from Aperture (which has successfully copied across meta data and my folder structure + edits from Aperture)
    Does anyone know how to fix this issue?  In particular:
    1) Adding in 2015 folder level to structure?
    2) Removing all off the 01a2a201aff9c8c684928629ea41221c0fa5930ab7 folders?
    Many thanks in advance,
    Joe

    In the "folders" pane, right-click on the folder you see and select "show parent folder". Repeat as needed.

  • How can I make a folder structure for both PSE and Premiere Elements?

    I have recently bought bundled PSE 10 and Prem Elements 10 ... (but have been using PSE6 for years)
    I have lots of jpeg photos on an external drive in folders with a heirarchical structure eg. Pictures ... Friends ... 2011 ... 2011_12_02_Margate_seagulls.jpg  I also have loads of photos that are simply there waiting to be sorted and are in their native format e.g PIC_6120.jpg     Additionally I have .MOV files dumped from my JVC standard def camera some of which are custom named, others are left as is.  I now own a hi-def lumix which takes great jpgs and also video MTS files. After lots of searching on the net for the best way to get all this organised I am at a standstill. I feel that I need an external folder system (ie one that does not rely 100% on adobe and its categotries and tags) because I have had catastropic losses when using earlier photoshop progs. I also see the benefit of using tags. So...
    Is there a simple (and best) way to order my photos and hi-def video while taking into account content I already have shot/videod?  I am happy to hear reasons and see examples why I should trust PSE/Prem E - but I would also like to see if it makes sense to use folders. Ideally i would love a practical folder structuring method that incorporates both video and still content. I have posted here because it is important I organise my video better and have a flexible system that allows for drafts and reworking my Hi-def content.
    I have tried to find the info but it is so piecemeal and I have faith in the people on here ... Any links and advice would be much appreciated

    In generic terms there are three methods of filing just about anything:
    Structured by event
    Structured by type
    Unstructured
    Event might be occasion or date or a specific project. For this type of structure you would store all your assets related to that event, regardless of whether it is still, image or audio, in one place.
    Type would typically be by the type of asset. All your videos in one place, stills in another, audio in another  etc... In business for example in the eighties (when personal computing became prevalent in the workplace) staff would religiously have all their word processor documents in one place, spreadsheets in another, powerpoints in yet another etc.... Dreadfully inefficient.
    Unstructured would be a case of storing things wherever you liked and accessing them via tags or albums - but you've said you want to avoid this.
    Personally I let the application store things according to the defaults for the different import types but then tag them. Essentially I follow the 'unstructured' style. For anything major I create a project directory and move all the project assets into it (i.e. selective structure by event).
    If you search the Tips & Tricks forum I think Bill Hunt (who does this stuff for a living) describes his structured folder flow in great detail.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children

  • How can I upload multiple files or whole folder structures in one go to the Cloud?

    How can I upload multiple files or whole folder structures to the Cloud in one go? Uploading lots of files singularly does not help my workflow.
    All help is much appreciated.
    Paul.

    Hi,
    Uploading multiple files is browser specific.
    Internet explorer won't allow to select and upload multiple files on the cloud.
    If you want to upload multiple files then you have to login to Cretaive cloud using Firefox or Chrome web browser, then you can select multiple files in the Browse window to upload.
    You can't upload folders directly.
    Thanks,
    Baljeet

  • How can I "see" the folder structure behind the iPhoto-library?

    Within iPhoto (iLife 8) I can right click on a picture and, through Show File, find it in its respective subfolder. BUT, when I go to finder and highlight the iPhoto library in Pictures, I only get information about the total library (size, location etc,) but not its underlying folder and subfolder structure(as was customary in iPhoto6). What changes in settings do I need to make to show the folder-structure?
    Thanks in advance
    Veit

    Viet
    What changes in settings do I need to make to show the folder-structure?
    None, you can't do it.
    With iPhoto 7 (iLife 08) the old iPhoto Library Folder is now a Unix Style Package File. The change was made to the format of the iPhoto library because many users were inadvertently corrupting their library by browsing through it with other software or making changes in it themselves. You can look inside there simply by right-clicking on the iPhoto Library and going 'Show Package Contents'.
    However, It is strongly advised that you do not move, change or in anyway alter things in the iPhoto Library Folder as this can cause the application to fail and even lead to data loss. There are no user serviceable parts in the iPhoto Library.
    There are many, many ways to access your files in iPhoto:
    For 10.5 users: You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Apple-Click for selecting multiple pics.
    Uploaded with plasq's Skitch!
    To upload to a site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
    This is also true for emailing with Web-based services. If you're using Gmail you can use THIS
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    Or, if you want to access the files with iPhoto not running, then create a Media Browser using Automator (takes about 10 seconds) or use THIS
    Other options include:
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.
    Regards
    TD

  • How to create Aperture-like folder structure for referenced files?

    Hello,
    I've just been exploring the "Relocate Masters for Project" option to take a project's master out of the Library. I like the option to (say) create subfolders at the destination based on image year, month, day.
    My question is whether there is any way to leverage this capability through an Automator function? The following is the type of workflow I'm trying to achieve upon execution of the Automator or Apple Script:
    1. Select source folder (e.g., SD Card)
    2. New or Existing Project? (if new, enter name. If existing, select from list)
    3. Import into Library or Reference?
    4. If Reference, select destination folder. Present option to create subfolders and option (e.g., image year, month, day).
    I have seen the Hot Folder Import script (http://automator.us/aperture/example-04.html). It seems to do 1-3, but not 4.
    Any help would be appreciated.
    Thanks
    Tony.

    It is a problem I have thought over at length and still feel what I use could be better. You are doing it the right way around researching before you start, as moving files once things are underway can course real problems. One issue is the use of similar assets across site(s), and version control if you have multiple versions of the same asset.
    Can not say I have built a site(s) of that size but would recommend putting together a flow chart to help visualise the structure and find out better ways organising (works for me). Good luck, post back with your solution.

  • How to update Acrobat to current version in one shot?

    We use Acrobat here at work on several computers, whenever I have to install it on a machine I have to spend hours getting it up to date to the current version because I have to apply each update one at a time.  Is there a cummulative update that would bring any version of Acrobat up to current?
    Thanks

    Admins typically chain them together and use an AIP or Bootstrapper. The details depend on your version as 9.x and 10x are radically different.
    Start with the documentation. Admin guide is here: http://www.adobe.com/go/acrobatitinfo.
    Ben

  • How to get the folder structure using Sevlets

    Hi....
    I have to retrieve the directory structure on the server and display it
    to the user. Once the user selects a folder from the tree, the files
    have to load on a different pane. Of course the folder structure could
    change on the server if any folder or file is added. In short, i have
    to get something like the windows file explorer.Also I need to get the path to a particular folder in the server. Is it possible to do
    this with using servlets. If we can do this using
    servlets, how can i retrieve the folder structure and send it to the
    user interface?
    Can somebody help me to do this please.....
    Thanks!

    I need to get the path to a particular folder in the
    server. Is it possible to do
    this with using servlets.You can use:
    String thePath = getServletContext().getRealPath("/WEB-INF/someDir/somefile");
    If we can do this using
    servlets, how can i retrieve the folder structure and
    send it to the
    user interface?You could try using a File object and its method listFiles() or some of its other methods.

  • How can  change the folder structure in Bex Analyser to match the Web

    Hi Experts,
    When I create a report using the Web Analyser and save it in My Portfolio or Bex Portfolio, I can't find the report (or folders) in Bex Analyser.
    How Can i change the folder structure in Bex Analyser to match the Web Analyser?

    Hi Reddy,
           As u have created reports and saved it in BEx portfolio or My portfolio it will be saved in the KM folder which is known as Knowledge management folder for the KM services such as feedback,rating etc.So u cant view them when u open in web analyzer.U can only see them when u save in favourites or the roles folders.
                              Hope this helps
                         Sunil Reddy

  • How to develop repository manager with initial folder structure

    Hi 2 all!
    I wonder if it is possible to create new repository programmatically with defined folder structure. I'm interested in solutions when repository manager is works with db or file system. Can you provide any example or tell me where can I define my structure?
    thnx

    Hi Nata!
    Basicly this task consists of two steps:
    1. Deploy a new configuration object for the repository manager
    2. Create the intial folder structure
    Step one is simple. Here is the configuration object of the repository manager for /documents. It's been exported from the KM configuration by using the standard export mechanisms. This can be included into a portal application project in Netweaver Studio.
    documents.co.xml
    <?xml version="1.0"  encoding="UTF-8" ?>
    <!-- file generated by configuration framework Jun 27, 2008 9:16:36 AM -->
    <Configurable configclass="CmRepositoryManager" owner="km.appl.rep.mgr.prjconfig">
    <property name="ro-expiry-time" value="0"></property>
    <property name="fsconttrack" value="true"></property>
    <property name="poolid" value="dbcon_wcmdb_cm"></property>
    <property name="securitymgr.aclcacheid" value="ca_rsrc_acl"></property>
    <property name="localroot"></property>
    <property name="serverfarm" value="false"></property>
    <property name="propertysearchmgr.class" value="com.sapportals.wcm.repository.manager.cm.CmPropertySearchManager"></property>
    <property name="keepVersionHistory" value="false"></property>
    <property name="securitymgr.aclcfg" value="acl_jdbc_rep"></property>
    <property name="versioning.localroot"></property>
    <property name="persistence.mode" value="db"></property>
    <property name="hidden" value="false"></property>
    <property name="fsnosync" value="false"></property>
    <property name="cacheid.versionhistory"></property>
    <property name="prefix" value="/documents"></property>
    <property name="fsContentCacheMaxEntries" value="-1"></property>
    <property name="fsContentCache"></property>
    <property name="name" value="documents"></property>
    <property name="cacheid.content"></property>
    <property name="compressLimit" value="-1"></property>
    <property name="cacheid.foldercontent"></property>
    <property name="cacheid.properties"></property>
    <property name="active" value="true"></property>
    <property name="cacheid.rid"></property>
    <property name="ignorerootdisplayname" value="false"></property>
    <property name="class" value="com.sapportals.wcm.repository.manager.cm.CmRepositoryManager"></property>
    <property name="cclist"></property>
    <property name="intLinksDefaultDynamic" value="true"></property>
    <property name="contentmgr.class" value="com.sapportals.wcm.repository.manager.cm.CmNamespaceAndContentManager"></property>
    <property name="cacheid.documents"></property>
    <property name="versioningmgr.class" value="com.sapportals.wcm.repository.manager.cm.CmVersioningManager"></property>
    <property name="securitymgr.w2kcfg.systemid"></property>
    <property name="lockmgr.class" value="com.sapportals.wcm.repository.manager.cm.CmLockManager"></property>
    <property name="cacheid.locks"></property>
    <property name="securitymgr.class"></property>
    <property name="persistence.db.instance-id" value="documents"></property>
    <property name="cacheid" value="ca_cm"></property>
    <property name="namespacemgr.class" value="com.sapportals.wcm.repository.manager.cm.CmNamespaceAndContentManager"></property>
    <property name="autoversioning" value="false"></property>
    <property name="description"></property>
    <property name="securitymgr.ref" value="AclSecurityManager"></property>
    <property name="fsContentCacheLimit" value="100"></property>
    <property name="propertymgr.class" value="com.sapportals.wcm.repository.manager.cm.CmPropertyManager"></property>
    <property name="services" value="accessstatistic, com.dkv.DKVApprovalAndTranslation, com.dkv.jobtool.repository.JobToolCreationService, comment, discussion, feedback, layout, personalnote, properties, rating, statemngt, subscription, svc_acl, tbp"></property>
    <property name="sendevents" value="true"></property>
    </Configurable>
    This is a DB repository. The config object for a filesystem repository might differ.
    Step 2, the creation of the initial file structure may be done with in two different ways:
    a) Include a Repository Service with your repository, which creates the folder structure on the first access of your repository.
    b) Include a Portal app which has to be called once to create the folder structure.
    For more info about using the API to create km folders take at look at this:
    https://www.sdn.sap.com/irj/sdn/thread?threadID=933638&messageID=5663711#5663711
    Cheers,
      Jürgen

Maybe you are looking for

  • Want to hide or mod FCP 6 Splash Screen

    Just want to hide the splash screen on my FCP system. I rent it to indy projects and I want to protect my serial. How can I access the Splash Screen Image? I've been able to mod the splash screen on all the other apps on the rental system but can not

  • How do I clone an external disk using CCC?

    I have a MacBook Air and because it has only 256 GB and I need about three times that space for storing movies, document files etc., I use an external hard disk to keep these files on. I formatted this disk using Mac Extended Journal but I did not pu

  • Creating a Request via OIM 11g API

    I'm trying to create a request in OIM using the API. I found this post ( OIM 11g - Setting Process Form Data through Request API ) which has the code to do it but I'm getting an error: Here is what I have OIMClient client = getOIMClient(url, username

  • Trying to make changes in Terminal but can't get past the password request

    I am trying to run Piano Wizard from a managed accout but I get this: Data.pwf missing I found these FIX instructions on their web site but I can't get it to work.... METHOD1: If you know the password of the owner account of the machine. Please follo

  • Recruiter dropdown in Requisition Request (E-Recruiting)

    Hi Experts, I'm facing trouble when click dropdown list for recruiter in PDF form for create requisition in e-recruiting module. In Development system the recruiter field is filled automatically and the dropdown is working. But how may the error happ