You can install application templates using bulk deployment by importing bulk templates to the station database via the Template Manager view. The workflow is very similar to deploying component and device templates, with a few key differences that are outlined
here.
Prerequisites:
- All required modules are installed on the platform including any modules containing required PX pages or images. Otherwise,
application templates will not install to a station.
- Target stations must have the Job and Template services already installed.
- The WB (-wb) runtime profile is required to install templates.
NOTE: Only one application template can be installed on a station at any one time. Deploying multiple instances of an application
template to a station is not meaningful since only the contents of the last application template installed will exist on the
station. The real benefit of using the bulk deployment feature is that the template configurations can be stored in an Excel
sheet instead of having to enter them by hand during installation.
Perform the following steps:
- Expand in the Nav tree and double-click the TemplateService.
The Template Manager view opens.
- Click the Bulk Deploy from Excel button.
The File Chooser window opens.
- Click an Excel file to import and click Open.
The job deploys the template instances contained in the Excel worksheets to the station. First it generates template components
for all template instances. Then it applies the input, output, relation, and configuration elements to the generated template
components. This allows links and relations to be established between deployed template instances.
The Template Bulk Deploy progress window opens to show the deployment progress.
CAUTION: Clicking Cancel on the progress window stops the bulk deployment at the point of progress. It does not restore any template component deployments
that are already processed.
If the Excel file is associated with an application template, the
Install Application Template wizard will run. It allows you to confirm the Excel file selection, choose to make a station backup before installation,
and install the application template. It does not prompt for configuration values, but uses the entries from the Excel sheet.
It shows installation progress, and notifies you when the installation is complete.
Once the deployment process is complete, the Template Manager view displays the generated template instances.
The Wire Sheet view shows the template components generated, linked and configured.