Newer Version Available

This content describes an older version of this product. View Latest

getManagedTopics(String, ConnectApi.ManagedTopicType)

Returns managed topics of a specified type for the community.

API Version

32.0

Available to Guest Users

32.0

Requires Chatter

No

Signature

public static ConnectApi.ManagedTopicCollection getManagedTopics(String communityId, ConnectApi.ManagedTopicType managedTopicType)

Parameters

communityId
Type: String
Use either the ID for a community, internal, or null.
managedTopicType
Type: ConnectApi.ManagedTopicType
Specifies the type of managed topic.
  • Featured—Topics that are featured, for example, on the community home page, but don’t provide overall navigation.
  • Navigational—Topics that display in a navigational menu in the community.

A topic can be associated with up to two managed topic types, so a topic can be both a Featured topic and a Navigational topic.