SurveyQuestion

Represents a question in a survey.

Introduced in API version 40.0.

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

You can’t define custom fields for the SurveyQuestion object using the Object Manager.

  • Type: textarea
  • Properties: Nillable
  • Introduced: API version 65.0
  • Type: string
  • Properties: Filter, Group, Sort
  • Description: The API name of the SurveyQuestion. The API name must be unique within a particular version of the survey.
  • Type: boolean
  • Properties: Defaulted on create, Filter, Group, Sort
  • Introduced: API version 42.0
  • Description: Indicates whether the question was deleted from the survey.
  • Default value: false
  • Type: string
  • Properties: Filter, Group, idLookup, Sort
  • Description: Up to the first 250 characters of the label for the question.
  • Type: int
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 54.0
  • Description: The order in which the page is displayed.
  • Type: string
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 52.0
  • Description: The label for the page.
  • Type: int
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 62.0
  • Description: The number of choices for the question.
  • Type: textarea
  • Properties: Nillable
  • Introduced: API version 46.0
  • Description: The label for the question.
  • Type: int

  • Properties: Filter, Group, Nillable, Sort

  • Introduced: API version 52.0

  • Description:

    The order in which the question is displayed.

    The label for the page.

  • Type: picklist
  • Properties: Filter, Group, Restricted picklist, Sort
  • Description: The type of question. Possible values include:
  • Possible values:
    • Boolean — Boolean — This value is available in API v49.0 and later.
    • CSAT — CSAT
    • Currency — Currency
    • Date — Date
    • DateTime — DateTime
    • FreeText — FreeText
    • Image — Image
    • Matrix — Matrix — This value is available in API v55.0 and later.
    • MultipleChoice — MultipleChoice
    • MultiSelectPicklist — MultiSelectPicklist
    • NPS — NPS
    • Number — Number
    • Picklist — Picklist
    • RadioButton — RadioButton
    • StackRank — StackRank
    • Rating — Rating
    • ShortText — ShortText — This value is available in API v49.0 and later.
    • Slider — Slider
    • Toggle — Toggle
  • Type: reference
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 55.0
  • Description: The ID of the parent question. This field is blank when the question itself is the parent question. This field is available in API v55.0 and later, with Feedback Management - Starter and Feedback Management - Growth licenses.
  • Relationship name: RelatedQuestion
  • Relationship type: relationship
  • Refers to: SurveyQuestion
  • Type: int
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 55.0
  • Description: The order in which the question is displayed within the parent question. This field is available in API v55.0 and later, with Feedback Management - Starter and Feedback Management - Growth licenses.
  • Type: reference
  • Properties: Filter, Group, Sort
  • Description: Lookup to the SurveyPage that contains the question.
  • Relationship name: SurveyPage
  • Relationship type: relationship
  • Refers to: SurveyPage
  • Type: reference
  • Properties: Filter, Group, Sort
  • Description: The ID of the SurveyVersion that the question belongs to.
  • Relationship name: SurveyVersion
  • Relationship type: masterdetail
  • Refers to: SurveyVersion
  • Type: picklist

  • Properties: Filter, Group, Nillable, Restricted picklist, Sort

  • Introduced: API version 51.0

  • Description:

    The validations available for the short-text question. Possible values include:

    • Custom - Cu
    • Number - Nu

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version.