Nudge JSON

raghdasi
New Contributor III

Hello There,
I am wondering if anyone having same issue that I am facing regarding Nudge.  Somehow when I am launching it the Nudge window doesn't show Deferral dropdown box as it is suppose to, So user can't defer the app any shap or form and it stays on window until user updates their compurter. All settiing for deferral are in JSON file. 

Deferral dropdown doesn't show on buttom right as it is suppose to. 

Any help appreciated. Screenshot 2023-04-14 at 3.05.58 pm.png

 

{

  "optionalFeatures": {

    "acceptableApplicationBundleIDs": [],

    "acceptableAssertionUsage": false,

    "acceptableCameraUsage": false,

    "acceptableScreenSharingUsage": false,

    "aggressiveUserExperience": true,

    "aggressiveUserFullScreenExperience": true,

    "asynchronousSoftwareUpdate": true,

    "attemptToBlockApplicationLaunches": false,

    "attemptToFetchMajorUpgrade": true,

    "blockedApplicationBundleIDs": [],

    "enforceMinorUpdates": true,

    "terminateApplicationsOnLaunch": false

  },

  "osVersionRequirements": [

    {

      "aboutUpdateURL_disabled": "https://support.apple.com/en-us/HT211896#macos1121",

      "aboutUpdateURLs": [

        {

          "_language": "en",

          "aboutUpdateURL": "https://support.apple.com/en-us/HT211896#macos1121"

        },

        

      ],

      "actionButtonPath": open "x-apple.systempreferences:com.apple.preferences.softwareupdate?client=softwareupdateapp",

      "majorUpgradeAppPath": "/Applications/Install macOS Ventura.app",

      "requiredInstallationDate": "2023-08-14T00:00:00Z",

      "requiredMinimumOSVersion": "13.3.1",

      "targetedOSVersionsRule": "default"

    }

  ],

  "userExperience": {

    "allowGracePeriods": false,

    "allowLaterDeferralButton": true,

    "allowUserQuitDeferrals": false,

    "allowedDeferrals": 1000000,

    "allowedDeferralsUntilForcedSecondaryQuitButton": 14,

    "approachingRefreshCycle": 6000,

    "approachingWindowTime": 72,

    "elapsedRefreshCycle": 300,

    "gracePeriodInstallDelay": 23,

    "gracePeriodLaunchDelay": 1,

    "gracePeriodPath": "/private/var/db/.AppleSetupDone",

    "imminentRefreshCycle": 600,

    "imminentWindowTime": 24,

    "initialRefreshCycle": 18000,

    "maxRandomDelayInSeconds": 1200,

    "noTimers": false,

    "nudgeRefreshCycle": 60,

    "randomDelay": false

  },

  "userInterface": {

    "actionButtonPath": "munki://updates",

    "fallbackLanguage": "en",

    "forceFallbackLanguage": false,

    "forceScreenShotIcon": false,

    "iconDarkPath": "/somewhere/logoDark.png",

    "iconLightPath": "/somewhere/logoLight.png",

    "screenShotDarkPath": "/somewhere/screenShotDark.png",

    "screenShotLightPath": "/somewhere/screenShotLight.png",

    "showDeferralCount": true,

    "simpleMode": false,

    "singleQuitButton": false,

    "updateElements": [

      {

        "_language": "en",

        "actionButtonText": "Update Device",

        "customDeferralButtonText": "Custom",

        "customDeferralDropdownText": "Defer",

        "informationButtonText": "More Info",

        "mainContentHeader": "Your device will restart during this update",

        "mainContentNote": "Important Notes",

        "mainContentSubHeader": "Updates can take around 30 minutes to complete",

        "mainContentText": "A fully up-to-date device is required to ensure that IT can 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 Update Device button and follow the provided steps.",

        "mainHeader": "Your device requires a security update",

        "oneDayDeferralButtonText": "One Day",

        "oneHourDeferralButtonText": "One Hour",

        "primaryQuitButtonText": "Later",

        "secondaryQuitButtonText": "I understand",

        "subHeader": "A friendly reminder from your local IT team"

      },

      

      {

    ]

  }

}

1 ACCEPTED SOLUTION

ljcacioppo
Contributor III

Based on the image in your question, it appears that the deadline to apply the update has passed and therefore, the defer buttons are no longer available. If you change the required install date to some point in the future, do they show back up?

Here is the nudge wiki where it shows that it is expected behavior for no defer buttons to show up if in the elapsed Cycle: https://github.com/macadmins/nudge/wiki/userExperience

View solution in original post

4 REPLIES 4

ljcacioppo
Contributor III

Based on the image in your question, it appears that the deadline to apply the update has passed and therefore, the defer buttons are no longer available. If you change the required install date to some point in the future, do they show back up?

Here is the nudge wiki where it shows that it is expected behavior for no defer buttons to show up if in the elapsed Cycle: https://github.com/macadmins/nudge/wiki/userExperience

raghdasi
New Contributor III

Thank you. It worked.

Thank you, you made my day. :)

dgandhi2
New Contributor

Even after changing the date to later dates it does not give the option to defer