<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 CreateReportUI 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">CreateReportUI.java - Creates a new report in the content store.</p> <p class="formText">The Java CreateReportUI sample program contains methods to create a new report in the content store.</p> <br> <!-- * * * * * * * * * --> <!-- --> <!-- 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 run.bat.<br><br> A window will be opened containing:<br> - Create Report command button<br> - URL text box<br> - Output Pane<br> <br> Click on the 'Create Report' button to run the sample program.</p> <p class="formText">Enter information as directed in the pop up dialogs to select<br> - the package to contain the new report<br> - the name of the new report<br> - the columns for the report<br> </p> <p class="formText">The sample has been coded to work with the Go Data Warehouse (query) package.<br> To work with another package, you may need to edit the Metadata class to select nodes differently.<br> (Edit both occurrences of "/ResponseRoot/folder/folder/folder/querySubject")</p> <!-- * * * * * * * * * --> <!-- --> <!-- Expected Results --> <!-- --> <!-- * * * * * * * * * --> <p class="FormLabel">Expected Results</p> <p class="formText">A new report will be created in the content store.</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>