Attribute

The Attribute tab allows you to perform basic customization at the app level, such as configuring your app's banner, state, and extra data sources.

Branding

You can add a logo, a title, a subtitle, and links to the banner.

  1. The app logo defaults to the logo defined by your organization when available. Otherwise, click the logo icon and choose Custom to open the file browser and select an image file. If you don't want to have a logo in the app, click the X icon on the logo to remove it.

    With Internet Explorer 8, the size of the uploaded image cannot exceed 21K.

    When the application starts, expand your browser, if necessary, to see all of the above items, especially when the text size is large.

  2. Click the A button to customize the font style for the title of the app.
  3. Click the A button to customize the font style for the subtitle of the app.
  4. Click Add New Link to add a hyperlink to the banner, and provide a name and valid URL.
  5. To edit a link, click the pencil icon. To remove a link, click the X icon.
    Caution:

    A maximum of four links can be added.

App state

Check the App state check box to keep the map extent and layer visibility when you exit the app. It is turned on by default. This option is not available when you build 3D apps.

Loading screen

You can configure the background and loading icon for the loading screen of your app. This option is only available in the Developer Edition.

  1. Click the Loading screen button.
  2. Click the button under Background color to choose the background color.
  3. Optionally check Use background image to upload an image by clicking Select file.
  4. Under Show loading icon, select a predefined GIF file from the drop-down menu, or choose Upload an image.

Extra data source

The extra data source option allows you to configure custom data shared at the app level so all the widgets in the app can quickly access and respond to it simultaneously. Once the app starts, all configured data sources are queried from the server and loaded to the browser client.

There are two types of data sources you can add: Layer and Statistics. Layer is a subset data of a feature layer, table, or an image service vector layer. Statistics stores the feature count of group data (if specified) and calculates the sum, average, maximum, and minimum values of the group (if specified) based on one or more numeric fields.

Note:

Currently, only the Infographic widget has a configuration option to use the extra data source.

Add a Layer data source

  1. Click Extra data source, and click Add new. Choose Layer in the pop-up menu.
  2. Choose a layer from the map or portal, or input a service URL. Feature layers, tables, and image service vector layers are supported, which can originate from a feature service, map service, or an image service.
  3. In the Configure data source window, do the following:
    1. Specify a name for the data source under Name.
    2. Click the Set button under Filter to define query criteria by an expression or a set. You can also enable and disable the filter based on the map extent. If Only the features within the current map extent is checked, data will be updated when the map extent changes.
    3. Click the Set button to specify which fields will be retrieved.
    4. Under Records, specify how many records will be retrieved, and in what order. The following three options are available in the Number drop-down menu:
      • Service limit—The maximum number of records specified when the service is published.
      • All—All the records from the service.
      • Custom—The number of records you want to retrieve from the service.
    5. Under Refresh interval, specify the refresh interval of the data source when applicable.
    6. Click Preview to preview the data you configured through the previous steps.
    7. Click OK.

Add a Statistic data source

  1. Click Add new, and choose Statistics in the pop-up menu.
  2. Choose a layer from the map or portal, or input a service URL. Feature layers, tables, and image service vector layers are supported as the input. They can originate from a feature service, a map service, or an image service.
    Note:

    The data source must contain at least one numeric field.

  3. In the Configure data source window, do the following:
    1. Specify a name for the data source under Name.
    2. Click the Set button under Filter to define query criteria by an expression or a set.
    3. Under Statistics, choose the group on which the statistics are based, and set fields on which the statistics are calculated, such as their sum, average, min, and max values.
    4. Under Refresh interval, specify the refresh interval of the data source when applicable.
    5. Click Preview to preview the data you configured through the previous steps.
    6. Click OK.

Edit the data source

  1. Hover over the existing data source in the table and click the pencil icon to open the Confiure data source window. Make changes accordingly.
  2. To remove the existing data source, click x.
  3. In the Set refresh interval drop-down menu, choose how you want the interval set for your data source.