Saturday, May 21, 2011

Javascript undefined error when using wwStrings in UCM 11g

A javascript error is thrown in UCM 11g when wwStrings is used in javascript as in 10g like wwStrings["someString"].

This is because in UCM 11g, wwStrings is moved to the namespace idc.string.wwStrings

So the syntax in UCM 11g to access the strings in javascript is lc("someString") .

It took all day long for me to figure out this.

Wednesday, May 4, 2011

Creating custom menu items in Oracle UCM 11g

A lot of things have changed in UCM 11g, and there is not much documentation or article on how to make things work as it did in UCM 10g.

One such thing is creating custom menu items in Oracle UCM 11g.

CoreMenutItems and CoreMenuItemRelationships resources are used to introduce menu items. Below is a sample code on how to get it done.

<@dynamicdata CoreMenuItems@>
id, label, linkType, linkData
MY_SEARCH, My Custom Search, cgi, IdcService=CUSTOM_SEARCH_SERVICE
<@end@>

<@dynamicdata CoreMenuItemRelationships@>
parentId, id, loadOrder
MENU_A, MY_SEARCH, 30
<@end@>

Keep checking this space, I will try to bring some more tips on how to achieve
few more things in UCM 11g.