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.
  • feedFilterType
    The type of filter.
  • feedItemType
    The type of feed item to display.

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.

clone()

Makes a duplicate copy of the Metadata.FeedLayoutFilter.

Signature

public Object clone()

Return Value

Type: Object