Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ConnectApi.CdpCalculatedInsightInput

Input representation for a calculated insight.
Property Type Description Required or Optional Available Version
apiName String API name of the calculated insight with suffix __cio. Required for creating a calculated insight

Optional for updating a calculated insight

57.0
createdFrom​Package Boolean Specifies whether the calculated insight was created from an installed package (true) or not (false). Optional 57.0
dataSpaceName String Name of the data space. Optional 57.0
definitionType ConnectApi.​CalculatedInsight​DefinitionTypeEnum Definition type of the calculated insight. Values are:
  • CALCULATED_METRIC
  • CALCULATED_METRIC
  • CALCULATED_METRIC
Required for creating a calculated insight

Optional for updating a calculated insight

57.0
description String Calculated insight description. Optional 57.0
displayName String Calculated insight display name. Required for creating a calculated insight

Optional for updating a calculated insight

57.0
draft Boolean Specifies whether to save the calculated insight as draft (true) or not (false). Optional 57.0
expression String Calculated insight ANSI SQL expression. Required for creating a calculated insight

Optional for updating a calculated insight

57.0
packagedCalculated​InsightApiName String API name of the packaged calculated insight. Optional 57.0