com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.

Resource Definition to Add Restriction Operations on iOS Devices

A sample resource definition, together with details on the information that is added in the JSON are as follows:

Sample definition JSON to add restriction operations and single app mode applications on iOS devices

The following is the sample JSON:

{
  "operation": {
    "allowAddingGameCenterFriends": true,
    "allowAppInstallation": true,
    "allowAppRemoval": true,
    "allowAssistant": true,
    "allowAssistantUserGeneratedContent": true,
    "allowAssistantWhileLocked": true,
    "allowCamera": true,
    "allowCloudBackup": true,
    "allowCloudDocumentSync": true,
    "allowCloudKeychainSync": true,
    "allowDiagnosticSubmission": true,
    "allowExplicitContent": true,
    "allowFingerprintForUnlock": true,
    "allowGlobalBackgroundFetchWhenRoaming": true,
    "allowInAppPurchases": true,
    "allowLockScreenControlCenter": true,
    "allowHostPairing": true,
    "allowLockScreenTodayView": true,
    "allowMultiplayerGaming": true,
    "allowOpenFromManagedToUnmanaged": true,
    "allowOpenFromUnmanagedToManaged": true,
    "allowOTAPKIUpdates": true,
    "allowPassbookWhileLocked": true,
    "allowPhotoStream": true,
    "allowSafari": true,
    "safariAllowAutoFill": true,
    "safariForceFraudWarning": true,
    "safariAllowJavaScript": true,
    "safariAllowPopups": true,
    "allowScreenShot": true,
    "allowSharedStream": true,
    "allowUntrustedTLSPrompt": true,
    "allowVideoConferencing": true,
    "allowVoiceDialing": true,
    "allowYouTube": true,
    "allowiTunes": true,
    "forceAssistantProfanityFilter": true,
    "forceEncryptedBackup": true,
    "forceITunesStorePasswordEntry": true,
    "forceLimitAdTracking": true,
    "forceAirPlayOutgoingRequestsPairingPassword": true,
    "forceAirPlayIncomingRequestsPairingPassword": true,
    "allowManagedAppsCloudSync": true,
    "allowActivityContinuation": true,
    "allowEnterpriseBookBackup": true,
    "allowEnterpriseBookMetadataSync": true,
    "allowFingerprintModification": true,
    "safariAcceptCookies": 0,
    "forceWatchWristDetection": true,
    "ratingApps": 1000,
    "ratingMovies": 1000,
    "ratingRegion": "us",
    "ratingTVShows": 1000,
    "autonomousSingleAppModePermittedAppIDs": [
      "org.wso2.wso2con",
      "org.wso2.mdm.agent"
    ]
  },
  "deviceIDs": [
    "2be702beaaf4ad34fc9e7f8da2b6b808c453fa72b",
    "2ec33430ad456713c633de75b2219376bac45de56"
  ]
}

 

Property definitions

All the properties that correspond to adding restriction operations are explained as follows: 

Property

Description

Data
Type

Example

operation This specifies the operation that is to be applied on the Android device.YesN/Aoperation-

deviceIDs

ID of the iOS device. Multiple device IDs can be added by using comma separated values. 
For more information on retrieving the device ID, see /wiki/spaces/ST1/pages/37257994.

Yes

N/A

String

2be702beaaf4ad34fc9e7f8da2b6b808c453fa72b

 

operation

Property

Description

Data
Type

Example

allowAddingGameCenterFriends 

Prohibits adding friends to Game Center, if the value is set to false.

No false Boolean true
allowAppInstallation 

The App Store is disabled and its icon is removed from the Home screen when the value is set to false. Users are unable to install or update their applications. 

Nofalse Booleantrue
allowAppRemoval 

Disables removal of apps from iOS devices when the value is set to false. 

Nofalse Booleantrue
allowAssistant

Disables Siri when the value is set to false.

Notrue Booleanfalse
allowAssistantUserGeneratedContent 

Prevents Siri from querying user-generated content from the web if the value is set to false. 

Notrue Booleanfalse
allowAssistantWhileLocked 

The user is unable to use Siri when the device is locked, when the value is set to false.

This restriction is ignored if the device does not have a passcode set. 

Availability: iOS 5.1 and later. 

