explore.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. /*
  2. *+------------------------------------------------------------------------+
  3. *| Licensed Materials - Property of IBM
  4. *| IBM Cognos Products: Explore
  5. *| (C) Copyright IBM Corp. 2018
  6. *|
  7. *| US Government Users Restricted Rights - Use, duplication or disclosure
  8. *| restricted by GSA ADP Schedule Contract with IBM Corp.
  9. *+------------------------------------------------------------------------+
  10. */
  11. {
  12. "features": [
  13. {
  14. "id": "com.ibm.bi.explore",
  15. "svgImages": [
  16. "resources/explore/images/common_icons.svg"
  17. ],
  18. "toolItems": [
  19. {
  20. "id": "createExplore",
  21. "containerId": "com.ibm.bi.glass.common.createMenu",
  22. "type": "MenuContribution",
  23. "actionController": "explore/create",
  24. "items": [
  25. {
  26. "id": "createDashboard",
  27. "label": "%explore",
  28. "icon": "common-explore",
  29. "weight": 750,
  30. "environment": {
  31. "capabilities": ["canUseExploration"]
  32. }
  33. }
  34. ]
  35. }
  36. ],
  37. "actions": [
  38. {
  39. "id": "com.ibm.bi.contentApps.defaultAction.exploration",
  40. "items": [
  41. {
  42. "controller": "explore/open",
  43. "weight": 1300
  44. }
  45. ]
  46. }
  47. ],
  48. "contextMenus": [
  49. {
  50. "id": "listMenuContribution",
  51. "containerId": "com.ibm.bi.contentApps.listViewMenu",
  52. "actionController": "explore/open",
  53. "type": "MenuContribution",
  54. "items": [
  55. {
  56. "id": "exploreDefaultRunAction",
  57. "label": "%openExplore",
  58. "icon": "common-explore",
  59. "weight": 1100,
  60. "lensable": false
  61. }
  62. ]
  63. }
  64. ]
  65. }, {
  66. "id": "com.ibm.bi.explore.createExplore",
  67. "contextMenus": [
  68. {
  69. "id": "createExplore",
  70. "containerId": "com.ibm.bi.contentApps.listViewMenu",
  71. "actionController": "explore/create",
  72. "type": "MenuContribution",
  73. "items": [
  74. {
  75. "id": "exploreCreateAction",
  76. "label": "%createExploreTitle",
  77. "icon": "common-explore",
  78. "weight": 320
  79. }
  80. ]
  81. }
  82. ]
  83. }, {
  84. "id": "com.ibm.bi.explore.quickLaunch",
  85. "collectionItems": [
  86. {
  87. "id": "quickLaunchExplore",
  88. "containerId": "com.ibm.bi.bahome_common.quickLaunchTargets",
  89. "type": "DropTargetContribution",
  90. "actionController": "explore/create",
  91. "targetId": "Explore",
  92. "requiredType": "uploadedFile",
  93. "label": "%explore",
  94. "icon": "common-explore",
  95. "fileTypes": ["xls","xlm","xlsx","xlsm","xlsb","csv","tsv","tab","txt","zip","gz"],
  96. "weight": 300,
  97. "environment": {
  98. "capabilities": [ "canUseExploration" ]
  99. }
  100. }
  101. ]
  102. }, {
  103. "id": "com.ibm.bi.explore.shareAndEmbed",
  104. "collectionItems": [
  105. {
  106. "containerId": "com.ibm.bi.glass.common.sharedResources",
  107. "id": "explore",
  108. "label": "Share & Embed",
  109. "types": ["exploration"],
  110. "perspectives": ["explore"],
  111. "actionController": "explore/share",
  112. "weight": 1300
  113. }
  114. ]
  115. }
  116. ],
  117. "config": {
  118. "requirejs": {
  119. "paths": {
  120. "explore": "js/explore",
  121. "explore-common": "js/explore/bundles/explore-common.min"
  122. },
  123. "map": {
  124. "*": {}
  125. },
  126. "bundles": {
  127. "explore/bundles/action-handlers.bridge": [
  128. "explore/create",
  129. "explore/open",
  130. "explore/share"
  131. ],
  132. "explore/bundles/component.bridge": [],
  133. "explore/bundles/component.min": []
  134. }
  135. }
  136. }
  137. }