Administer > System configuration parameters > Client parameters for Web clients > Web parameter: autoCompleteSkipCachingChar

Web parameter: autoCompleteSkipCachingChar

Web parameters change the behavior of the web clients that connect to the web tier. For more information, see Web tier parameters.

Parameter

autoCompleteSkipCachingChar

Description

A Comfill field’s link record may define query expressions that split the Comfill field's values to multiple levels, using a special character (such as a “/”) as the separator. In this case, you must specify the separator in this parameter, so that the Auto Complete feature returns the same query results as the Fill operation when the user input contains this separator character.

The following table shows an example of such Comfill fields.

Comfill field

Field value

Level 0 value (Company)

Level 1 value (Location)

Separator

Location

 

advantage/Africa

advantage

Africa

/

advantage/Asia

advantage

Asia

/

In this example, the Link record of the Location field uses the following expressions, where “/” is used as a separator:

$find.skip=true

if (index("/", location.full.name in $File)=0) then ($ln.query="location.full.name#\""+location.full.name in $File+"\"";$ln.query=nullsub($ln.query, "true")+" and level=0")

if (index("/", location.full.name in $File)>0) then ($L.tempx=0;for $L.ix = 1 to lng(location.full.name in $File) do (if (substr(location.full.name in $File, $L.ix, 1)="/") then $L.tempx+=1);$ln.query="location.full.name#location.full.name in $File and level="+$L.tempx)

Note If the Link records of your Comfill fields use a different character as the separator, set this parameter to that character (for example, “|”). This is a global setting, which means all Comfill fields that have Auto Complete enabled have to use the same separator.

If a Comfill field allows values that contain the specified character (for example, “E-mail / Webmail (Africa)”), but its Link record does not use the specified character in its query expressions, Auto Complete will retrieve the correct query results no matter whether the user input contains the specified character or not.

Valid if set from

Web tier configuration file (web.xml)

Requires restart of the web applications server?

Yes

Default value

/ (forward slash)

Possible values

Any ASCII character

Example usage

<context-param>
  <param-name>autoCompleteSkipCachingChar</param-name>
  <param-value>/</param-value>
</context-param>

Related topics

System parameters

Web tier parameters

Enter a parameter in the web client URL

Enter a parameter in the web.xml file

Client parameters for web clients