Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

With release 7.0, we introduced a drop-down list on the dataSource parameter for the various sql SQL macros. This gives the Confluence administrator an opportunity to make it easier for users to discover data sources available for use. This article describes how this works and how it can be best customized for your site.

...

  • The default behavior was to not expose application defined data sources in the list. This gives administrators control over what is exposed. Administrators can easily add a data source profile to link to a an application provided data source if they want it exposed on the list. This is done by:
    1. Go to UPM, find the SQL add-on, and press the Configure button
    2. Add a new data source profile to the configuration
    3. Name the profile the same as the application defined data source (or different if you prefer)
    4. Specify the dataSource parameter in the profile pointing the the application defined data source: dataSource = my_application_defined_data_source_name
  • Administrators may not want to expose certain application data sources - they may be highly restricted (macro-security) or "need to know" usage