add_entries_interface.xml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: ps
  5. (C) Copyright IBM Corp. 2005, 2012
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <!--
  9. Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
  10. Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
  11. -->
  12. <!--
  13. =================================================================================================================================
  14. Interface for add_entries.xts
  15. The paremeters passed to the add_entries.xts morphlet must have the following structure
  16. <root>
  17. ...
  18. <req-params:requestParams xmlns:req-params="http://developer.cognos.com/schemas/request/params">
  19. <req-params:param name="requestState">addEntries|markup</req-params:param>
  20. <req-params:param name="formName">pform</req-params:param>
  21. <req-params:param name="">...</req-params:param>
  22. </req-params:requestParams>
  23. </root>
  24. parameter name Description required
  25. ___________________________ ___________________________________________________________ ____________________________
  26. requestState the current state of the morphlet yes, will be added automatically by
  27. the dlgctrl:XTS2Request template
  28. navigate - produce the HTML markup for the add entries (Navigate)
  29. search - produce the HTML markup for the add entries (Search)
  30. type - produce the HTML markup for the add entries (Type)
  31. finished - generate the final addedEntries XML and return it
  32. canceled - user hit the cancel button, return </canceled>
  33. titlePostfix for display purposes no, will get appened to titlePrefix
  34. displayButtons should the footer get generated no, default is true
  35. defaultSearchPath searchPath to be used in the initial query to CM yes
  36. showUsers should the show users checkbox be visible? no, default is false
  37. returnProperties a list of properties that should be returned as part of the yes
  38. addedEntries response. For for param must be
  39. <req-params:param name="propertiesReturned">
  40. <req-params:property name="searchPath"/>
  41. <req-params:property name="defaultName"/>
  42. ...
  43. </req-params:param>
  44. allowDuplicates should the user be able to add the same entry twice yes, default is true
  45. addEntriesUI what flavor of the add entries dialog should be used no, default is runnable
  46. Possible values are:
  47. - runnables
  48. - recipients
  49. - recipients_distribution
  50. - members
  51. - links
  52. - groupMembers
  53. - privileges
  54. - mypages
  55. - portlet
  56. - packagesAndLocations
  57. - indexUpdateLocations
  58. - deploymentObjects
  59. typeDialog should the type dialog be available no, default is false
  60. fromFM is the add entries getting called from FM no, default is false
  61. inWizard used for display purposes (title) no, default is false
  62. agentStudio is email options getting called from Event Studio no, default is false
  63. isPopup Is addEntries being displayed in an iframe no, default is false
  64. **** All the target and URL params have a 'target' attribute to specify what frame should be targeted. Default is _self
  65. defaultTarget target morphlet to be called when hitting any button yes, used for links on the email dialog
  66. on the page and any button that hasn't been explicitly specified
  67. okTarget target morphlet to be called when hitting the OK button no, defaultTarget will be used. Set value to disable
  68. if you want the ok button to be disabled.
  69. cancelTarget target morphlet to be called when hitting the Cancel button no, defaultTarget will be used. Set value to disable
  70. if you want the Cancel button to be disabled.
  71. okURL URL to be used when the user hits the OK button no, okTarget will be used if specified or
  72. defaultTarget will be used. Set value to disable
  73. if you want the Finish button to be disabled.
  74. cancelURL URL to be used when the user hits the Cancel button no, cancelTarget will be used if specified or
  75. allowRootBrowsing Can the user browse all the way to the root no, default is false
  76. selectableRootObjects Should the objects shown at the root be selectable no, default is false
  77. add_entries.xts will return the following markup
  78. <markup>....</markup>
  79. or
  80. <addedEntries>...</addedEntries>
  81. or
  82. <canceled/>
  83. ====================================================================================================================================
  84. -->
  85. <API_params>
  86. <request_state/>
  87. <titlePostfix/>
  88. <displayButtons default="true"/>
  89. <defaultSearchPath/>
  90. <classFilter/>
  91. <showUsers default="false"/>
  92. <inWizard default="false"/>
  93. <agentStudio default="false"/>
  94. <folderClasses/>
  95. <selectableClasses/>
  96. <returnProperties/>
  97. <allowDuplicates default="false"/>
  98. <addEntriesUI default="runnable"/>
  99. <withCC default="true"/>
  100. <withBCC default="true"/>
  101. <typeDialog default="false"/>
  102. <fromFM default="false"/>
  103. <isPopup default="false"/>
  104. <defaultTarget/>
  105. <okTarget/>
  106. <cancelTarget/>
  107. <okURL/>
  108. <cancelURL/>
  109. <allowRootBrowsing default="false"/>
  110. <selectableRootObjects default="false"/>
  111. </API_params>