Defining Filters for the eScript Porting Tool

The eScript Porting tool command is located in $SIEBEL_ROOT\escriptTmpl.

Filters are defined for applications, applets, business components, and business services in the escriptporter.cfg file as follows:

  • Application filters are defined in the APPLICATIONS section of escriptporter.cfg.

  • Applet filters are defined in the APPLETS section of escriptporter.cfg.

  • Business component filters are defined in the BUSCOMPS section of escriptporter.cfg.

  • Business service filters are defined in the BUSSVCS section of escriptporter.cfg.

You define a filter using either the exact name of the filter or a name pattern.

Exact Name Filter

The syntax for defining a filter using the exact name of the filter is as follows:

  • Filter_Name X = name

    Filter_Name is the prefix and X is a number, starting from 1. The name value is the name of application, applet, business component, or business service

  • Filter_NameListFile = filename

    Filename is the file containing the names of the applications, applets, business components, or business services. Each line in the file defines a name, for example, as follows:

    SAP 4x Account - SAP Maps (MO) Send AlertOnline eMail

    The file name can use a relative path or an absolute path. If using a relative path, then $siebroot\escriptTmpl\ is appended to the relative path.

Name Pattern Filter

The syntax for defining a filter using a name pattern (SQL format) is as follows:

Filter_SqlNamePattern[X] = name pattern

Filter_Name is the prefix. X is a number, starting from 1 (if there is a number). The name pattern value must be in SQL format.

Example escriptporter.cfg File

An example of an escriptporter.cfg file is as follows:

[APPLICATIONS] 
 Filter_Name1= Siebel ePharma Mobile 

[APPLETS] 
 Filter_SqlNamePattern = "Mobile" 

[BUSCOMPS] 
 Filter_Name1= Account 
 Filter_Name2= Account Attachment 
 Filter_SqlNamePattern = "Account" 

[BUSSVCS] 
 Filter_Name1= Quote - SAP 47 Maps 
 Filter_Name2= Send AlertOnline eMail 
 Filter_SqlNamePattern = "Order Maps" 
 Filter_SqlNamePattern = "Account" 
 Filter_NameListFile = service.txt