Specifying Template Settings

Template settings are a group of settings that apply to almost all configuration plug-ins and can be shared across multiple property settings. For example, HTTP port is a template setting, and rather than specifying it for each and every configuration value where it is needed (PIA ‘URL, URI URL, Integration Gateway URL, and so on), you can specify it once in the template settings, and it will be replicated as needed throughout the template file, where referenced. This avoids unnecessary repetition and errors.

You can use %SystemVariable to default the value to a system variable; and use

%ENV_VARIABLE_NAME% to set.

You can also retrieve stored values in the web profile web history, by using

@webhist.<property_name>.

The following example illustrates the template settings section of a sample template file:

template.domain=@webhist.SESSIONCOOKIEDOM
template.host=@webhist.WEBSERVERNAME
template.httpport=@webhist.PORTALHTTPPORT
template.jslport=@webhist.jolt_port
template.localnode=%LocalNode
template.piasite=@webhist.ps.discovery.siteName
template.sslport=@webhist.PORTALHTTPSPORT
template.tools_release=%ToolsRelease
template.userid=%UserId
Property Description

template.domain

Name of the PIA domain, such as ‘peoplesoft’.

template.host

Server host for the web server installation.

template.httpport

The HTTP port on which the PIA domain listens.

template.jslport

Jolt port.

template.localnode

The current node used by the system. %Dbname or %LocalNode can be used if applicable.

template.piasite

The name of the PeopleSoft site.

template.sslport

The HTTPS port on which the PIA domain listens.

template.tools_release

PeopleTools release.

template.userid

User ID for accessing and configuring the system.