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.

FeedLayoutFilter Class

Represents a feed filter option in the feed view of a feed-based page layout. A filter can have only standardFilter or feedItemType set.

Namespace

Metadata

Usage

Use this class when accessing Metadata.Layout metadata components. For more information, see “FeedLayoutFilter” in the Metadata API Developer Guide.

FeedLayoutFilter Properties

The following are properties for FeedLayoutFilter.

feedFilterName

The name of a CustomFeedFilter component. Names are prefixed with the name of the parent object. For example, Case.MyCustomFeedFilter.

Signature

public String feedFilterName {get; set;}

Property Value

Type: String

feedFilterType

The type of filter.

Signature

public Metadata.FeedLayoutFilterType feedFilterType {get; set;}

Property Value

Type: FeedLayoutFilterType Enum

feedItemType

The type of feed item to display.

Signature

public Metadata.FeedItemTypeEnum feedItemType {get; set;}

Property Value

Type: FeedItemTypeEnum Enum

FeedLayoutFilter Methods

The following are methods for FeedLayoutFilter.

clone()

Makes a duplicate copy of the Metadata.FeedLayoutFilter.

Signature

public Object clone()

Return Value

Type: Object