Skip to main content

General settings for custom data sources in Dash

Configure the identity and primary data structure of a custom data source (Premium only)

About

The General section defines the identity of a custom data source and establishes its primary data structure. Use these settings to determine how the data source is identified in Moodle and to select the database table that serves as the foundation for your data source.

To access these settings, navigate to Site administration > Plugins > Local plugins > Dash Addons > Manage data sources and select Create custom data source or Edit.


Available settings

  • Data source name – Specify a name for the data source, which will be displayed in the Dash block configuration list.

  • ID number – Assign a unique identifier to the data source for identification purposes.

  • Select main table

    Choose a table from the list of available Moodle database tables. This table serves as the primary data source for the addon. The Developer addon uses the keyword (mnt) as an alias for the main table to facilitate the setup of joins and conditions.

  • Generate fields

    After selecting the main table, you must use this button to populate the available fields, joins, and conditions for further configuration. If you change the main table at any point, you must use this button again to regenerate the fields.

Did this answer your question?