Page tree

Versions Compared

Key

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

...


Now that the tables have been created you will need to add join them into the data source so they are available when using the Ad Hoc View builder.can be used by reports.

 

10. Navigate to the Joins tab and add the following joins according to the derived tables and custom fields that you would like to add.

Left TableFieldJoin TypeRight TableField
mdl_facetoface_sessionsidLEFT OUTERevent_fieldssession_id
mdl_facetoface_assetidLEFT OUTERasset_fieldsasset_id
mdl_facetoface_roomidLEFT OUTERroom_fieldsroom_id
mdl_facetoface_signupsidLEFT OUTERsignup_fieldsSignup_id
mdl_facetoface_signupsidLEFT OUTERuser_cancellation_fieldssignup_id
mdl_facetoface_sessionsidLEFT OUTERevent_cancellation_fieldssession_id

Finally we need to add the custom fields to the Data Source so they are available with the Ad Hoc View builder.

11.  Navigate to the Display tab.

12. In the Resources panel, select to View as: Join Tree.

13. Expand JoinTree_1, then expand the 

...

event_fields / asset_fieldsroom_fields / signup_fields

...

user_

...

cancellation_fieldsevent_cancellation_fields table:

 

 

13. Select the relevant field(s) and drag it into the appropriate set in the Sets and Items panel.

 

 

14. Click the OK button to save your changes in the Data Source Designer and return to the Edit Data Source page.

 

 

15. Under the Required Information heading, rename the Course Enrollments Data Source in the Name field, in order to avoid confusing it with the Public Course Enrollments Data Source. We will call this Data Source the "CompanyABC Course Enrollments Data Source".

 

 

16. To save your changes to the Data Source, click the Submit button