RT 3.8.17 Documentation

RT::ObjectCustomFieldValue Overlay

Go to latest version →

LoadByTicketContentAndCustomField { Ticket => TICKET, CustomField => CUSTOMFIELD, Content => CONTENT }

Loads a custom field value by Ticket, Content and which CustomField it's tied to

CustomFieldObj

Returns the CustomField Object which has the id returned by CustomField

Content

Return this custom field's content. If there's no "regular" content, try "LargeContent"

Object

Returns the object this value applies to

Delete

Disable this value. Used to remove "current" values from records while leaving them in the history.

_FillInTemplateURL URL

Takes a URL containing placeholders and returns the URL as filled in for this ObjectCustomFieldValue. The values for the placeholders will be URI-escaped.

Available placeholders:

__id__

The id of the object in question.

__CustomField__

The value of this custom field for the object in question.

__WebDomain__, __WebPort__, __WebPath__, __WebBaseURL__ and __WebURL__

The value of the config option.

ValueLinkURL

Returns a filled in URL template for this ObjectCustomFieldValue, suitable for constructing a hyperlink in RT's webui. Returns undef if this custom field doesn't have a LinkValueTo

ValueIncludeURL

Returns a filled in URL template for this ObjectCustomFieldValue, suitable for constructing a hyperlink in RT's webui. Returns undef if this custom field doesn't have a IncludeContentForValue

← Back to index