Preventing users from adding or editing libraries

You can configure the app so that the sidebar menu options Add and Edit for libraries are disabled.

Perform this task by editing the file MyConfiguration.plist in the copy of the DeploymentKitApp in Xcode on your computer.

Procedure

  1. In the file MyConfiguration.plist, in the Property List view , find the key labelled DisableAddEditLibraries.
    Key Type Value
    DisableAddEditLibraries Boolean NO
    Important: You must set the DisableAddEditLibraries key to true when you have preconfigured Spotfire Web Player Server connections in MyConfiguration.plist. Doing so prevents users from editing or deleting these connections in the app. See CustomConnections for more information.
  2. Change the value from NO to YES.
    Note: In the Source Code view, this section appears as follows.
    <key>DisableAddEditLibraries</key>
    <true/>
    
    Key Type Value
    DisableAddEditLibraries Boolean YES

Result

The app sidebar menu options Add and Edit for libraries are not present if this key is set to <true/>. Setting the value to <false/> is equivalent to not having this key in the configuration file.