Skip to content
Erik Gomez edited this page Feb 20, 2021 · 21 revisions

_language - Type: String, Default Value: ""

The targeted language locale for the user interface.

Note: For a list of locales, please run the following command in Terminal: /usr/bin/locale -a

actionButtonText - Type: String, Default Value: ""

Modifies the actionButton, also known as the Update Device button

informationButtonText - Type: String, Default Value: ""

Modifies the informationButton, also known as the More Info button

mainContentHeader - Type: String, Default Value: ""

Modifies the mainContentHeader. This is the Your device will restart during this update text.

mainContentNote - Type: String, Default Value: ""

Modifies the mainContentNote. This is the Important Notes text.

mainContentSubHeader - Type: String, Default Value: ""

Modifies the mainContentSubHeader. This is the Updates can take around 30 minutes to complete text.

mainContentText - Type: String, Default Value: ""

Modifies the mainContentText. This is the A fully up-to-date device is required to ensure that IT can your accurately protect your device.\n\nIf you do not update your device, you may lose access to some items necessary for your day-to-day tasks.\n\nTo begin the update, simply click on the button below and follow the provided steps. text.

Note: The python version of Nudge required three paragraphs. With the Swift version, this is no longer necessary. Simply pass two newlines (\n\n) to start a new paragraph. You can have as many or as few as you want, with the only limitation being window space.

mainHeader - Type: String, Default Value: ""

Modifies the mainHeader. This is the Your device requires a security update text.

primaryQuitButtonText - Type: String, Default Value: ""

Modifies the primaryQuitButton, also known as the Later button

secondaryQuitButtonText - Type: String, Default Value: ""

Modifies the secondaryQuitButton, also known as the I understand button

subHeader - Type: String, Default Value: ""

Modifies the subHeader. This is the A friendly reminder from your local IT team text.

Example (JSON)

{
  "userInterface": {
    "updateElements": [
      {
        "_language": "es",
        "actionButtonText": "Actualizar dispositivo",
        "informationButtonText": "Más información",
        "mainContentHeader": "Su dispositivo se reiniciará durante esta actualización",
        "mainContentNote": "Notas importantes",
        "mainContentSubHeader": "Las actualizaciones pueden tardar unos 30 minutos en completarse",
        "mainContentText": "Se requiere un dispositivo completamente actualizado para garantizar que IT pueda proteger su dispositivo con precisión.\n\nSi no actualiza su dispositivo, es posible que pierda el acceso a algunos elementos necesarios para sus tareas diarias.\n\nPara comenzar la actualización, simplemente haga clic en el botón Actualizar dispositivo y siga los pasos proporcionados.",
        "mainHeader": "Tu dispositivo requiere una actualización de seguridad",
        "primaryQuitButtonText": "Más tarde",
        "secondaryQuitButtonText": "Entiendo",
        "subHeader": "Un recordatorio amistoso de su equipo de IT local"
      }
    ]
  }
}

Example (Mobile Configuration)

Clone this wiki locally