Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Teams
, (opens new window)

SQL for Confluence
Results will update as you type.
  • SQL for Confluence
  • _InclusionsLibrary
  • _Archive
    • User's Guide
    • Administrator's Guide
      • Get Started - Configuration
      • Getting Help And Support
      • Configure Data Sources
        • Configure Application Server-based Data Sources
        • Data Source Picker
        • SQL for Confluence datasource configuration
      • Configure Data Source Profiles
      • Pro Tips
      • Better Together
      • Editions
      • Analytics Data
    • SQL Macro
    • SQL-file Macro
    • SQL-query Macro
    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Data Source Picker

    Data Source Picker

    Apr 22, 2015

    Description

    With release 7.0, we introduced a drop down list on the dataSource parameter for the various 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.

    How It Works

    • Only data source profiles will be provided in the list. See below for how to add application defined data sources to the list.
    • A data source name can be directly typed in whether it is on the list or not.
    • Even if a data source is protected by Macro Security, it will still show up in the list.

    Browser Support

    •  Chrome
    •  FireFox
    •  IE 10 or higher is required, otherwise degrades to previous support, no list - you need to type in the data source name.
    •  Safari (8) degrades to previous support, no list - you need to type in the data source name. Future support is expected.

    Customization

    • 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 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
    , multiple selections available,

    Need support? Create a request with our support team.

    Copyright © 2005 - 2025 Appfire | All rights reserved.

    {"serverDuration": 13, "requestCorrelationId": "c98bfa78dfba45adb52ddecb7ad1ead5"}