Notrue Booleanfalse
allowCamera 

The camera is completely disabled and its icon is removed from the Home screen when the value is set to false. Further if false, users are unable to take photographs. 

Nofalse Booleantrue
allowCloudBackup 

Disables backing up the device to iCloud if the value is set to false. 

Availability: iOS 5.0 and later. 

Nofalse Booleantrue
allowCloudDocumentSync 

Disables document and key-value syncing to iCloud when set to false.

Availability: iOS 5.0 and later. 

Nofalse Booleantrue
allowCloudKeychainSync 

Disables Cloud keychain synchronization, if the value is set to false.

Availability: Only in iOS 7.0 and later. 

Notrue Booleanfalse
allowDiagnosticSubmission 

Prevents the device from automatically submitting diagnostic reports to Apple, when the value is set to false.

Availability: O nly in iOS 6.0 and later. 

Notrue Booleanfalse
allowExplicitContent 

Explicit music or video content purchased from the iTunes Store is hidden when the value is set to false. Explicit content is marked by content providers, such as record labels, when sold through the iTunes Store. 

Nofalse Booleantrue
allowFingerprintForUnlock 

Prevents the Touch ID from unlocking a device, if the value is set to false. 

Availability: iOS 7 and later. 

Nofalse Booleantrue
allowGlobalBackgroundFetchWhenRoaming 

Disables global background fetch activity when an iOS phone is on roaming when the value is set to false. 

Nofalse Booleantrue
allowInAppPurchases 

Prohibits in-app purchasing when the value is set to false. 

Nofalse Booleantrue
allowLockScreenControlCenter 

Prevents the Control Center from appearing on the Lock screen if the value is set to false.

Availability: i OS 7 and later. 

Nofalse Booleantrue
allowHostPairing 

Host pairing is disabled with the exception of the supervision host when the value is set to false. If no supervision host certificate has been configured, all pairing is disabled. Host pairing lets the administrator control which devices an iOS 7 device can pair with.

Availability: Only in iOS 7.0 and later. 

Yesfalse Booleantrue
allowLockScreenTodayView 

The Today view in the Notification Center on the lock screen is disabled when the value is set to false. 

Availability: Only in iOS 7.0 and later. 

Nofalse Booleantrue
allowMultiplayerGaming 

Prohibits multiplayer gaming when the value to set to false.

Nofalse Booleantrue
allowOpenFromManagedToUnmanaged 

Documents managed apps and the accounts only open in other managed apps and accounts if the value is se to false.

Availability: Only in iOS 7.0 and later. 

Notrue Booleanfalse
allowOpenFromUnmanagedToManaged 

Documents unmanaged apps and the accounts will only open in other unmanaged apps and accounts if the value is set to false. 

Availability: Only in iOS 7.0 and later. 

Notrue Booleanfalse
allowOTAPKIUpdates 

The over-the-air PKI updates are disabled when the value is set to false. Setting this restriction to false does not disable CRL and OCSP checks.

Availability: Only in iOS 7.0 and later. 

Notrue Booleanfalse
allowPassbookWhileLocked 

Passbook notifications will not be shown on the lock screen when the value is set to false.

Availability: iOS 6.0 and later. 

Notrue Booleanfalse
allowPhotoStream 

Disables Photo Stream if the value is false.

Availability: iOS 5.0 and later. 

NoFalse BooleanTrue
allowSafari 

The Safari web browser application is disabled and its icon removed from the Home screen when the value is set to false. This also prevents users from opening web clips. 

Nofalse Booleantrue
safariAllowAutoFill 

The Safari auto-fill is disabled when the value is set to false.

Notrue Booleanfalse
safariForceFraudWarning 

The Safari fraud warning is enabled if the value is set to false. 

Nofalse Booleantrue
safariAllowJavaScript 

Safari will not execute JavaScript when the value is set to false.

Notrue Booleanfalse
safariAllowPopups 

Safari will not allow pop-up tabs when the value is set to false.

Notrue Booleanfalse
allowScreenShot 

Users are unable to save a screenshot of the display if the value is set to false. 

Notrue Booleanfalse
allowSharedStream 

Shared Photo Stream will be disabled if the value is set to false.

Availability: iOS 6.0 and later. 

