Resources

SAS® AppDev Studio 3.0 Developer's Site

InformationServicesSelector: Navigating a Repository   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 is 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

Note: The InformationServicesSelector component is sometimes referred to as the RemoteFileSelector component. The RemoteFileSelector class is the parent class.

  1. Create a new project named InformationServicesSelector.
  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 and add components to the JSP file

Refer to the Visual Data Explorer Example to complete the steps required for setting up the InformationServicesSelector component. The Visual Data Explorer example shows how the InformationServicesSelector can be used to facilitate the selection of a file. By default the component supports drilling into a folder and moving up to a parent folder.

Step 3: Finish the project

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