CSharp_AddReport_Explain.html 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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 Software Development Kit C# AddReport 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">AddReport.sln - Creates a new Report Object.</p>
  16. <p class="formText">The C# AddReport sample program creates a Report Object in the content store based on file you provide containing a valid xml report specification.</p>
  17. <br>
  18. <!-- * * * * * * * * * -->
  19. <!-- -->
  20. <!-- Dependent Files -->
  21. <!-- -->
  22. <!-- * * * * * * * * * -->
  23. <p class="FormLabel">Dependent Files</p>
  24. <p class="formText">You will need to generate an xml file containing your desired report specification.</p>
  25. <!-- * * * * * * * * * -->
  26. <!-- -->
  27. <!-- How To Run -->
  28. <!-- -->
  29. <!-- * * * * * * * * * -->
  30. <p class="FormLabel">How To Run The Sample Program</p>
  31. <p class="formText">Double click on the file ../bin/AddReport.exe<br><br>
  32. A window will be opened containing:<br>
  33. &nbsp;&nbsp;&nbsp;&nbsp;- Option selection dropdown box<br>
  34. &nbsp;&nbsp;&nbsp;&nbsp;- Run Option command button<br>
  35. &nbsp;&nbsp;&nbsp;&nbsp;- URL text box<br>
  36. &nbsp;&nbsp;&nbsp;&nbsp;- Results Display Panel<br>
  37. Select a sample option from the dropdown list. Click on the 'Run Option' button to run the sample program.
  38. Use the dialog box to select your xml file.</p>
  39. <!-- * * * * * * * * * -->
  40. <!-- -->
  41. <!-- Expected Results -->
  42. <!-- -->
  43. <!-- * * * * * * * * * -->
  44. <p class="FormLabel">Expected Results</p>
  45. <p class="formText">If you selected the 'Validate Specification' option, your report specification will be validated. Success or failure
  46. will be reported in the output pane. If you selected the 'Add Specification to the Content Store' option, the xml file
  47. will be validated, and, if successful, a new report will be created in the Content Store. You will be prompted to provide a
  48. name for the new report.
  49. <!-- * * * * * * * * * -->
  50. <!-- -->
  51. <!-- Documentation -->
  52. <!-- -->
  53. <!-- * * * * * * * * * -->
  54. <p class="FormLabel">Documentation</p>
  55. <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>
  56. <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>
  57. </BODY>
  58. </HTML>