DeleteTagsAndRatings.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. =================================================================
  4. * Licensed Materials - Property of IBM
  5. * (c) Copyright IBM Corp. 2009. 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
  23. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  24. xsi:noNamespaceSchemaLocation="PortalConfig_8.0.0.xsd"
  25. type="update">
  26. <!-- This sample deletes ratings and tags.
  27. Related sample files:
  28. CreateTagsAndRatings.xml
  29. ExportTagsAndRatings.xml
  30. NOTE: This sample assumes that the CreateTagsAndRatings.xml sample was executed before.
  31. -->
  32. <portal action="locate">
  33. <!-- Delete the custom resource created by sample CreateTagsAndRatings.xml -->
  34. <custom-resource action="delete" objectid="ZCH_B1L68B1A00DO80IG7PCV0I1000"/>
  35. <!-- Delete all custom resources in the system -->
  36. <!-- <custom-resource action="delete" objectid="*"/> -->
  37. <!-- Delete the ratings created by sample CreateTagsAndRatings.xml -->
  38. <rating action="delete" objectid="ZCJ_B1L68B1A00DO80IG7PCV0I2000"/>
  39. <rating action="delete" objectid="ZCJ_B1L68B1A00DO80IG7PCV0I3000"/>
  40. <!-- Delete all ratings in the system -->
  41. <!-- <rating action="delete" objectid="*"/> -->
  42. <!-- Delete the tags created by sample CreateTagsAndRatings.xml -->
  43. <tag action="delete" objectid="ZCI_B1L68B1A00DO80IG7PCV0I4000"/>
  44. <tag action="delete" objectid="ZCI_B1L68B1A00DO80IG7PCV0I5000"/>
  45. <!-- Delete all tags in the system -->
  46. <!-- <tag action="delete" objectid="*"/> -->
  47. <!-- Delete all tags with a specific locale in the system -->
  48. <!-- <tag action="delete" objectid="*" locale="SPECIFIC_LOCALE"/> -->
  49. </portal>
  50. </request>