Configure application

Executive Dashboard can be configured to access the maps from your ArcGIS Online group. Modify the configuration file to use your ArcGIS Online Executive Dashboard group and items.

Create a Twitter developer site

Executives can search for Twitter hashtags using their Executive Dashboard. Twitter requires application authentication to search for these hashtags.

Complete the following steps to enable Twitter application authentication:

  1. Browse to the URL https://dev.twitter.com/apps and sign in using your Twitter account.
  2. Click the Create a new application button.
  3. Complete the required fields in the Application Details section and create your Twitter application.
  4. Click the Create my access token button.
  5. On the OAuth tool tab, copy the Consumer key, Consumer secret, Access token, and Access token secret values to a text file.

Configure the proxy

The proxy file gives the application access to the location of the services.

To configure the proxy, complete the following steps:

  1. In Windows Explorer, browse to <your directory>\Application\Executive Dashboard.
  2. Open proxy.config in Notepad or another text editor.
  3. In the applicationSiteURL tags, enter the fully qualified URL for your application.
                  
    <applicationSiteURL>http://yourserver.yourdomain.com/ExecutiveDashboard</applicationSiteURL>
                  
              
  4. Copy each of the Twitter values from the text file into the appropriate tags:
    Consumer Key <consumerKey>yourkey</consumerKey>
    Consumer Secret <consumerSecret>yourkey</consumerSecret>
    Access Token <accessToken>yourkey</accessToken>
    Access Token Secret <accessTokenSecret>yourkey</accessTokenSecret>
  5. Enter the URL of each ArcGIS Services Directory referenced in the configuration of the application. Each URL must be enclosed in a set of serverURL tags. Ensure the exemptRSS2 attribute is set to true.
              
    <serverUrls exemptRSS2="true">
        <!-- url: permitted external site; use either specific URL or stem -->
        <serverUrl url="http://yourserver/arcgis/rest/"></serverUrl>
        <serverUrl url="https://api.twitter.com/1.1/search/tweets.json"></serverUrl>
    </serverUrls>
              
          
  6. Save the file and exit.

Configure the application

Modify the application configuration file to read maps from your ArcGIS Online Executive Dashboard group.

To configure the Executive Dashboard application, complete the following steps:

  1. In Windows Explorer, browse to <your directory>\Application\ExecutiveDashboard\js.
  2. Open the config.js file in Notepad or another text editor.
  3. Enter the ArcGIS Online GroupID for the group containing the Executive Dashboard maps.
  4. If you are deploying the application using tags other than those listed in the author maps workflow, specify the tags that will define your pods in the LayerImages section in the config.js file.
  5. Save the file and exit.
Top