Spotfire® Deployment Kit for Apple iOS

Preventing users from editing Favorites

You can prevent a user from adding to, rearranging, or removing analyses from the Favorites view.

About this task

Perform this task in the copy of the DeploymentKitApp in Xcode on your computer. In Xcode Project navigator, browse to and open DeploymentKitApp > MyConfiguration.

Note: You can customize most settings in Xcode, in DeploymentKitApp > MyConfiguration. Edit the key and value pairs in the Property List view. Optionally, you can edit the XML directly in the Source Code view. To work in the XML view, right click the file name, and then click Open As > Source Code.

Procedure

  1. In DeploymentKitApp > MyConfiguration, find the key labeled DisableAddEditFavorites.
    Key Type Value
    DisableAddEditFavorites Boolean NO
  2. Change the value from NO to YES.
    Note: In the Source Code view, this section is displayed as follows.
    <key>DisableAddEditFavorites</key>
    <true/>
    Key Type Value
    DisableAddEditFavorites Boolean YES

Results

The features that allow users to add, rearrange, or remove analyses from the Favorites view of the app are not present if this key is set to YES. Setting the value to NO is equivalent to not having this key in the configuration file.