Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ConnectApi.LabeledRecordField

Record field containing a label and a text value.

This class is abstract.

Subclass of ConnectApi.AbstractRecordField.

Superclass of:

The composition of a feed can change between releases. Write your code to handle instances of unknown subclasses.

Important

Name Type Description Available Version
label String Localized string describing the record field. 29.0
text String Text value of the record field. All record fields have a text value. To ensure that all clients can consume new content, inspect the record field’s type property. If it isn’t recognized, render the text value as the default case. 29.0