Notrue Booleanfalse
allowUntrustedTLSPrompt 

Automatically rejects untrusted HTTPS certificates without prompting the user when the value is set to false. 

Availability: Available in iOS 5.0 and later. 

Notrue Booleanfalse
allowVideoConferencing 

Disables video conferencing when the value is set to false.

Nofalse Booleantrue
allowVoiceDialing 

Disables voice dialing when the value is set to false. 

Nofalse Booleantrue
allowYouTube 

The YouTube application is disabled and the icon removed from the Home screen when the value is set to false.

This key is ignored in iOS 6 and later because the native YouTube app is not provided.

Nofalse Booleantrue
allowiTunes 

The iTunes Music Store is disabled and its icon is removed from the Home screen if the value is set to false. Further users cannot preview, purchase, or download content.

Availability: iOS 7.0 and later. 

Nofalse Booleantrue
forceAssistantProfanityFilter 

Forces the use of the profanity filter assistant when the value is set to true.

Notrue Booleanfalse
forceEncryptedBackup 

Encrypts all backups when the value is set to true.

Notrue Booleanfalse
forceITunesStorePasswordEntry 

Forces user to enter their iTunes password for each transaction when the value is set to true.

Availability: iOS 5.0 and later. 

Notrue Booleanfalse
forceLimitAdTracking 

Limits ad tracking when the value is set to true.

Availability: iOS 7.0 and later. 

Nofalse Booleantrue
forceAirPlayOutgoingRequestsPairingPassword 

Forces all devices receiving AirPlay requests from this device to use a pairing password when the value is set to true.

Availability: iOS 7.1 and later. 

Nofalse Booleantrue
forceAirPlayIncomingRequestsPairingPassword 

Forces all devices sending AirPlay requests to this device to use a pairing password if the value is set to true.

Availability: Apple[ ]TV[ ]6.1 and later. 

Nofalse Booleantrue
allowManagedAppsCloudSync 

Prevents managed applications from using cloud sync if the value is set to false. 

Nofalse Booleantrue
allowActivityContinuation 

Activity Continuation will be disabled if the value is set to false. 

Notrue Booleanfalse
allowEnterpriseBookBackup 

Enterprise books will not be backed up if the value is set to false. 

Notrue Booleanfalse
allowEnterpriseBookMetadataSync 

Enterprise books notes and highlights will not be synced if the value is set to false.  

Notrue Booleanfalse
allowFingerprintModificationAllows the user to modify the touch ID.NotrueBooleanfalse
safariAcceptCookies

Determines the conditions under which the device will accept cookies.

Following are the allowed values:

  • 0: Never
  • 1: From visited sites only 
  • 2: Always 
No2Integer0
forceWatchWristDetection

Force users to unlock their Apple Watch with a passcode once the Watch has been removed from their wrist, if the value is set to true

Availability: iOS 8.3 and later. 

NoFalseBooleanTrue
ratingApps

Restrict access to apps based on the rating given for age. The following values define the JSON values that corresponds to the rating selected.

  • Don't allow apps = 0
  • 4+ = 100
  • 9+ = 200
  • 12+ = 300
  • 17+ = 600
  • Allow all apps = 1000
NoN/AInteger1000
ratingMovies

Restrict access to movies based on movie ratings. The following values define the JSON values that corresponds to the rating selected.

  • Don't allow movies = 0
  • G = 100
  • PG = 200
  • PG-13 = 300
  • R = 400
  • NC-17 = 500
  • Allow all movies = 1000
NoN/AInteger1000
ratingRegionRestring operations based on the regionNoN/AStringus
ratingTVShows

Restrict access to TV shows based on rating given. The following values define the JSON values that corresponds to the rating selected.

  • Dont allow TV shows = 0
  • TV-Y = 100
  • TV-Y7 = 200
  • TV-G = 300
  • TV-PG = 400
  • TV-14 = 500
  • TV-MA = 600
  • All all TV shows = 1000
NoN/AInteger1000
autonomousSingleAppModePermittedAppIDs

Allows the apps to be identified by the bundle IDs listed in the array to autonomously enter Single App Mode.

Availability: iOS 7.0 and later. 

NoN/A

Array of strings 

-
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.