OBJECT

FieldValueOption

Value a field can take, with its label and color, for example to offer it in a filter.

link GraphQL Schema definition

  • type FieldValueOption {
  • # Value of the option as used in filter conditions and field values, typically the
  • # id of the option or of the referenced record.
  • value: String
  • # Label of the option; a translation key when useLang is true.
  • label: String!
  • # Label of the option in the current user's language.
  • labelTranslated: String!
  • # When true, the label is treated as a translation key and resolved through the
  • # translation system; otherwise the literal label is shown.
  • useLang: Boolean!
  • # True when the option, or the record it points to, is deleted.
  • isDeleted: Boolean!
  • # True when the option points to an archived record.
  • isArchived: Boolean!
  • # Color of the option, encoded as an integer; null when the option has no color.
  • color: Int
  • # Secondary line shown under the label. For an option that is a user it is the
  • # sign-in email, null when the caller cannot read it. Null for other options.
  • extraInfo: String
  • # URL of the picture of the option. Set only for an option that is a user, null
  • # when the user has no picture.
  • pictureUrl: String
  • }