使用 XMLAccess 更改 Portlet 功能的自动装入
您可以使用 XMLAccess 更改 Portlet 功能的自动装入。
过程
- 导出主题。您可以使用以下脚本导出所有为 WebSphere® Portal 定义的主题,也可以插入要导出的特定主题对象标识。
<?xml version="1.0" encoding="UTF-8"?> <request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PortalConfig_8.5.0.xsd" type="export" create-oids="true"> <portal action="locate"> <theme action="export" objectid="*" /> </portal> </request> - 将 resourceaggregation.autoLoadPortletCapabilities 参数的值修改为 true 或 false,或者添加此参数(如果它不存在)。 例如:
<parameter name="resourceaggregation.autoLoadPortletCapabilities" type="string" update="set"><![CDATA[true]]></parameter> - 使用命令行或“导入 XML”来导入 XML 文件。
- 重新启动 WebSphere Portal。