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.