Tagged: Stellent Toggle Comment Threads | Keyboard Shortcuts

  • Pandyan Ramar 10:53 pm on October 26, 2011 Permalink | Reply
    Tags: Archiver, Folder Structure Archiver, Migrate Content, Stellent,   

    UCM – Migrating folder and its contents 

    Folders are an easy way to let users organize content stored in Content Server. Though folders are virtual, it gives a clean presentation of the content in a familiar user interface for users. Use of WebDAV further simplifies access and update of content.

    If you are using folders, while migrating contents from one Content Server to another the component “Folder Structure Archive” can be of great help.

    Folder Structure Archive: The Folder Structure Archive component enables an administrator to configure a Content Server Archive to archive the folder structure as well as its associated content. The structure of the folders is archived via database table replication.

    This component allows you to browse and select the folder from the following screen (Administration > Folder Archive Configuration) and create an export archive.

    You can then use the Admin Applet Archiver to export the collection to a target collection if you have connectivity between the two content servers. If your content servers are in different network, you can zip or tar the collection file, usually at the following location


    and copy it to the same location in the target content server. Then you can launch the Admin Applet Archiver in the target content server and import the folder and its content.

    Note: If you dont want all the revisions (to save space), before exporting change the revision selection settings as below:

    Admin Applet > Archiver > ¬†Your_Collection_Name > Export Data > Content : Edit : Query Options – Select “Latest Revision”

    You can notice that since the Folder Structure Archiver archives content through database replication, the Query Expression is empty. Explore the “Table” tab to see collection that is being exported.

    This feature can be used to migrate content from a 10G to a 11G UCM environments also. Make sure you have migrated the security configurations and other required custom meta-data you have defined using the Config Migration Admin prior to migrating the content.

    • vivek lal 6:53 am on September 3, 2012 Permalink | Reply

      Quite useful..

    • Senuke XCr 6:51 pm on November 26, 2012 Permalink | Reply

      At this time I am ready to do my breakfast, once having my breakfast
      coming yet again to read further news.

    • Arun 2:40 pm on January 7, 2013 Permalink | Reply

      I have an issue with UCM stellent migration. I did the first push of content from one server to another using the following steps

      Import the folder Archive
      Site Studiio Upload/Restore.

      I want to do increment update to the target system.
      Contents in existing folders are getting updated. But new folders are not being created when i do this.

      I cant do the import folder archive as it deletes all the contents.

      Any help appreciated..

  • Pandyan Ramar 10:37 pm on October 25, 2011 Permalink | Reply
    Tags: Content Server, Dynamic Conversion, Java, , RIDC, Stellent, ,   

    RIDC to display Dynamically Converted content 

    Quite often customers want a quick and easy way to publish a Word document and display it as HTML in a Portal. Dynamic Converter and RIDC comes handy in such situations. After you have setup the Dynamic Converter and tested the dynamic conversion from within the Content Server, you can use simple RIDC code snippet to display the content in a WebCenter Portal page.

    First you need to import “oracle.ucm.ridc.jdev-11.1.1.zip” file manually into your JDeveloper. Then you can use the following code to build a bean to pass the content id and get the content.

    This bean takes two parameters – the first is the Content ID, the second is a boolean value indicating if the content is dynamically converted or not. If all you need is to display a regular content, pass false as the second parameter.

    package view;
    import java.io.IOException;
    import oracle.stellent.ridc.IdcClient;
    import oracle.stellent.ridc.IdcClientException;
    import oracle.stellent.ridc.IdcClientManager;
    import oracle.stellent.ridc.IdcContext;
    import oracle.stellent.ridc.model.DataBinder;
    import oracle.stellent.ridc.protocol.ServiceResponse;
    public class RIDCBean {
        private String content;
        public RIDCBean(String dDocName, boolean dynamicConversion) throws 
                                         IdcClientException, IOException {
            // Arguments needed to connect to UCM
            String idcConnectionURL;
            idcConnectionURL = "idc://mycontentserver.com:4444";
            String username;
            username = "myappid";
            String password;
            password = "myapppwd";
            // Create the IdcClient
            IdcClientManager clientManager = new IdcClientManager ();
            IdcClient client = clientManager.createClient (idcConnectionURL);
            IdcContext userContext = new IdcContext(username, password);
            // Create a new binder
            DataBinder dataBinder = client.createBinder ();
            // Retrieve the file
            if (dynamicConversion) {
              dataBinder.putLocal ("IdcService", "GET_DYNAMIC_CONVERSION");
            } else {
              dataBinder.putLocal ("IdcService", "GET_FILE");
            dataBinder.putLocal ("dDocName", dDocName);
            dataBinder.putLocal("RevisionSelectionMethod", "LatestReleased");
            ServiceResponse ridc_response;
            ridc_response = client.sendRequest (userContext, dataBinder);
            // Get the response as a string
            content = ridc_response.getResponseAsString ();
        public String getContent() {
            return content;

    Note: If the Dynamically Converted Word document had images, they will be checked-into the content server automatically by the Dynamic Converter. Based on your Dynamic Converter template, IMG tags will be generated. The IMG tags will use a URL to load these images in the converted content. This will work fine as long as your Content Server is accessible by end users. If you have your Content Server locked behind a firewall, you will have issues and need to convince the customer to have a consumption UCM server (read only) that can be opened up to users access by punching a hole in the firewall.

    • Manuel Cavazos 12:13 pm on December 7, 2011 Permalink | Reply


    • kevin Smith 12:17 pm on September 13, 2012 Permalink | Reply

      This does not work. The output from the call only returns the information on the document, not the actual HTML.

      Also, you say

      > Note: If the Dynamically Converted Word document had images, they will be
      > checked-into the content server automatically by the Dynamic Converter.

      This is also not correct. The images are saved to the UCM file system, but they are not actually checked in as separate content items.

      • Sunderapandyan 1:40 pm on September 13, 2012 Permalink | Reply


        When you print the string “content” what do you see as the output?.

    • kevin Smith 1:47 pm on September 13, 2012 Permalink | Reply

      My mistake. I missed the dataBinder.putLocal(“IsJava”,”0″);

      This works now.


Compose new post
Next post/Next comment
Previous post/Previous comment
Show/Hide comments
Go to top
Go to login
Show/Hide help
shift + esc