Java_CreateAgentUI_Explain.html 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <HTML>
  2. <HEAD>
  3. <!--
  4. Licensed Materials - Property of IBM
  5. IBM Cognos Products: DOCS
  6. (C) Copyright IBM Corp. 2005, 2008
  7. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with
  8. IBM Corp.
  9. -->
  10. <TITLE>IBM Cognos Java CreateAgentUI Program Sample</TITLE>
  11. <link rel="STYLESHEET" type="text/css" href="../../../webcontent/samples/samplesFonts.css">
  12. </HEAD>
  13. <BODY>
  14. <p class="headerTitle"><img src="../../../webcontent/samples/sdk/asp/images/go_logo_small.gif">&nbsp;IBM Cognos Sample Programs</p>
  15. <p class="FormLabel">CreateAgentsUI.java - Creates and runs a new agent .</p>
  16. <p class="formText">The Java CreateAgentsUI sample program contains methods to create and run a new agent.</p>
  17. <br>
  18. <title>IBM Cognos Java CreateAgentUI Program Sample</title>
  19. <!-- * * * * * * * * * -->
  20. <!-- -->
  21. <!-- Dependent Files -->
  22. <!-- -->
  23. <!-- * * * * * * * * * -->
  24. <p class="FormLabel">Dependent Files</p>
  25. <p class="formText">Associated files are contained under the java sample folder.<br>
  26. Additional files required for running are identified in the CLASSPATH definitions in run.bat file.</p>
  27. <!-- * * * * * * * * * -->
  28. <!-- -->
  29. <!-- How To Run -->
  30. <!-- -->
  31. <!-- * * * * * * * * * -->
  32. <p class="FormLabel">How To Run The Sample Program</p>
  33. <p class=formtext>Double click on the file <span class=SpellE>run.bat</span>.<br>
  34. <br>
  35. A window will be opened containing:<br>
  36. &nbsp;&nbsp;&nbsp;&nbsp;- Create an Agent command button<br>
  37. &nbsp;&nbsp;&nbsp;&nbsp;- URL text box<br>
  38. &nbsp;&nbsp;&nbsp;&nbsp;- Output Pane<br>
  39. <br>
  40. Click on the 'Create an Agent' button to run the sample program.</p>
  41. <p class=formtext>Enter information as directed in the pop up dialogs to select<br>
  42. &nbsp;&nbsp;&nbsp;&nbsp;- the package name<br>
  43. &nbsp;&nbsp;&nbsp;&nbsp;- the name of the new agent<br>
  44. &nbsp;&nbsp;&nbsp;&nbsp;- the task report name </p>
  45. <p class=formtext>The sample has been coded to work with the Go Data Warehouse
  46. (query) package and the Retailer Contact report as the task report.<br>
  47. To work with another package and task report, you may need to edit the
  48. CreateAgents class.</p>
  49. <!-- * * * * * * * * * -->
  50. <!-- -->
  51. <!-- Expected Results -->
  52. <!-- -->
  53. <!-- * * * * * * * * * -->
  54. <p class="FormLabel">Expected Results</p>
  55. <p class=formtext>A new agent will be created and run. The
  56. generated agent can be found under My Folders in IBM Cognos
  57. Connection.</p>
  58. <!-- * * * * * * * * * -->
  59. <!-- -->
  60. <!-- Documentation -->
  61. <!-- -->
  62. <!-- * * * * * * * * * -->
  63. <p class="FormLabel">Documentation</p>
  64. <p class="formText">The IBM Cognos Software Development Kit Developer Guide contains additional information about the samples. See the chapter titled 'Methods' and the appendix titled 'Code Samples and Language-Specific Coding Practices'.</p>
  65. <p class="formText">Please note that the samples are not intended to be treated as end-user applications. Refer to the sample code for examples of how to use the API when developing your own applications.</p>
  66. </BODY>
  67. </HTML>