Administering SAS Web Application Themes |
Typically, SAS Web Application Themes are deployed along with other SAS Web applications on the same Web application server. If you want to deploy themes to a different Web application server, you should modify the theme metadata.
There are two ways to modify the theme metadata:
Use SAS Management Console. See Modify Theme Metadata from the SAS Management Console.
Use the UpdateTheme.sas program. See Modify Theme Metadata with the UpdateTheme.sas Program.
Modify Theme Metadata from the SAS Management Console |
To deploy SAS Web Application themes to a different Web application server and modify the theme metadata, follow these steps:
Deploy the new EAR file by using the appropriate procedures for your Web application server.
In SAS Management Console, navigate to Application Management Configuration Manager, right-click on Theme Name, and select Properties.
On the Connection tab, complete the following:
Select the communication protocol (either http or https).
Enter the host name of the Web application server on which the theme is deployed.
Enter the port number of the Web application server.
Enter the name of the new theme in the Service field.
Click OK to save your changes.
To enable the new theme to go into effect, restart your Web application server.
Modify Theme Metadata with the UpdateTheme.sas Program |
To deploy SAS Web Application themes to a different Web application server and modify the theme metadata, follow these steps:
Deploy the new EAR file by using the appropriate procedures for your Web application server.
Locate the UpdateTheme.sas program in the SAS-configuration-directory\Lev1\Web\Utilities\SASThemeExtensions\themes\theme-name\MetadataTools directory.
Modify the following fields in the UpdateTheme.sas:
%let themeName=Theme Name; |
Specify the name of the theme to update. |
%let hostName=Host Name; |
Specify the host name of the Web application server on which the theme is deployed. |
%let port=Port; |
Specify the port number of the Web application server. |
%let URLPath=base URL; |
Specify the application context root of the new theme as deployed on the Web application server. |
%let protocol=http; |
If you are using Secure Sockets Layer (SSL), specify https instead of http as the protocol for the URL. |
Run the UpdateTheme.sas program.
To enable the new theme to go into effect, restart your Web application server.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.