Setting start-up action

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

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, locate the key labelled 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 appears 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://docs.tibco.com/products/tibco-spotfire-deployment-kit-for-apple-ios
Related reference