Skip to content

Secondary Registration View

Simone Martorelli edited this page Feb 8, 2021 · 2 revisions

Stored values for the Secondary Registration Child View Controller are found in SecondaryRegistrationChildVCConstants.swift. Below is an example of the View Controller displaying the content applied from the constants file:

primaryRegistration

  1. Stored string found in SecondaryRegistrationChildVC_Constants.header.

  2. Stored string found in SecondaryRegistrationChildVC_Constants.subheader.

  3. Checkbox Buttons:

    • Labels: Each label corresponds to a stored string used in a Term constructor in InfoPopoverConstants.swift:InfoPopoverConstants.SecondaryRegistrationVC.Option.* with InfoPopoverConstants.SecondaryRegistrationVC.Option.object1.term being the first one displayed and so forth.

    dataTypeStruct

    • Keys: When a customer has enabled a checkbox, the corresponding string associated with the equivalent key will be stored in an array written to the application plist (com.ibm.jamf.enrollment.plist), associated with the string attributed to SecondaryRegistrationChildVC_Constants.Keys.optionArray

    dataTypeStruct

Example: If a customer were to enable checkbox one and three, "spi" and "government" would be stored in an array called "SelectedDataTypes" in the applications plist (com.ibm.jamf.enrollment.plist).

Clone this wiki locally