Resources

SAS® AppDev Studio 3.0 Developer's Site

Simple Acme Sales Example   About It See It Build It  

To create the Simple Acme Sales document, follow these steps:

  1. Make sure that the SAS IOM Spawner is running. To start it, select Start [arrow] Programs [arrow] SAS AppDev Studio [arrow] Services [arrow] SAS V9.1 [arrow] Start SAS V9.1 IOM Spawner.

  2. Start webEIS.

  3. Create a new document named Acme-Sales1, and name the first section Sales. Click OK.

  4. Connect to your local machine. Select your machine from the Server Connection drop-down list the Data window. In the Data Source list, select MDDB Example Sales Data (SASHELP SASHELP.PRDMDDB). Click OK. This populates the data tree to the left of the component window.

  5. Add the visual components and arrange them as shown on the See It tab:

    Component Icon
    Label Label graphic
    Bar Chart Bar Chart graphic
    Drill Path Drill Path graphic
    Multidimensional Table Table graphic
    Hyperlink Hyperlink graphic

  6. Specify the data to display in your table and chart as follows:

    Query Selected Item(s)
    Rows Geographic and Time hierarchies
    Columns Product Line hierarchy
    Measures Actual Sales and Predicted Sales analysis variables

    Click OK. Select View [arrow] Refresh to load the data into the table and chart. Note that SUM is automatically added to the Measures item under each of the selected analysis variables.

    Tip: You can use the following single-key shortcuts to move items in the Data tree:

    • r    Moves the selected hierarchy/level to Rows.
    • c    Moves the selected hierarchy/level to Columns.
    • s    Moves the selected statistic to all of the variables under Measures.
    • m   Moves the selected variable to Measures.
    • d    Removes the selected item from Rows, Columns, and Measures.

  7. Set the following values for the report label. Right-click the Label component to open the pop-up menu, and then select Properties.

    Tab Name Value
    LabelView Label Acme Inc.
    Appearance Color Foreground Blue
    Appearance Font Dialog-Bold-20pt

    Click Close to apply and save your changes.

  8. Set the following values for the hyperlink. Right-click the Hyperlink component to open the pop-up menu and then select Properties.

    Tab Name Value
    LabelView Label SAS Home Page
    Hyperlink URL http://www.sas.com

    Click Close to apply and save your changes.

  9. Use the spacing and alignment tools that are available from the Format menu to arrange the components on the report.

  10. Save the document with the name Acme-Sales1. Start the Web server by selecting Tools [arrow] Start Java Web Server. Then select File [arrow] Preview in Browser to preview the document.