Spotfire® Deployment Kit for Apple iOS

Setting start-up action

You can customize the start-up action for your app.

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.

Procedure

  1. In DeploymentKitApp > MyConfiguration, in the Property List view, find the key labeled AppStartupAction.
    Key Type Value
    AppStartupAction String custom: https://MyCustomWebPageURL
  2. Edit the entry, providing the specific key and value pairs for the start-up action you want to occur.
    • To load a specific Spotfire analysis when the user starts the app, add key and value pair similar to the following example.
      Key Type Value
      AppStartupAction String analysis:https://MySpotfireWebplayerServer/spotfire/wp/OpenAnalysis?file=<analysis id>
      Note: In the Source Code view, this section is displayed as follows.
      <key>AppStartupAction</key>
      <string>analysis:https://MySpotfireWebplayerServer/spotfire/wp/OpenAnalysis?file=<analysis id>
      
    • To start the app and allow the user to browse a specific Spotfire library, add a key and value pair similar to the following example.
      Key Type Value
      AppStartupAction String browse: https://MySpotfireWebPlayerServer/spotfire
      Note: Ensure that the user's credentials are valid to log in to the specified server, because the user might be prompted to provide credentials if the server is authenticated.
    • To start the app and load a web page in a web viewer, add a key and value pair similar to the following example.
      Key Type Value
      AppStartupAction String custom: https://spotfi.re/iOS-users-guide