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



我想创建一个组件,它将在oracle UCM 10gR3中添加自定义菜单。到目前为止,这样的组件可以使用oracle UCM 11g,所以我试图在oracle UCM 10gR3中实现相同的组件。 这是我创建的组件"自定义菜单"的资源.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。有关详细信息,请参阅此博客文章。

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

  • https://hishamgalal.blogspot.com/2009/02/deleting-and-adding-menu-items.html
  • https://bungbutan.wordpress.com/2012/11/26/oracle-webcenter-content-grouping-menu-items-into-one-new-menu/
  • https://oramack.blogspot.com/2010/04/ucm-modify-check-in-menu.html
  • http://blogs.redstonecontentsolutions.com/technical-blog/alphabetizemenus-11g(显示 10g 和 11g 之间的差异)

最新更新