如何使用导航生成器在 oracle UCM 10gR3 中创建自定义菜单

How to create custom menu in oracle UCM 10gR3 using nav builder

我想创建一个组件,它将在 oracle UCM 10gR3 中添加自定义菜单。截至目前,此类组件可以使用 oracle UCM 11g,因此我尝试在 oracle UCM 10gR3 中实现相同的组件。 这是我创建的

组件 'custommenu' 的 resource.htm 文件
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>
custommenu htmlIncludeOrString
</title>
</head>
<body>

<@dynamichtml custommenuSampleTable@>
<?commatable indexedColumn="sampleKey"  
 countColumn="sampleCount"sortCloumn="sampleOrder"
sampleKey,sampleValue,sampleOrder,sampleCount
key2,  value2, 20
key1,  value1, 10
<@end@>

<@dynamichtml coreMenuItems@>
id,label,linkType,linkData
custommenu1,my first menu,.
custom menu2,my second menu,.
custommenu,Sub Menu,.
THING_1,Get Server Output,cgi,IdcService=GET_SERVER_OUTPUT
THING_2,My Document,cgi,Idc=GET_SEARCH_RESULT&QueryText=%  
28dDocAuthor+<contains>+%60<$UserName$>
THING_3,Component Manager,admin,IdcService=GET_COMPONENT_DATA
<@end@>

<@dynamichtml CoreMenuItemRelationship@>
<?commatable mergeKey="primaryKey"?>
parentid,id,loadorder
MENU_A,custommenu1,500
MENU_B,custommenu2,500
custommenu1,THING_1,10
custommenu1,THING_2,20
custommenu1,THING_3,30
<@end@>


</body></html>

但是当我们启用这个组件时,在 UCM 中没有发现任何变化。 欢迎各种意见。 谢谢

该代码仅适用于 11g。有关详细信息,请参阅 this blog post

您需要使用 10g 中可用的方法。以下是一些示例: