Canvas: Difference between revisions

From UmsWiki
Jump to navigation Jump to search
Kia (talk | contribs)
Kia (talk | contribs)
 
(2 intermediate revisions by the same user not shown)
Line 106: Line 106:
[[File:Canvas Settings Edit Site Settings.jpg|none|thumb|895x895px]]
[[File:Canvas Settings Edit Site Settings.jpg|none|thumb|895x895px]]


==== Conclude learners instead of removing them ====
====Conclude learners instead of removing them====
This tells UMS to conclude the learners on a course instead of removing them.
This tells UMS to conclude the learners on a course instead of removing them.


Line 181: Line 181:


==Parameters==
==Parameters==
  > LiveAtEdu.exe [<optional> Action]
  > Canvas.exe [<optional> Action]
Eg.
Eg.
  > LiveAtEdu.exe
  > Canvas.exe


  > LiveAtEdu.exe UsersOnly
  > Canvas.exe UsersOnly
{| class="wikitable"
{| class="wikitable"
|+Users
|+Users
Line 193: Line 193:
|UsersOnly
|UsersOnly
|Runs all the parameters in this table
|Runs all the parameters in this table
|-
|UpdateUsers
|Update users
|-
|DisableUsers
|Disable users
|-
|EnableUsers
|Enable users
|-
|-
|DeleteUsers
|DeleteUsers
|Delete users
|Delete users
|-
|-
|CreateUsers
|CreateLearners
|Create users
|Create learners
|-
|-
|UpdateImmutableID
|CreateStaff
|Update Immutable ID on users
|Create staff
|-
|-
|UpdateOffice365SettingsIDForUsers
|UpdateLearners
|Update Office 365 settings for users if they have changed template
|Update learners
|-
|-
|UpdateUsersObjectID
|UpdateStaff
|Get the object ID from office 365 and save it in UMS DB
|Update staff
|}
{| class="wikitable"
|+User settings
!Parameter
!Description
|-
|-
|RunUserSettings
|UpdateLearnerPictures
|Runs all the parameters in this table
|Update learner pictures
|-
|-
|DisableStrongPassword
|UpdateTeacherPictures
|Disable strong password for users
|Update staff pictures
|-
|-
|SetMailAddress
|DeleteLearners
|Set mail address on users
|Delete learners
|-
|Forward2OnPremiseMail
|Set forward to OnPremise mail on users
|-
|SetCalendarRights
|Set calendar rights on users
|-
|UpdateMailboxTimeZone
|Update timezone for mailbox users
|-
|UpdateMailboxLanguage
|Update language for mailbox users
|-
|EnablePasswordNeverExpires
|Enable password never expires for users
|-
|UpdatePictures
|Update pictures
|-
|-
|Forward2PrivateMail
|DeleteStaff
|Set forward to privatemail on users
|Delete staff
|-
|-
|UpdateReplyToAll
|RenameLearners
|Set Reply to all on users
|Rename learners (NewCanvasUserName has to filled out in the Canvas_Learners table in the database)
|-
|-
|ProvisionOneDrive
|RenameTeachers
|Provision OneDrive to users
|Rename staff (NewCanvasUserName has to filled out in the Canvas_Teachers table in the database)
|-
|UpdateAddressBookPolicy
|Set address book policy on users
|}
|}
{| class="wikitable"
{| class="wikitable"
Line 270: Line 235:
|Runs all the parameters in this table
|Runs all the parameters in this table
|-
|-
|RemoveGroupMembers
|SetAccountIDOnGroups
|Remove group members from groups
|Sets the account id in the database based on the hierarchy
|-
|-
|AddGroupMembers
|AddGroups2DB
|Add members to groups
|Add new groups to table in the database
|-
|CreateGroups
|Create groups in Canvas
|-
|-
|DeleteGroups
|DeleteGroups
|Delete groups
|Delete groups
|-
|-
|CreateGroups
|AddStaffToGroups
|Create groups
|Add staff to groups
|-
|-
|UpdateGroupsObjectID
|RemoveStaffFromGroups
|Get the object ID from office 365 and save it in UMS DB
|Remove staff from groups
|-
|-
|GetUPNsForGroups
|AddLearnersToGroups
|Get the UPN of template groups from Office 365
|Add learners to groups
|}
{| class="wikitable"
|+Template groups
!Parameter
!Description
|-
|-
|TemplateGroupsOnly
|RemoveLearnersFromGroups
|Runs all the parameters in this table
|Remove learners from groups
|-
|RemoveUsersFromTemplateGroups
|Remove users from template security groups
|-
|-
|AddUsers2TemplateGroups
|AddUsers2TemplateGroups
|Add users to template security groups
|Add users to template groups
|-
|-
|DeleteTemplateGroups
|RemoveUsersFromTemplateGroups
|Delete groups that are no longer template security groups
|Remove users from template groups
|-
|UpdateTemplateGroupsObjectID
|Get the object ID from office 365 and save it in UMS DB
|-
|GetUPNsForTemplateGroups
|Get the UPN of template security groups from Office 365
|}
|}
{| class="wikitable"
{| class="wikitable"
|+Template extra groups
|+Accounts
!Parameter
!Parameter
!Description
!Description
|-
|-
|TemplateExtraGroupsOnly
|AccountsOnly
|Runs all the parameters in this table
|Runs all the parameters in this table
|-
|-
|CreateTemplateExtraGroups
|CreateAccounts
|Create groups from template extra group
|Creates the accounts in the hierarchy
|-
|-
|DeleteTemplateExtraGroups
|AddStaffToAccounts
|Delete groups that are no longer in extra groups
|Add staff to the account nodes if selected
|-
|-
|AddTemplateExtraGroupMembers
|RemoveStaffFromAccounts
|Add users to template extra groups
|Remove staff from the account nodes
|-
|UpdateTemplateExtraGroupsObjectID
|Get the object ID from office 365 and save it in UMS DB
|}
|}
{| class="wikitable"
{| class="wikitable"
|+Keep alive groups
|+Sites
!Parameter
!Parameter
!Description
!Description
|-
|-
|KeepAliveGroupsOnly
|SitesOnly
|Runs all the parameters in this table
|Runs all the parameters in this table
|-
|-
|CreateKeepAliveGroups
|AddSites2DB
|Create keep alive groups
|Add new sites to table in the database
|-
|DeleteKeepAliveGroups
|Delete keep alive groups if they are no longer in UMS
|-
|UpdateSetMailAddressOnKeepAliveGroups
|Update the mail address on keep alive groups
|-
|AddKeepAliveGroupMembers
|Add users to keep alive groups
|-
|RemoveKeepAliveGroupMembers
|Remove users from keep alive groups
|}
{| class="wikitable"
|+Disabled groups
!Parameter
!Description
|-
|DisabledGroupsOnly
|Runs all the parameters in this table
|-
|CreateDisabledGroups
|Create disabled groups
|-
|DeleteDisabledGroups
|Delete disabled groups if they are no longer in UMS
|-
|UpdateSetMailAddressOnDisabledGroups
|Update the mail address on disabled groups
|-
|AddDisabledGroupMembers
|Add users to disabled groups
|-
|RemoveDisabledGroupMembers
|Remove users from disabled groups
|}
{| class="wikitable"
|+Teams
!Parameter
!Description
|-
|TeamsOnly
|Runs all the parameters in this table
|-
|AddTeams2DB
|Add Teams to UMS DB
|-
|CreateTeams
|Create Teams
|-
|AddTeamToGroup
|Add teams to groups
|-
|ActivateTeams
|Activate teams
|-
|UpdateTeams
|Update Teams
|-
|DeleteTeams
|Delete Teams
|-
|AddTeachers2TeamsDBTable
|Add teachers to Office365Teams_Teachers table in UMS DB
|-
|AddTeachers2Teams
|Add teachers to Teams
|-
|AddLearners2TeamsDBTable
|Add learners to Office365Teams_Learners table in UMS DB
|-
|AddLearners2Teams
|Add learners to Teams
|-
|TeamsDeleteTeachers
|Delete teachers in Teams
|-
|TeamsDeleteLearners
|Delete learners in Teams
|-
|TeamsUpdateNeedToBeUpdated
|Set update on next run flag
|-
|UpdateLearnersExternalID
|Retrieve the learners object id from Office 365 and save it in UMS DB
|-
|UpdateTeachersExternalID
|Retrieve the teachers object id from Office 365 and save it in UMS DB
|-
|UpdateSchoolsExternalID
|Retrieve the schools object id from Office 365 and save it in UMS DB
|-
|UpdateTeamsExternalID
|Retrieve the teams object id from Office 365 and save it in UMS DB
|}
{| class="wikitable"
|+SharePoint
!Parameter
!Description
|-
|SharepointOnly
|Runs all the parameters in this table
|-
|-
|CreateSites
|CreateSites
|Create sites
|Create sites
|-
|-
|AddSites2DB
|ReCreateSections
|Add sites in UMS DB
|Recreate sections in Canvas if deleted. Canvas_Section_ID in the table Canvas_Sites must be null
|-
|-
|DeleteSites
|UpdateNeedToBeUpdated
|Delete sites
|Update need to be updated
|-
|-
|UpdateSites
|UpdateSites
|Update sites
|Update sites
|-
|-
|AddLearners2SitesInDB
|PublishSites
|Add learners to UMS DB
|Publish sites
|-
|-
|DeleteTeachers
|DeleteSites
|Delete teachers
|Delete sites
|-
|-
|AddTeachers2Sites
|AddStaff2Site
|Add teachers to sites
|Add staff to sites
|-
|-
|DeleteSiteGroups
|AddLearners2Site
|Delete site groups
|-
|AddTeachers2SitesInDB
|Add teachers to UMS DB
|-
|DeleteLearners
|Delete learners
|-
|AddLearners2Sites
|Add learners to sites
|Add learners to sites
|-
|-
|UpdateSiteURL
|DeleteStaffSite
|Update sites with new URL
|Delete staff from sites
|-
|AddNoteBooks2Sites
|Add OneNote Class NoteBooks to sites
|-
|-
|SharePointDeleteNoteBooks
|DeleteLearnersSite
|Delete OneNote Class NoteBooks from sites
|Delete learners from sites
|-
|-
|UpdateNeedToBeUpdated
|AddGuardians2Site
|Set the update on next run flag
|Add guardians to sites
|-
|-
|UpdateSitesIsActive
|DeleteGuardiansSite
|Update site active/inactive status
|Delete guardians from sites
|-
|SharePoint_OneNoteClassNotebook_AddMissingTeachers
|Add missing Teachers to OneNote Class NoteBooks
|-
|SharePoint_OneNoteClassNotebook_AddMissingLearners
|Add missing Learners to OneNote Class NoteBooks
|-
|ReAddLearners2Sites
|Re-add learners to sites if ReAdd is true in DB
|-
|ReAddTeachers2Sites
|Re-add teachers to sites if ReAdd is true in DB
|}
|}
{| class="wikitable"
{| class="wikitable"
|+OneNoteClassNoteBook
|+Guardians
!Parameter
!Parameter
!Description
!Description
|-
|-
|OneNoteClassNotebookOnly
|GuardiansOnly
|Runs all the parameters in this table
|Runs all the parameters in this table
|-
|-
|AddNotebooks2DB
|CreateGuardians
|Add OneNote Class NoteBooks to UMS DB
|Create guardians
|-
|CreateNotebooks
|Create OneNote Class NoteBooks
|-
|UpdateOneNotes
|Update OneNote Class NoteBooks
|-
|DeleteOneNotes
|Delete OneNote Class NoteBooks
|-
|AddTeachers2OneNotesInDB
|Add teachers to OneNote Class NoteBooks in UMS DB
|-
|AddTeachers2OneNotes
|Add teachers to OneNote Class NoteBooks
|-
|AddLearners2OneNotesInDB
|Add learners to OneNote Class NoteBooks in UMS DB
|-
|AddLearners2OneNotes
|Add learners to OneNote Class NoteBooks
|-
|-
|OneNoteDeleteTeachers
|UpdateGuardians
|Delete teachers in OneNote Class NoteBooks
|Update guardians
|-
|-
|OneNoteDeleteLearners
|DeleteGuardians
|Delete learners in OneNote Class NoteBooks
|Delete guardians
|-
|OneNoteUpdateNeedToBeUpdated
|Set update on next run flag
|}
|}
==FAQ==
==FAQ==


Line 556: Line 356:


===How do I clean up UMS db?===
===How do I clean up UMS db?===
<blockquote>Delete from Canvas_Learners</blockquote>
Delete from Canvas_Learners
<blockquote>Delete from Canvas_Teachers</blockquote>
Delete from Canvas_Teachers
<blockquote>Delete from Canvas_Guardians</blockquote>
Delete from Canvas_Guardians
<blockquote>Delete from Canvas_Sites</blockquote>
Delete from Canvas_Sites
<blockquote>Delete from Canvas_Groups</blockquote>
Delete from Canvas_Groups
<blockquote>Delete from Canvas_SubAccount</blockquote>
Delete from Canvas_SubAccount
<blockquote>Delete from Canvas_RemoveLog</blockquote>
Delete from Canvas_RemoveLog
<blockquote>Delete from CanvasTemplateGroups</blockquote>
Delete from CanvasTemplateGroups

Latest revision as of 12:08, 1 September 2022

Our Canvas integration is developed for schools that want to avoid hour-long administrative tasks. The integration automatically creates, maintains, and deletes users based on data from your student administrative system. It also creates and maintains group rooms, which teachers and students can use for teaching purposes. The rooms automatically use the language you require and can be categorized according to your needs, making them easier to find. Rooms that are no longer in use are deleted automatically.

Configuration in UMS

This allows users to log into Canvas with the same password they use to access the school’s IT-system. The Canvas integration gives you an easy overview and ensures that the users’ data is always managed correctly, without requiring any manual updates. This frees up time for the IT-department so they can focus on other tasks.

Prerequisites

Module requirements

UMS

What to have ready

URL to Canvas, typically http://%22customer%22.instructure.com

Admin User access for Canvas (preferably a separate account for UMS)

- IMPORTANT: Language for the UMS account MUST be set to english as this impacts API errors in the Canvas.log

Installation

Open UMS Configurator and go to Template > Canvas. Click the first manage button.

You will now see an overview of your Canvas settings.

Canvas settings

To configurate your settings, go to 'Edit existing template' and choose Canvas. Click 'Manage' and 'Add'.

Description

Give the Site settings a name.

Organization settings

Choose the Organization setting you want to use for this site setting.

Users

Options that define how users are created

Username

Choose a column from the students table. Its default is <Not used>. This means that the username will be the same as in Active Directory.

This column will be used as the login.

Mail alias

Choose a column from the students table. Its default is <Not used>. This means that the mail alias will be the same as default username.

This column will be used as the <Mail alias>@<Mail Domain from organization settings>.

If the column from the database contains a @ it will use this mail and not add <Mail Domain from organization settings>.

