The Deployment Template includes a set of utility scripts with deployed applications.

The following scripts are available in the control directory of a deployed application:

Script

Purpose

baseline_update

Runs a baseline update.

update_search_term_expansions

Updates the content items and keyword redirects to include search term expansions. You need to run this script under the following conditions:

export_site

Takes a path to an XML file as an argument and exports the content in the Endeca Configuration Repository to the specified XML file.

If no file is specified, site data is exported to <App_Name>-<timestamp>.xml, where the timestamp format is YYYY-MM-DD_HH-MM-SS.

get_editors_config

Exports editor configuration to the <app dir>\config\ifcr\configuration\tools\xmgr directory.

get_media

Exports media configuration to the <app dir>\config\ifcr\media directory.

get_templates

Exports template configuration to the <app dir>\config\import\template s directory.

import_site

Takes a path to an XML file and imports the content to the Endeca Configuration Repository. Optionally, you can use the --force flag to override the confirmation prompt for overwriting site content that already exists.

load_baseline_test_data

Copies data from the <app dir>\test_data\baseline\ directory to <app dir>\data\incoming for a baseline update and calls the set_baseline_data_ready_flag script.

load_partial_test_data

Copies data from the <app dir>\test_data\partial\ directory to <app dir>\data\partials\incoming for a partial update and calls the set_partial_data_ready_flag script.

partial_update

Runs a partial update.

promote_content

Promotes content and configuration in the authoring environment to the live environment.

runcommand

Provides a means of invoking methods in AppConfig.xml against specified instances of objects.

You can run runcommand with the --help flag for a list of command line arguments and flags.

set_baseline_data_ready_flag

Sets the baseline_data_ready flag in the EAC.

Note

This script is not required in applications that use CAS to produce MDEX-compatible output.

set_editors_config

Imports editor configuration from <app dir>\config\ifcr\configuration\tools\xmgr.

set_media

Imports media from <app dir>\config\ifcr\media.

set_partial_data_ready_flag

Sets the partial_extract flag in the EAC.

set_templates

Imports templates from <app dir>\config\import\templates.

initialize_services

This script should be run once after deploying an application. It does the following:


Copyright © Legal Notices