gettingstarted.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. +========================================================================+
  4. | Licensed Materials - Property of IBM
  5. |
  6. | IBM Cognos Products: BUX
  7. |
  8. | (C) Copyright IBM Corp. 2009, 2013
  9. |
  10. | US Government Users Restricted Rights - Use, duplication or
  11. | disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  12. |
  13. +========================================================================+
  14. -->
  15. <!--
  16. Guidance page Events
  17. Guidance page ready: the event is fired at the end of onLoad function
  18. com.ibm.bux.guidancePage.ready
  19. payload: null
  20. Favorite Events
  21. The following events are implemented for integration:
  22. Mark as favorite:
  23. com.ibm.bux.guidancePage.markAsFavorite to mark as favorite.
  24. payload: {
  25. entry: atom entry of dashboard or report to be mark as favorite
  26. }
  27. com.ibm.bux.guidancePage.markAsFavorite.done will be published when the operation is completed.
  28. palyload: {
  29. entry: favorite atom entry which is feed response plus 'source' property to hold input entry data
  30. status: boolean,
  31. message: optional-error-message-if-failed
  32. }
  33. Remove from favorites:
  34. com.ibm.bux.guidancePage.removeFromFavorites to remove from favorites.
  35. payload: {
  36. entry: favorite atom entry of dashboard or report to be removed from favorites
  37. viewsNode: the tree/list view node that has to be removed from the views. This is used to round trip the node need to be removed
  38. }
  39. com.ibm.bux.guidancePage.removeFromFavorites.done will be published when the operation is completed.
  40. palyload: {
  41. entry: favorite atom entry passed to the action event
  42. status: boolean,
  43. message: optional-error-message-if-failed
  44. viewsNode: the tree/list view node that has to be removed from the views
  45. }
  46. Get Favorites:
  47. com.ibm.bux.guidancePage.getFavorites to retrieve faverites.
  48. payload: null
  49. com.ibm.bux.guidancePage.getFavorites.done will be published when the operation is completed.
  50. palyload: {
  51. feed: atom-feed which favorite entries
  52. status: boolean,
  53. message: optional-error-message-if-failed
  54. }
  55. Is Favorite:
  56. com.ibm.bux.guidancePage.isFavorite to retrieve faverites.
  57. payload: {
  58. url: url to dashboard/report atom-entry
  59. }
  60. com.ibm.bux.guidancePage.isFavorite.done will be published when the operation is completed.
  61. palyload: {
  62. favoriteEntry: favorite entry if the dashboard or report is mark as favorite, if not, null
  63. status: boolean,
  64. message: optional-error-message-if-failed
  65. }
  66. -->
  67. <iw:iwidget id="buxGuidancePage" xmlns:iw="http://www.ibm.com/xmlns/prod/iWidget" iScope="bux.iwidget.gettingstarted.GettingStarted" supportedModes="view" mode="view">
  68. <iw:itemSet id="attributes" private="true">
  69. <iw:item id="copyright" value="(C) Copyright IBM Corp. 2009, 2012. All Rights Reserved."/>
  70. <iw:item id="version" value="1.0.0.0.0"/>
  71. <iw:item id="controllerNS" value="ICDNS0"/>
  72. <iw:item id="source" readOnly="false" value=""/>
  73. <iw:item id="ui.action" readOnly="false" value=""/>
  74. </iw:itemSet>
  75. <iw:itemSet id="buxuserprofile" private="false">
  76. <iw:item id="version" value="1.0.0.0.0"/>
  77. <iw:item id="currentUserRole" readOnly="false" value="assemble"/>
  78. </iw:itemSet>
  79. <!-- ==================================== -->
  80. <!-- Guidance Page Public events -->
  81. <!-- ==================================== -->
  82. <iw:event id="com.ibm.bux.guidancePage.ready" eventDescName="com.ibm.bux.guidancePage.readyDesc" published="true"/>
  83. <iw:eventDescription id="com.ibm.bux.guidancePage.readyDesc" payloadType="any" description="Signal at the end of onLoad function"/>
  84. <!-- ==================================== -->
  85. <!-- Events Guidance Page fires or React -->
  86. <!-- ==================================== -->
  87. <!-- contentPane events -->
  88. <iw:event id="com.ibm.bux.contentpane.toggle" eventDescName="com.ibm.bux.contentpane.toggleDesc" published="true"/>
  89. <iw:eventDescription id="com.ibm.bux.contentpane.toggleDesc" payloadType="string" description="Open the Content Pane Event" lang="en"/>
  90. <iw:event id="com.ibm.bux.contentpane.slide.start" eventDescName="com.ibm.bux.contentpane.slide.startDesc" handled="true" onEvent="onContentPaneStartResize"/>
  91. <iw:eventDescription id="com.ibm.bux.contentpane.slide.startDesc" payloadType="string" description="Fired when the content Pane starts sliding in or out" lang="en"/>
  92. <!-- canvas events -->
  93. <iw:event id="com.ibm.bux.canvas.add" eventDescName="com.ibm.bux.canvas.addDesc" published="true"/>
  94. <iw:eventDescription id="com.ibm.bux.canvas.addDesc" payloadType="any" description="Event for adding iWidget onto current dashboard."/>
  95. <!-- ==================================== -->
  96. <!-- resources -->
  97. <!-- ==================================== -->
  98. <iw:resource uri="js/bux/iwidget/gettingstarted/GettingStarted.js" skipLoad="bux.hasModule('bux/iwidget/gettingstarted/GettingStarted')"/>
  99. <!--
  100. * Do not load CSS files directly here, use bux.uncompressed.css *
  101. <iw:resource uri="../../../themes/default/bux_guidancePage.css" />
  102. -->
  103. <iw:content mode="view">
  104. <![CDATA[
  105. <div id="_IWID_guidancePageDiv"/>
  106. ]]>
  107. </iw:content>
  108. </iw:iwidget>