The GETRESOURCEALIAS function returns the resource alias value specified in a Resource Registry resource name file (.mrn).

resourcelib->GETRESOURCEALIAS (sinlge-text-expression, single-text-expression)
GETRESOURCEALIAS (single-text-expression, single-text-expression)
A single text item

The GETRESOURCEALIAS function loads a Resource Registry resource configuration file and retrieves the specified alias value. The values are defined as part of the Global object in the .mrc file.

In the below example the resource configuration file is defined as:
<?xml version="1.0" encoding="UTF-8"?>
		<ResourceFile ActiveVirtualServer="test">Company.mrn</ResourceFile>

The resource name file is defined as:

<?xml version="1.0" encoding="UTF-8"?>
		<Value Server="test" encrypt="OFF">ABC</Value>

..when used as a part of this rule:


In this scenario, the return value is "ABC".

When an absolute path is not defined in the location, the default location is the map directory.