email_interface.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  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, 2011
  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 email_options.xts
  15. The paremeters passed to the email_options.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. addEntries - call the add entries morphlet
  29. finished - generate the resulting XML and return it
  30. canceled - user hit the cancel button, return </canceled>
  31. markup - produce the HTML markup for the email page
  32. genDefault - return a default options blob
  33. defaultTarget target morphlet to be called when hitting any button yes, used for links on the email dialog
  34. on the page and any button that hasn't been explicitly specified
  35. titlePrefix for display purposes yes
  36. titlePostfix for display purposes no, will get appened to titlePrefix
  37. formName the form name to use in the javascript no, defaults to pform
  38. options used to default the fields no
  39. defaultSubject user to generate the email options dialog with defailts no
  40. defaultRecipient used to generate the email options dialog with defaults no, default is false
  41. burst has bursting been selected no, defaults to false
  42. inWizard used for display purposes (title) no, default is false
  43. displayButtons should the footer get generated no, default is true
  44. agentStudio is email options getting called from Event Studio no, default is false
  45. reportViewer is email options getting called from the report viewer no, default is false
  46. subscription is email options getting called for a subscription no, default is false
  47. hideInsertButton hide the insert buttons when set to true no, default is false
  48. headerStyle what style should be used to render the header no, default is the standard dialog header. Possible
  49. values are 'dialog' or 'page'
  50. taskName default taskName no
  51. eventList text that will show up under the 'Send this email for no
  52. the events:' section
  53. objectClass Used to help render some of the strings no, currently only needed for Jobs
  54. linkToReport If specified, this value will be appended to the body, and the no
  55. emailAsAttachment runOption will not be used.
  56. addEntriesPopUp Should the added entries be displayed in an iframe no, default is false
  57. defaultEmailAsAttachment When generating defaults, should the report be emailed no, default is false (i.e. will email the link)
  58. as an attachment
  59. attach An XML structure describing the possible items to attach to no, only needed for Event Studio
  60. the email
  61. hideEmailAsAttachment Should the hideEmailAsAttachment be hidden no, default is false
  62. hideLinkToReport Should the 'Include a link to the report' option be hidden no, default is false
  63. hideAddLinks Should the 'Add Links...' action be hidden no, default is true
  64. hideAttachMenu Should the 'Attach...' action be hidden no, default is true
  65. usePowerPlay8Options Generate powerPlay compatible options rather than run options no, default is false
  66. **** All the target and URL params can have a 'target' attribute to specify what frame should be targeted. Default is _self
  67. defaultTarget target morphlet to be called when hitting any button yes, used for links on the email dialog
  68. on the page and any button that hasn't been explicitly specified
  69. okTarget target morphlet to be called when hitting the OK button no, defaultTarget will be used. Set value to disable
  70. if you want the ok button to be disabled.
  71. cancelTarget target morphlet to be called when hitting the Cancel button no, defaultTarget will be used. Set value to disable
  72. if you want the Cancel button to be disabled.
  73. backTarget target morphlet to be called when hitting the Back button no, defaultTarget will be used. Set value to disable
  74. if you want the Back button to be disabled.
  75. nextTarget target morphlet to be called when hitting the Next button no, defaultTarget will be used. Set value to disable
  76. if you want the Next button to be disabled.
  77. finishTarget target morphlet to be called when hitting the Finish button no, defaultTarget will be used. Set value to disable
  78. if you want the Finish button to be disabled.
  79. okURL URL to be used when the user hits the OK button no, okTarget will be used if specified or
  80. defaultTarget will be used. Set value to disable
  81. if you want the Finish button to be disabled.
  82. cancelURL URL to be used when the user hits the Cancel button no, cancelTarget will be used if specified or
  83. defaultTarget will be used. Set value to disable
  84. if you want the Finish button to be disabled.
  85. backURL URL to be used when the user hits the Back button no, backTarget will be used if specified or
  86. defaultTarget will be used. Set value to disable
  87. if you want the Finish button to be disabled.
  88. nextURL URL to be used when the user hits the Next button no, nextTarget will be used if specified or
  89. defaultTarget will be used. Set value to disable
  90. if you want the Finish button to be disabled.
  91. finishURL URL to be used when the user hits the Finish button no, finishTarget will be used if specified or
  92. defaultTarget will be used. Set value to disable
  93. if you want the Finish button to be disabled.
  94. Email Options will return the following markup
  95. <markup>....</markup>
  96. or
  97. <options>...</options>
  98. or
  99. <canceled/>
  100. ====================================================================================================================================
  101. -->
  102. <API_params>
  103. <request_state/>
  104. <formName default="pform"/>
  105. <options/>
  106. <defaultSubject/>
  107. <defaultRecipient/>
  108. <titlePrefix/>
  109. <titlePostfix/>
  110. <burst default="false"/>
  111. <inWizard default="false"/>
  112. <displayButtons default="true"/>
  113. <agentStudio default="false"/>
  114. <headerStyle default="dialog"/>
  115. <reportViewer default="false"/>
  116. <subscription default="false"/>
  117. <hideInsertButton default="false"/>
  118. <addEntriesPopUpTarget/>
  119. <addEntriesPopUp default="false"/>
  120. <defaultEmailAsAttachment default="false"/>
  121. <hideEmailAsAttachment default="false"/>
  122. <hideLinkToReport default="false"/>
  123. <hideAddLinks default="true"/>
  124. <hideAttachMenu default="true"/>
  125. <usePowerPlay8Options default="false"/>
  126. <useJobOptions default="false"/>
  127. <linkToReport/>
  128. <eventList/>
  129. <taskName/>
  130. <defaultTarget/>
  131. <okTarget/>
  132. <cancelTarget/>
  133. <backTarget/>
  134. <nextTarget/>
  135. <finishTarget/>
  136. <okURL/>
  137. <cancelURL/>
  138. <backURL/>
  139. <nextURL/>
  140. <finishURL/>
  141. </API_params>