admAddCustomFieldAlias

Description

Adds a custom field alias in the sil.aliases file.

Parameters

Return Type

Boolean (true/false)

Returns 'true' if the custom field alias was added successfully in the sil.aliases file or already exists and 'false' otherwise.

Examples

Example 1

Setting a custom field alias using custom field id:

admAddCustomFieldAlias("customfield_10000", "TestAlias");

Example 2

Setting a custom field alias using custom field name:

admAddCustomFieldAlias("Text Field", "TestAlias");

See also