AssignPageType

Assigns a required Page Type value to a newly created fingerprint.

Member of namespace

Intellocate

Syntax

bool AssignPageType (PageType, ConnectionString)

Parameters

PageType:
The value of the page type to assign to the current page. PageType is stored in table in fingerprint Database. It can be numeric value, which will be stored against particular PageType. It can also be a alpha-numeric value, which will be stored in table and a numeric id will be automatically generated.
ConnectionString:
The ConnectionString should be passed so that Connection to fingerprint happens and it will write the new PageType and update template in fingerprint database

Smart parameters are supported for all parameters.

Returns

False if the numeric value cannot be retrieved from the fingerprint database or if there is no connection to the fingerprint database. Otherwise, True.

Level

Page level only.

Details

Assigns a required Page Type value to a newly created fingerprint. The assigned value corresponds to the values configured in the PageType table within the fingerprint database. These values are custom defined for each application. If the page type is non-numeric, this action will look up the corresponding numeric value within the database.
Example 1:
AssignPageType("2", @APPVAR(*/fingerprintconn:cs))

This example assigns a page type of 2 to the new fingerprint. It will read the fingerprint database connection string configured in the Application Manager.

Example 2:
AssignPageType("PageSeparator", @APPVAR(*/fingerprintconn:cs))

This example assigns a page type of "PageSeparator" to the new fingerprint. It will read the fingerprint database connection string configured in the Application Manager.