Resources

SAS® AppDev Studio 3.0 Developer's Site

Visual Data Explorer   About It Build It  

Data Source: Information Map

Please install the latest webAF template updates prior to building this example. For more information about the server-side example templates used by this example, see Web Application Example Templates and Built-in Web Application Templates and Options.

The following example is not meant to be a complete web application, rather it is to show how to use a particular component(s). The example does not address the issue of immediately freeing up resources when the user navigates off the web application or closes the web browser. Any necessary resources created in the example will stay around until the associated HTTPSession times out. If this example were used in a multi-user environment, it is possible to exhaust the available resources until HTTPSessions time out and free up their associated resources.

Step 1: Create a project in webAF

  1. Create a new project named VisualDataExplorer.
  2. Select Web Application from the webAF Projects list.
  3. Accept the defaults as you go through the Web App wizard until you have reached step #4 of the wizard. At this step you will need to select Examples in the radio box titled Display list for. Choose Information Map Viewer Servlet from the list box titled Type of initial content.
  4. Continue accepting defaults as you complete the Web App wizard.
For more information about architecture administration, see the SAS 9.1.3 Intelligence Architecture: Planning and Administration Guide (PDF).

Step 2: Set up access to the data source

  1. Open the sas_metadata_source_omr.properties file from the Files Tab of the Project Navigator. Edit the value of the omr_password property. For more information about String encryption, see the API documentation.
  2. Open the web.xml file from the Files Tab of the Project Navigator. Edit the init-param value of the metadata-password for the ControllerServlet.

Step 3: Add components to the JSP file

The default JSP file will contain a remote file selector component that will allow selection of an information map.

Step 4: Finish the project

  1. Build the project.
  2. Start the Java Web server.
  3. Execute in browser.