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: http://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: http://spotfire-ondemand.tibco.com/SpotfireWeb/ViewAnalysis.aspx?file = Production/Demos/HedgeAnalysis
      Note: In the Source Code view, this section appears as follows.
      <key>AppStartupAction</key>
      <string>analysis: http://spotfire-ondemand.tibco.com/SpotfireWeb/
      ViewAnalysis.aspx?file = Production/Demos/HedgeAnalysis</string>
      
    • 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: http://MySpotfireWebPlayerServer/SpotfireWeb
      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: http://spotfire.tibco.com