Make a field read only

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • Control whether a field is read only and whether it can be changed by a client script and server-side APIs.

    Avant de commencer

    Role required: admin

    Pourquoi et quand exécuter cette tâche

    You can customize the behavior of a read-only field, including whether a client script or server-side API can modify the read-only field value. You control the read-only behavior by updating the Read only option field in a dictionary record.

    For details on read only options, see Configuring read-only security options.

    Procédure

    1. Navigate to the field's dictionary entry in one of the following ways.
      • Navigate to a field on a form, right-click the field, and select Configure Dictionary or Show <field name>.
      • Navigate to System Definition > Dictionary, and click an entry for a field or table.
    2. Make the field read only by selecting an option in the Read only option field.
      The option that you select determines how strict the system treats the security of read-only values once they've been entered. Each option displays the field as read-only in the UI.
      OptionDescription
      Display Read Only

      Allows changes to the read-only field through client scripts and server-side operations such as TableAPI, GraphQL, and GlideRecordSecure().

      Client Script Modifiable

      Allows changes to the read-only field through client scripts but not through background scripts or server-side APIs like TableAPI, GraphQL, and GlideRecordSecure().

      Strict Read Only

      Prevents any changes to the read-only field from both client scripts and server-side APIs.

    3. Select Update.