Archive | Technology RSS for this section

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

/opt/oracle/ecm/user_projects/domains/ecm_domain/ucm/cs/archives/

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.

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");
          dataBinder.putLocal("IsJava","0");
        } 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.

How to rescue the Shopping Cart from being abandoned?

Every year, hoards of online shoppers bolt when they’re just a click or two away from finishing the checkout process. Maybe it’s a security concern, or what if returning the item turns out to be too much of a hassle? Whatever the reason, one study found that as many as 60 percent of online shoppers flee, making shopping cart abandonment a huge and costly problem for any business selling on the Web. The great frustration for online businesses is that a salesperson can’t just walk over to you and offer help.

A start-up firm is using automated chat to keep online customers from abandoning their virtual shopping carts.

In Store Experience for Online Stores

George Lawrie, Principal analyst at Forrester has written about Online Retail Industry. George writes that the single largest source of revenue loss for most online retailers is shopping cart abandonment — driven in large measure by sources of inconvenience in the online space.

Forrester

What Happened at the SFO Web 2.0 Expo?

Is the Web 2.0 economy in limbo? Wrapping up the Web 2.0 conference CNET News.com Editor in Chief Dan Farber and reporter Caroline McCarthy wrap up the Web 2.0 conference in San Francisco and discuss the current Web 2.0 boom and how long it will be sustained.

Watch the video

JSON – Elegant Approach for cross domain AJAX scripting:

Tried it and fell in love with it right away. This is a sure winner for those writing cross domain widgets for the Internet. JSON is a data format that can be handled with ease in JavaScript (or Java or any programming/scripting language). It also allows cross domain scripting which is not supported by AJAX. Here are some cool resources to get started.

Introduction to JSON:

Using JSON to exchange data:

Web 2.0 – What have you to offer Sales?

Leveraging Web 2.0 to Sell by Geoffrey James
The Internet is the ultimate disruptive technology. Like telephony, radio, television, and even the printing press, the Internet is dramatically changing nearly every aspect of daily life, both inside businesses and in the daily lives of individuals. Much of this disruption has been both unplanned and unexpected, and nothing more so than the sudden prominence of what’s been called Web 2.0: the blogs, wikis and social networking sites where users generate content for consumption by other users. 

 

Sales 2.0 represents not just a better way of selling, but a substantial enhancement of the customer experience. The Web 1.0 environment, with its emphasis on pushing information out to a wider audience, overloaded customers with information. While they had access to information that in the past belonged entirely to sales professionals (i.e. product features, comparison pricing, customer complaints etc.), many customers saw all that data as an undifferentiated blur of meaningless facts. By creating a more collaborative environment, Sales 2.0 allows the sales professional to use his or her specific expertise to help the customer differentiate between information that’s essential and information that’s not.

Read More

 

Is the Internet Inter-active enough?

Interactivity untill recently meant software interactivity. Software Engineers were keen on developing softwares that can interact with the user based on business logic and algorithms. The new Social Networking concepts are proving that enabling human interaction via softwares are as valuable too.However we are yet to see the explosion. My friend was mentioning about Time magazine featuring “YOU” as the Person of the year 2006 because of the participation of the PEOPLE in the internet. Are these social networking sites the only answers for interactivity on the net? 

Web 2.0 Summit – Did it make the sale?

Sure the Summit (SFO, Oct 17 -19) was sold out. I would have loved to be there, but living in the other corner of US makes it difficult to participate in the excitement. It might have been really refreshing to see Mark Zuckerberg, wearing jeans and his signature sandals.  Zuckerberg had informed attendees that he expected the number of workers at Facebook to increase to 700 in a year from the more than 300 employees today.

Mark Zuckerberg

The line-up of speakers was indeed very impressive: Meg Whitman (eBay), Steve Ballmer, Rupert Murdoch, Stewart Butterfield (Flickr) and more - the complete list here

Get the official scoop:

Wweb 2.0 Summit

Any how, Ii am hoping to catch some of the happenings on pod-casts and screen-casts. I am sure you-tube will have a few pretty soon. Here is one that covers the last years (2006) Opening Session. Please post any links you have in the comments.

I hope that many investors walked out of the event with a commitment to support web 2.0 initiatives further. All the software makers and start-up entrepreneurs owe one for Oreilly for coining the terminology and nurturing the concept of web 2.0.

How many usefull Web 2.0 softwares are out there?

An extensive list has been created by this website. It is quite overwhelming. It will take days if you want to checkout the entire list. But there is an option for you to filter and view the ones you are interested based on functionality.

go2web20

Follow

Get every new post delivered to your Inbox.