task_interface.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: ASV
  5. (C) Copyright IBM Corp. 2005, 2010
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <!--
  9. =================================================================================================================================
  10. Interface for email_options.xts
  11. The paremeters passed to the email_options.xts morphlet must have the following structure
  12. <root>
  13. ...
  14. <req-params:requestParams xmlns:req-params="http://developer.cognos.com/schemas/request/params">
  15. <req-params:param name="requestState">addEntries|markup</req-params:param>
  16. <req-params:param name="formName">pform</req-params:param>
  17. <req-params:param name="">...</req-params:param>
  18. </req-params:requestParams>
  19. </root>
  20. parameter name Description required
  21. ___________________________ ___________________________________________________________ ____________________________
  22. requestState the current state of the morphlet yes, will be added automatically by
  23. the dlgctrl:XTS2Request template
  24. addEntries - call the add entries morphlet
  25. finished - generate the resulting XML and return it
  26. canceled - user hit the cancel button, return </canceled>
  27. markup - produce the HTML markup for the email page
  28. genDefault - return a default options blob
  29. defaultTarget target morphlet to be called when hitting any button yes, used for links on the email dialog
  30. on the page and any button that hasn't been explicitly specified
  31. titlePrefix for display purposes yes
  32. titlePostfix for display purposes no, will get appened to titlePrefix
  33. formName the form name to use in the javascript no, defaults to pform
  34. taskOptions used to default the fields no
  35. defaultSubject user to generate the email options dialog with defailts no
  36. defaultRecipient used to generate the email options dialog with defaults no, default is false
  37. burst has bursting been selected no, defaults to false
  38. inWizard used for display purposes (title) no, default is false
  39. displayButtons should the footer get generated no, default is true
  40. agentStudio is email options getting called from Event Studio no, default is false
  41. reportViewer is email options getting called from the report viewer no, default is false
  42. subscription is email options getting called for a subscription no, default is false
  43. headerStyle what style should be used to render the header no, default is the standard dialog header. Possible
  44. values are 'dialog' or 'page'
  45. taskName default taskName no
  46. eventList text that will show up under the 'Send this email for no
  47. the events:' section
  48. objectClass Used to help render some of the strings no, currently only needed for Jobs
  49. linkToReport If specified, this value will be appended to the body, and the no
  50. emailAsAttachment runOption will not be used.
  51. addEntriesPopUp Should the added entries be displayed in an iframe no, default is false
  52. defaultEmailAsAttachment When generating defaults, should the report be emailed no, default is false (i.e. will email the link)
  53. as an attachment
  54. attach An XML structure describing the possible items to attach to no, only needed for Event Studio
  55. the email
  56. hideEmailAsAttachment Should the hideEmailAsAttachment be hidden no, default is false
  57. hideLinkToReport Should the 'Include a link to the report' option be hidden no, default is false
  58. hideAddLinks Should the 'Add Links...' action be hidden no, default is true
  59. hideAttachMenu Should the 'Attach...' action be hidden no, default is true
  60. usePowerPlay8Options Generate powerPlay compatible options rather than run options no, default is false
  61. **** All the target and URL params can have a 'target' attribute to specify what frame should be targeted. Default is _self
  62. defaultTarget target morphlet to be called when hitting any button yes, used for links on the email dialog
  63. on the page and any button that hasn't been explicitly specified
  64. okTarget target morphlet to be called when hitting the OK button no, defaultTarget will be used. Set value to disable
  65. if you want the ok button to be disabled.
  66. cancelTarget target morphlet to be called when hitting the Cancel button no, defaultTarget will be used. Set value to disable
  67. if you want the Cancel button to be disabled.
  68. backTarget target morphlet to be called when hitting the Back button no, defaultTarget will be used. Set value to disable
  69. if you want the Back button to be disabled.
  70. nextTarget target morphlet to be called when hitting the Next button no, defaultTarget will be used. Set value to disable
  71. if you want the Next button to be disabled.
  72. finishTarget target morphlet to be called when hitting the Finish button no, defaultTarget will be used. Set value to disable
  73. if you want the Finish button to be disabled.
  74. okURL URL to be used when the user hits the OK button no, okTarget will be used if specified or
  75. defaultTarget will be used. Set value to disable
  76. if you want the Finish button to be disabled.
  77. cancelURL URL to be used when the user hits the Cancel button no, cancelTarget will be used if specified or
  78. defaultTarget will be used. Set value to disable
  79. if you want the Finish button to be disabled.
  80. backURL URL to be used when the user hits the Back button no, backTarget will be used if specified or
  81. defaultTarget will be used. Set value to disable
  82. if you want the Finish button to be disabled.
  83. nextURL URL to be used when the user hits the Next button no, nextTarget will be used if specified or
  84. defaultTarget will be used. Set value to disable
  85. if you want the Finish button to be disabled.
  86. finishURL URL to be used when the user hits the Finish button no, finishTarget will be used if specified or
  87. defaultTarget will be used. Set value to disable
  88. if you want the Finish button to be disabled.
  89. taskType Defines whether the task is 'approval' or 'notification'
  90. taskImage Defines the HTS task image
  91. followingTaskList An XML structure describing the following tasks which can be executed following this task no,
  92. Email Options will return the following markup
  93. <markup>....</markup>
  94. or
  95. <options>...</options>
  96. or
  97. <canceled/>
  98. ====================================================================================================================================
  99. -->
  100. <API_params>
  101. <request_state/>
  102. <formName default="pform"/>
  103. <taskOptions/>
  104. <defaultSubject/>
  105. <defaultRecipient/>
  106. <titlePrefix/>
  107. <titlePostfix/>
  108. <burst default="false"/>
  109. <inWizard default="false"/>
  110. <displayButtons default="true"/>
  111. <agentStudio default="false"/>
  112. <headerStyle default="dialog"/>
  113. <reportViewer default="false"/>
  114. <subscription default="false"/>
  115. <addEntriesPopUpTarget/>
  116. <addEntriesPopUp default="false"/>
  117. <defaultEmailAsAttachment default="false"/>
  118. <hideEmailAsAttachment default="false"/>
  119. <hideLinkToReport default="false"/>
  120. <hideAddLinks default="true"/>
  121. <hideAttachMenu default="true"/>
  122. <usePowerPlay8Options default="false"/>
  123. <useJobOptions default="false"/>
  124. <linkToReport/>
  125. <eventList/>
  126. <taskName/>
  127. <defaultTarget/>
  128. <okTarget/>
  129. <cancelTarget/>
  130. <backTarget/>
  131. <nextTarget/>
  132. <finishTarget/>
  133. <okURL/>
  134. <cancelURL/>
  135. <backURL/>
  136. <nextURL/>
  137. <finishURL/>
  138. <taskType/>
  139. <taskImage/>
  140. </API_params>