New JSON Schema adds invalid key to the plist #129

Closed
opened 2026-01-19 18:31:37 +00:00 by michael · 2 comments
Owner

Originally created by @Uggbert on GitHub.

When using json schema switching to plist view shows that a new entry under enrollmentActions is created. highlighted below

<key>enrollmentActions</key>
 >>>> <key>actions</key> <<<<
      <array>
       <dict>
          <key>label</key>
          <string>LabelName</string>
          <key>icon</key>
          <string>IconPath.filename</string>
          <key>policy</key>
          <string>JamfPolicyTrigger</string>
        </dict>
        { ... }
</array>
 >>>> </dict> <<<<

This breaks the contents of enrollmentActions, so they never end up firing.

I think this can be fixed if its possible to move the 'Add Item' button directly under the Enrolment Actions and remove the single entry for 'Actions'

Originally created by @Uggbert on GitHub. When using json schema switching to plist view shows that a new entry under <key>enrollmentActions</key> is created. highlighted below ``` <key>enrollmentActions</key> >>>> <key>actions</key> <<<< <array> <dict> <key>label</key> <string>LabelName</string> <key>icon</key> <string>IconPath.filename</string> <key>policy</key> <string>JamfPolicyTrigger</string> </dict> { ... } </array> >>>> </dict> <<<< ``` This breaks the contents of enrollmentActions, so they never end up firing. I think this can be fixed if its possible to move the 'Add Item' button directly under the Enrolment Actions and remove the single entry for 'Actions'
michael added the bug label 2026-01-19 18:31:37 +00:00
Author
Owner

@duggan1972 commented on GitHub:

I'm seeing this issue as well

@duggan1972 commented on GitHub: I'm seeing this issue as well
Author
Owner

@scriptingosx commented on GitHub:

An updated schema should be available when you create a new profile in the Jamf Pro UI. Please test!

@scriptingosx commented on GitHub: An updated schema should be available when you create a _new_ profile in the Jamf Pro UI. Please test!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jamf/Setup-Manager#129