SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 15978: Unable to prevent users from opening a cube in the Visual Data Explorer

DetailsHotfixAboutRate It

The Portal Visual Data Explorer and SAS Web OLAP Viewer for Java allow you to open cubes using the File -> Open dialog. To disable this, apply the hotfix or upgrade to a fixed release, and then edit the configuration as described below. Instructions are provide below for SAS Web OLAP Viewer and the Portal.

SAS Web OLAP Viewer

To disable the ability to open cubes in SAS Web OLAP Viewer for Java, follow the directions in the online documentation for customizing SAS Web OLAP Viewer for Java. The FileOpen element in the configuration file should be changed so that cube display is set to false, as shown here

	<FileOpen>
	  <InitialPath>
	  </InitialPath>
	  <FileTypes>
	   <Cubes display="false"/>
	   <OLAPMaps display="true"/>
	  </FileTypes>
	</FileOpen>

SAS Web OLAP Viewer 2.1/3.1

  1. Update the configuration file

    http://support.sas.com/onlinedoc/913/docMainpage.jsp?_topic=biwaag.hlp/swovj-customize.htm

  2. Recreate and redeploy SAS Web OLAP Viewer for Java

    http://support.sas.com/onlinedoc/913/getDoc/en/biwaag.hlp/a003135321.htm

SAS Web OLAP Viewer 4.2

  1. Update the configuration file

    http://support.sas.com/documentation/cdl/en/biwaag/61238/HTML/default/swovj-customize.htm

  2. Recreate and redeploy SAS Web OLAP Viewer for Java

    http://support.sas.com/documentation/cdl/en/biwaag/61238/HTML/default/a003135321.htm

SAS Information Delivery Portal

To disable the ability to open cubes in the SAS Information Delivery Portal, you must edit the web.xml.orig file from the Portal installation. The servlet entry for the InformationMapViewerServlet must be edited so that it includes the following init-param value. If other init-param values already exist, just add this init-param value below the other init-param entries in the servlet element. The servlet entry should look similar to the following when you are finished.

	<servlet>
	  <servlet-name>InformationMapViewerServlet</servlet-name>
	  <servlet-class>com.sas.servlet.util.VisualDataExplorerServlet</servlet-class>
	  <init-param>
	    <param-name>allowOpeningCubes</param-name>
	    <param-value>false</param-value>
	  </init-param>
	</servlet>
After making this change, the Portal web application must be rebuilt and redeployed. The instructions below provide the file location, and steps for rebuilding the applications depending on version.

SAS Information Delivery Portal 2.0

  1. To edit the file, follow the procedure described in the following page of the SAS Web Infrastructure Kit Administrator's Guide.

    http://support.sas.com/onlinedoc/913/docMainpage.jsp?_topic=biwaag.hlp/a003135459.htm

  2. Recreate and redeploy the Portal web application using the instructions found here

    http://support.sas.com/onlinedoc/913/docMainpage.jsp?_topic=biwaag.hlp/ag_portalconintro.htm

SAS Information Delivery Portal 4.2

  1. Edit the following file:
        <sas installation root>\SASInformationDeliveryPortal\4.2\Configurable\wars\sas.portal\WEB-INF\web.xml.orig
    
  2. Rebuild the Portal web application

    http://support.sas.com/documentation/cdl/en/biwaag/61238/HTML/default/a003291514.htm

  3. Redeploy the Portal web application

    http://support.sas.com/documentation/cdl/en/biwaag/61238/HTML/default/a003308992.htm



  4. Operating System and Release Information

    Product FamilyProductSystemProduct ReleaseSAS Release
    ReportedFixed*ReportedFixed*
    SAS SystemSAS Information Delivery Portal64-bit Enabled Solaris2.02.09.1 TS1M3 SP39.1 TS1M3 SP4
    64-bit Enabled AIX2.02.09.1 TS1M3 SP39.1 TS1M3 SP4
    Windows Vista2.02.09.1 TS1M3 SP39.1 TS1M3 SP4
    Microsoft Windows XP Professional2.02.09.1 TS1M3 SP39.1 TS1M3 SP4
    Microsoft Windows Server 2003 Standard Edition2.02.09.1 TS1M3 SP39.1 TS1M3 SP4
    Microsoft Windows Server 2003 Enterprise Edition2.02.09.1 TS1M3 SP39.1 TS1M3 SP4
    Microsoft Windows Server 2003 Datacenter Edition2.02.09.1 TS1M3 SP39.1 TS1M3 SP4
    Microsoft Windows NT Workstation2.02.09.1 TS1M3 SP39.1 TS1M3 SP4
    Microsoft Windows 2000 Professional2.02.09.1 TS1M3 SP39.1 TS1M3 SP4
    Microsoft Windows 2000 Server2.02.09.1 TS1M3 SP39.1 TS1M3 SP4
    Microsoft Windows 2000 Datacenter Server2.02.09.1 TS1M3 SP39.1 TS1M3 SP4
    Microsoft Windows 2000 Advanced Server2.02.09.1 TS1M3 SP39.1 TS1M3 SP4
    HP-UX IPF2.02.09.1 TS1M3 SP39.1 TS1M3 SP4
    SAS SystemSAS Web OLAP Viewer for JavaMicrosoft Windows 2000 Advanced Server2.13.19.1 TS1M3 SP39.1 TS1M3 SP4
    Microsoft Windows 2000 Datacenter Server2.13.19.1 TS1M3 SP39.1 TS1M3 SP4
    Microsoft Windows 2000 Server2.13.19.1 TS1M3 SP39.1 TS1M3 SP4
    Microsoft Windows 2000 Professional2.13.19.1 TS1M3 SP39.1 TS1M3 SP4
    Microsoft Windows NT Workstation2.13.19.1 TS1M3 SP39.1 TS1M3 SP4
    Microsoft Windows Server 2003 Datacenter Edition2.13.19.1 TS1M3 SP39.1 TS1M3 SP4
    Microsoft Windows Server 2003 Enterprise Edition2.13.19.1 TS1M3 SP39.1 TS1M3 SP4
    Microsoft Windows Server 2003 Standard Edition2.13.19.1 TS1M3 SP39.1 TS1M3 SP4
    Microsoft Windows XP Professional2.13.19.1 TS1M3 SP39.1 TS1M3 SP4
    Windows Vista2.13.19.1 TS1M3 SP39.1 TS1M3 SP4
    64-bit Enabled AIX2.13.19.1 TS1M3 SP39.1 TS1M3 SP4
    64-bit Enabled Solaris2.13.19.1 TS1M3 SP39.1 TS1M3 SP4
    HP-UX IPF2.13.19.1 TS1M3 SP39.1 TS1M3 SP4
    * For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.