SIS ID

Choose a column from the students table. Its default is <Not used>. This means that the SIS ID will be the same as default username.

This column will be used as the SIS ID.

Add organization domain as suffix to username

If this is checked the mail domain from organization settings will be added as part of the login/username.

Set random password

Enable this to set random password on users when they are created. This is used when you enable SSO in Canvas and you don't want them to login with anything else.

Delete users

Delete the users when they are no longer active

Keep inactive before deleting

Wait this number of days before deleting inactive users

Phone country code

Set the default country code for users in Canvas. This is only applied to phone numbers that are not already prefixed.

Distribution lists

Check the box to create, update, and delete groups that has a Canvas setting attached.

Maintain lists

Check this box to enable groups to be created in Canvas

Delete lists

Check this box to delete groups from Canvas

Delete unused lists after

Wait this number of days before deleting unused/old lists

Template security groups

Check the box to create, update, and delete template security groups that has a Canvas setting attached.

Upload student information

Check these boxes to send and update information on students:

  • Mobile Phone

Upload employee information

Check these boxes to send and update information on employees:

  • Mobile Phone

Upload Guardian information

Create Guardians

Check this box to create guardians

Check these boxes to send and update information on guardians:

  • Mobile Phone

Site

See LMS Settings for options that are not described below.

Conclude learners instead of removing them

This tells UMS to conclude the learners on a course instead of removing them.

Activity sites

See Site selection settings

Course sites

See Site selection settings

Organization settings

Description

Give your Organization setting a name.

URL

URL of the Canvas installation.

Mail domain

Mail domain for the Canvas installation.

Access token

Type the access token that is created with the help of this link https://community.canvaslms.com/docs/DOC-10806-4214724194.

The user under which the access token is created must be set to English language

