Skip to content

Configured / Not Configured no longer needed (and seems to no longer work) #7

@talkingmoose

Description

@talkingmoose

Earlier versions of Jamf Pro supported the option to create Configured / Not Configured settings for keys to make them visible but “turned off”.

Jamf Pro no longer seems to support this option and it’s really not necessary today with improvements made over the past years.

I suggest removing this altogether.

Today, Managed App Schema Builder produces JSON like this:

{
    "title": "Disk Manager (com.company.diskmanager)",
    "description": "Preference settings for the fictitious Disk Manager application. This manifest demonstrates different ways to format the appearance or value of properties as well as include useful options like infoText. Jamf Pro supports many but not all elements and options here: https://github.com/json-editor/json-editor.",
    "properties": {
        "askForPassword": {
            "title": "askForPassword",
            "description": "Set Disk Manager application to require a password.",
            "property_order": 5,
            "anyOf": [
                {"type": "null", "title": "Not Configured"},
                {
                    "title": "Configured",
                    "type": "Select Value Type"
                }
            ]
        }
    }
}

Let’s simplify it to this:

{
    "title": "Disk Manager (com.company.diskmanager)",
    "description": "Preference settings for the fictitious Disk Manager application. This manifest demonstrates different ways to format the appearance or value of properties as well as include useful options like infoText. Jamf Pro supports many but not all elements and options here: https://github.com/json-editor/json-editor.",
    "properties": {
        "askForPassword": {
            "title": "Ask For Password",
            "description": "Set Disk Manager application to require a password.",
            "property_order": 25,
            "type": "boolean"
        }
    }
}

This change applies to all property types not just boolean.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions