CreateApplicationCategoryByURL.xml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. =================================================================
  4. * Licensed Materials - Property of IBM
  5. * (c) Copyright IBM Corp. 2003, 2010. All rights reserved.
  6. *
  7. * US Government Users Restricted Rights - Use, duplication or
  8. * disclosure restricted by GSA ADP Schedule Contract with IBM
  9. * Corp.
  10. *
  11. * DISCLAIMER OF WARRANTIES. The following [enclosed] code is
  12. * sample code created by IBM Corporation. This sample code is
  13. * not part of any standard or IBM product and is provided to you
  14. * solely for the purpose of assisting you in the development of
  15. * your applications. The code is provided "AS IS", without
  16. * warranty of any kind. IBM shall not be liable for any damages
  17. * arising out of your use of the sample code, even if they have
  18. * been advised of the possibility of such damages.
  19. *
  20. =================================================================
  21. -->
  22. <request type="update" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PortalConfig_8.5.0.xsd">
  23. <portal action="locate">
  24. <!--
  25. Sample for registering a new application category underneath the application root category.
  26. This variant registers a category by adding a label underneath the application category root label pointing to a feed returning a list of portlet definitions.
  27. -->
  28. <content-node action="locate" domain="rel" uniquename="wps.content.root"/>
  29. <content-node action="locate" domain="rel" uniquename="ibm.portal.HiddenPages"/>
  30. <content-node action="locate" domain="rel" uniquename="ibm.portal.toolbar.applications.category.label.root"/>
  31. <content-node action="update" active="true" content-parentref="ibm.portal.toolbar.applications.category.label.root" domain="rel" ordinal="300" type="external-url" uniquename="ibm.portal.toolbar.applications.category.label.sample1">
  32. <!-- here you need to specify the URL that points to a feed returning a list of portlet definitions -->
  33. <supported-markup markup="html" update="set">pdl:all?rep=compact</supported-markup>
  34. <localedata locale="en" >
  35. <title>Sample Category 1</title>
  36. </localedata>
  37. <parameter name="com.ibm.portal.IgnoreAccessControlInCaches" type="string" update="set"><![CDATA[false]]></parameter>
  38. <parameter name="com.ibm.portal.navigation.follow_internal_urls" type="string" update="set"><![CDATA[true]]></parameter>
  39. <parameter name="com.ibm.portal.remote-cache-expiry" type="string" update="set"><![CDATA[86400]]></parameter>
  40. <parameter name="com.ibm.portal.remote-cache-scope" type="string" update="set"><![CDATA[NON-SHARED]]></parameter>
  41. <access-control externalized="false" owner="undefined" private="false">
  42. <role actionset="User" update="set">
  43. <mapping subjectid="all authenticated portal users" subjecttype="user_group" update="set"/>
  44. </role>
  45. </access-control>
  46. </content-node>
  47. </portal>
  48. </request>