Configure the script field for records screens

  • Versão de lançamento: Australia
  • Atualizado 12 de mar. de 2026
  • 1 min. de leitura
  • Configure script screen fields to display calculated or personalized content in your mobile forms, without modifying the underlying database values.

    Antes de Iniciar

    Role required: admin

    Nota:
    For use cases and examples of how the script screen field is used, see Dynamic variable support in record screens.

    Procedimento

    1. In the web-based UI, enter sys_sg_screen_field.list in the filter navigator.
    2. Select either an existing form field or select New to open the Screen fields page.
    3. On the Screen fields page, fill in the required fields.
      Field Description
      Type Type of screen field. For a list of types and a description of how they're used, see Screen fields.

      For this configuration, select Script.

      Form field Table field that the screen field uses as a data source. Select a field that contains the dynamic variable you want to use for the script.
      Hidden Option to avoid this field from showing on the record screen.
      Order Order in which this field appears. Fields appear on the record screen from the lowest to the highest value.
      Value only Value of the field without the field label.
      Screen Record screen field that displays data from the table field specified in Form Field field.
      Execution script Script that runs when the record screen is displayed. The script must return a JSON object containing the Type and Value to display.
    4. Select Script from the Type field.
    5. From the Screen field, select the record screen where the execution script is to be activated.
    6. Enter your script in the Execution Script area, including any dynamic variables.
      Nota:
      For configuration information, see Dynamic variable support in record screens.
    7. Select Submit.