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.

Metadata

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

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.

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

public String feedFilterName {get; set;}

Type: String

The type of filter.

public Metadata.FeedLayoutFilterType feedFilterType {get; set;}

Type: FeedLayoutFilterType Enum

The type of feed item to display.

public Metadata.FeedItemTypeEnum feedItemType {get; set;}

Type: FeedItemTypeEnum Enum

The following are methods for FeedLayoutFilter.

  • clone()

    Makes a duplicate copy of the Metadata.FeedLayoutFilter.

Makes a duplicate copy of the Metadata.FeedLayoutFilter.

public Object clone()

Type: Object