Newer Version Available

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

HashtagDefinition

HashtagDefinition represents hashtag (#) topics in public Chatter posts and comments. Public posts and comments include those on profiles and in public groups, but not those on records or in private groups. This object is available in API version 26.0 and later.

Starting in Spring ’16, API access to HashtagDefinition is disabled across all API versions. Any integrations relying on API queries to this object stop working. You can continue to use hashtags in posts and comments, and the hashtags continue to create corresponding topics. We recommend that you redirect all API queries and reports using the HashtagDefinition object to use the Topic object instead. For more information, see Retiring the Legacy HashtagDefinition Object—FAQs.

Important

Supported Calls

delete(), describeSObjects()getDeleted()getUpdated()query()retrieve()

Fields

Field Name Details
HashtagCount
Type
int
Properties
Filter, Group, Nillable, Sort
Description
The number of times a hashtag topic is used.
Name
Type
string
Properties
Filter, Nillable, Sort
Description
The string of characters following the hashtag (#) in a hashtag topic.
NameNorm
Type
string
Properties
Filter, Nillable, Sort
Description
The string of characters following the hashtag (#) in a hashtag topic, normalized to remove capitalization and punctuation.
NetworkId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
Identifier of the community to which the HashtagDefinition belongs. This field is available only if Salesforce Communities is enabled in your organization.

Usage

Use this object to identify public hashtag topics and see how often they’re used.