Skip to content

getHistoryObjectName

getHistoryObjectName(sobject): string

Defined in: fieldHistory.ts:26

Derive the field history object’s API name for an sobject. Opportunity is a special case — its history object is OpportunityFieldHistory, not OpportunityHistory.

string

The tracked sobject’s API name.

string

The corresponding field history object’s API name.