123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- <HTML>
- <HEAD>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: DOCS
- (C) Copyright IBM Corp. 2005, 2008
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with
- IBM Corp.
- -->
- <TITLE>IBM Cognos Java CreateAgentUI Program Sample</TITLE>
- <link rel="STYLESHEET" type="text/css" href="../../../webcontent/samples/samplesFonts.css">
- </HEAD>
- <BODY>
- <p class="headerTitle"><img src="../../../webcontent/samples/sdk/asp/images/go_logo_small.gif"> IBM Cognos Sample Programs</p>
- <p class="FormLabel">CreateAgentsUI.java - Creates and runs a new agent .</p>
- <p class="formText">The Java CreateAgentsUI sample program contains methods to create and run a new agent.</p>
- <br>
- <title>IBM Cognos Java CreateAgentUI Program Sample</title>
- <!-- * * * * * * * * * -->
- <!-- -->
- <!-- Dependent Files -->
- <!-- -->
- <!-- * * * * * * * * * -->
- <p class="FormLabel">Dependent Files</p>
- <p class="formText">Associated files are contained under the java sample folder.<br>
- Additional files required for running are identified in the CLASSPATH definitions in run.bat file.</p>
- <!-- * * * * * * * * * -->
- <!-- -->
- <!-- How To Run -->
- <!-- -->
- <!-- * * * * * * * * * -->
- <p class="FormLabel">How To Run The Sample Program</p>
- <p class=formtext>Double click on the file <span class=SpellE>run.bat</span>.<br>
- <br>
- A window will be opened containing:<br>
- - Create an Agent command button<br>
- - URL text box<br>
- - Output Pane<br>
- <br>
- Click on the 'Create an Agent' button to run the sample program.</p>
- <p class=formtext>Enter information as directed in the pop up dialogs to select<br>
- - the package name<br>
- - the name of the new agent<br>
- - the task report name </p>
- <p class=formtext>The sample has been coded to work with the Go Data Warehouse
- (query) package and the Retailer Contact report as the task report.<br>
- To work with another package and task report, you may need to edit the
- CreateAgents class.</p>
- <!-- * * * * * * * * * -->
- <!-- -->
- <!-- Expected Results -->
- <!-- -->
- <!-- * * * * * * * * * -->
- <p class="FormLabel">Expected Results</p>
- <p class=formtext>A new agent will be created and run. The
- generated agent can be found under My Folders in IBM Cognos
- Connection.</p>
- <!-- * * * * * * * * * -->
- <!-- -->
- <!-- Documentation -->
- <!-- -->
- <!-- * * * * * * * * * -->
- <p class="FormLabel">Documentation</p>
- <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>
- <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>
- </BODY>
- </HTML>
|