Table of Contents
Overview
How to Use It
Example
Dynamic Options in Tables & CSV Exports
Exceptions
Related Articles
Overview
When you add a “Select” Question Type (Custom Field or Prebuilt Field) to your Section Template (Scheduling), Course Template (Curriculum Management), or Program Template (Curriculum Management), Question Settings will include an option to “Set Dynamic Options from Attribute Mappings”.
This configuration allows certain questions to dynamically pull select options from “Integration Attribute Mappings”, which can be defined in the Admin Panel.
In the Section Template, the options will be all attribute mappings associated with sections. In the Course Template, it will be all mappings associated with courses, and in the Program Template it will be all mappings associated with programs.
You can learn more about Maintaining Integration Attribute Mappings here.
How to Use It
Step 1: Select “Yes” under “Set Dynamic Options from Attribute Mappings” to enable and open configuration settings.
Step 2: In the “Attribute Mapping” dropdown, select which attribute mapping this should pull data from.
Step 3:
Under “Set Display Value for Option”, select which value should be displayed to the end user in the Coursedog application when editing an entity (e.g. Section or Course).
Options include “Code” and “Description” (“Description” points to “Coursedog Field Options” in the Admin Panel).
“Description” is the default setting.
Step 4:
Under “Set Persist Value for Option”, select which value should be stored in Coursedog.
As with Step 3, options include “Code” and “Description”.
Example
The below example includes configurations in the Section Template and Integration Attribute Mappings – and what the end user sees in the section editing modal as a result of those configurations.
Configurations
Section Template
Integration Attribute Mappings
Results
With the above configurations in place, an end user would see “Lecture”, “Laboratory”, and “Seminar” in the dropdown menu.
If they select “Lecture”, we would store “LEC” in the Coursedog database based on the configurations in this example.
The end user would not see “LEC” in the section editing modal; if they save and re-open the section editing modal, the system will dynamically fetch the corresponding description for LEC, showing the user “Lecture”.
Dynamic Options in Tables & CSV Exports
When dynamic options are used for a field within an entity, and that entity is displayed using a tabular column view, or in a CSV export, the system will show the “persist” value.
In the example outlined in the previous section, if the end user were to view the same section either in a table within Coursedog or in a Sections List CSV, they would see the “LEC” value.
Exceptions
The following “select” fields are configured on the template via advanced settings (i.e. cannot be dragged and dropped from the Question Bank). They have a hard-coded list of options and cannot use dynamic options: Instructor Meeting, Relationship Type, Relationship Link Type, and Relationship Combination Type.
Setting Dynamic Options from Attribute Mappings isn’t available on the Room and Instructor Templates.