admUpdateCustomField

Description

Updates a custom field, the searcher can also be updated.

Parameters

Return Type

boolean

Returns true if the custom field is updated and false otherwise.

Example

Example

Changing the name of the customfield_10000 and make it use a free text searcher

admUpdateCustomField("customfield_10000", "New Custom Field Name", "test description", "Free Text Searcher");

If the provided custom field searcher key or name is wrong, it will be ignored and the custom field will be updated with no searcher configured.

See also

Peacock