SQL Criteria

This is an overall SQL sentence that is used when creating groups. It is used in conjunction with the sub account settings. This has no impact on sites being created. If left blank there are no criteria.

Root account ID

Enter the root account id from Canvas. This is default 1

Installation ID

This is not used yet

Sub accounts

This section explains how to create a hierarchy in Canvas.

DisplayName

This is an overall SQL sentence that is used when creating groups. It is used in conjunction with the sub account settings. This has no impact on sites being created.

Database field

Select a column from the students table use the contents of that column to build the hierarchy.

SQL Criteria

Select only rows that match the SQL sentence. If left blank there are no criteria.

Add staff as

Add staff to the sub account node with this role

Require parent criterias

Staff will only be added to the node if they meet all the criteria's from the parent nodes

Example of how UMS will build a hierarchy

The account "Byggeriuddannelserne" comes from the 'Sub accounts' settings "Education"

The account "Architectural Technology and Construction" comes from the 'Sub accounts' settings "Department"

Site Settings

You need to attach a site setting to a template. This will tell UMS that sites will be created from this template.

Description

Enter a description for this setting.

Add censors

Add staff where the timetable blocks are of type Censors.

Add examiners

Add staff where the timetable blocks are of type ExamEvent.

SQL Groups

See LMS Settings for this option.

Parameters

> Canvas.exe [<optional> Action]

Eg.

> Canvas.exe
> Canvas.exe UsersOnly
Users
Parameter Description
UsersOnly Runs all the parameters in this table
DeleteUsers Delete users
CreateLearners Create learners
CreateStaff Create staff
UpdateLearners Update learners
UpdateStaff Update staff
UpdateLearnerPictures Update learner pictures
UpdateTeacherPictures Update staff pictures
DeleteLearners Delete learners
DeleteStaff Delete staff
RenameLearners Rename learners (NewCanvasUserName has to filled out in the Canvas_Learners table in the database)
RenameTeachers Rename staff (NewCanvasUserName has to filled out in the Canvas_Teachers table in the database)
Groups
Parameter Description
GroupsOnly Runs all the parameters in this table
SetAccountIDOnGroups Sets the account id in the database based on the hierarchy
AddGroups2DB Add new groups to table in the database
CreateGroups Create groups in Canvas
DeleteGroups Delete groups
AddStaffToGroups Add staff to groups
RemoveStaffFromGroups Remove staff from groups
AddLearnersToGroups Add learners to groups
RemoveLearnersFromGroups Remove learners from groups
AddUsers2TemplateGroups Add users to template groups
RemoveUsersFromTemplateGroups Remove users from template groups
Accounts
Parameter Description
AccountsOnly Runs all the parameters in this table
CreateAccounts Creates the accounts in the hierarchy
AddStaffToAccounts Add staff to the account nodes if selected
RemoveStaffFromAccounts Remove staff from the account nodes
Sites
Parameter Description
SitesOnly Runs all the parameters in this table
AddSites2DB Add new sites to table in the database
CreateSites Create sites
ReCreateSections Recreate sections in Canvas if deleted. Canvas_Section_ID in the table Canvas_Sites must be null
UpdateNeedToBeUpdated Update need to be updated
UpdateSites Update sites
PublishSites Publish sites
DeleteSites Delete sites
AddStaff2Site Add staff to sites
AddLearners2Site Add learners to sites
DeleteStaffSite Delete staff from sites
DeleteLearnersSite Delete learners from sites
AddGuardians2Site Add guardians to sites
DeleteGuardiansSite Delete guardians from sites
Guardians
Parameter Description
GuardiansOnly Runs all the parameters in this table
CreateGuardians Create guardians
UpdateGuardians Update guardians
DeleteGuardians Delete guardians

FAQ

Error. Could not create user

Could not create user and it was not found in a search

  • Open the Canvas.log file and find the more specific error message.
  • Check Canvas for a user that already has this login. This would written in the log files error message.

How do I clean up UMS db?

Delete from Canvas_Learners
Delete from Canvas_Teachers
Delete from Canvas_Guardians
Delete from Canvas_Sites
Delete from Canvas_Groups
Delete from Canvas_SubAccount
Delete from Canvas_RemoveLog
Delete from CanvasTemplateGroups