Loading Data into the Sample Project

Test the sample project by loading reference data into the Positions window.

If your project has the File XML Input adapter attached to the Positions input window, data is loaded automatically when you start the project. If you removed or omitted the adapter, use this alternative process to load the sample data.

  1. In Server View, expand the my_portfolio_valuation project to show the list of windows and streams in the project.
  2. Double-click the Positions input window to open it in Stream View.
    Stream View is in the upper right-hand portion of Run-Test perspective.
    • If your diagram has the File XML Input adapter connected to the Positions input window, Stream View shows sample data for Positions, loaded automatically from the adapter.
    • If you removed the adapter, go to the next step to load the data manually.
  3. Load positions data from a file into the Positions window.
    1. Go to File Upload view.
    2. When you have only one project, Studio selects it for you. Otherwise, click the Select Project project icon button in the view toolbar, select the my_portfolio_valuation project in the dialog, and click OK.
    3. Click the Browse button, navigate to your ...\SybaseESP\5.1\workspace\exampledata folder, and select positions.xml.
      If you do not see the positions.xml file, try changing the file name extension filter in the lower right corner of the dialog to *.xml.
    4. Click Open.
    5. With positions.xml highlighted in File Upload view, click the Upload button.
    Watch the data flow in Stream View, as Studio loads the three positions for Book1 and Book2.