PreviousNextIndex

CCXML Templates

Preferences > Avaya > Dialog Designer > Call Control > CCXML Templates

To simplify repetitive CCXML application development, the designer can create reusable CCXML templates. Click New to create a template. Click Import to import a CCXML template. You can define the following configurable CCXML template fields:

New Template Dialog Fields 

Field

Description

Name

Name of the template. Enter an appropriate name which explains the purpose of the template.

Context

Enter a context of the template, in terms of how you expect to use the template in your CCXML application development. Possible values are:

  • ccxml_all - a template that applies to all CCXML code.
  • ccxml_new - a clean slate general template, for getting started.
  • ccxml_base - a clean slate general template.
  • ccxml_tag - a template with one or more commonly used CCXML tags.
  • ccxml_attribute - a template with one or more commonly used CCXML attributes.
  • ccxml_attribute_value - a template with one or more commonly used CCXML attribute values.

Description

Additional information to describe the template and its context.

Automatically insert option

Indicate whether the template should be automatically inserted into your CCXML code development. Otherwise, leave ed.

Pattern

Indicate a common reusable pattern or code section for the CCXML template being defined. After completing the step, click OK.

Insert Variable

When building your patterns, use the Insert Variable option to quickly insert commonly used variables. Available insertion variables are:

  • cursor - The cursor position after editing template variables.
  • current date - Current date.
  • dollar - Dollar symbol.
  • encoding - Creating file encodings.
  • line_selection - Selected lines.
  • time - Current time.
  • user name - User name.
  • work_selection - Selected lines.
  • year - Current year.


PreviousNextIndex

©2009, Avaya Inc. All rights reserved.