CSharp_Save_Explain.html 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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# saveOptions 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">saveOptions.sln - Saves the report output or saves as a new report name.</p>
  16. <p class="formText">The C# saveOptions sample program contains methods to save a report or save the report as a
  17. different name.</p>
  18. <br>
  19. <!-- * * * * * * * * * -->
  20. <!-- -->
  21. <!-- Dependent Files -->
  22. <!-- -->
  23. <!-- * * * * * * * * * -->
  24. <p class="FormLabel">Dependent Files</p>
  25. <p class="formText">All associated files are contained in the bin directory of the csharp directory.</p>
  26. <!-- * * * * * * * * * -->
  27. <!-- -->
  28. <!-- How To Run -->
  29. <!-- -->
  30. <!-- * * * * * * * * * -->
  31. <p class="FormLabel">How To Run The Sample Program</p>
  32. <p class="formText">Double click on the file ../bin/save.exe<br><br>
  33. A window will be opened containing:<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;- Report Path and Name text box<br>
  37. &nbsp;&nbsp;&nbsp;&nbsp;- Select option combo box <br>
  38. &nbsp;&nbsp;&nbsp;&nbsp;- Results Display Window <br>
  39. Click on the 'Run Option' button to run the sample program.</p>
  40. <!-- * * * * * * * * * -->
  41. <!-- -->
  42. <!-- Expected Results -->
  43. <!-- -->
  44. <!-- * * * * * * * * * -->
  45. <p class="FormLabel">Expected Results</p>
  46. <p class="formText">If the 'Save Report Output' option is selected, then the report specified will be
  47. saved in IBM Cognos Connection. If the 'Save Report As' option is selected, then the report specified will
  48. be saved as 'SaveASReport' by default in IBM Cognos Connection. The name can be changed within the code.</p>
  49. <p class="formText">This sample does not demonstrate working with parameters or prompts. Select a report that does not prompt for parameter values.</p>
  50. <!-- * * * * * * * * * -->
  51. <!-- -->
  52. <!-- Documentation -->
  53. <!-- -->
  54. <!-- * * * * * * * * * -->
  55. <p class="FormLabel">Documentation</p>
  56. <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>
  57. <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>
  58. </BODY>
  59. </HTML>