Itslearning: Difference between revisions

From UmsWiki
Jump to navigation Jump to search
Kia (talk | contribs)
No edit summary
Kia (talk | contribs)
 
(60 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Our itslearning integration is developed for schools, which 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.  
Our itslearning 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 ===
===Configuration in UMS===
This allows users to log into itslearning with the same password they use to access the school’s IT-system. The itslearning 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, who can focus on other tasks instead.
This allows users to log into itslearning with the same password they use to access the school’s IT-system. The itslearning 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 ==
==Prerequisites==


=== Module requirements ===
===Module requirements===
[[UMS]]
[[UMS]]


=== What to have ready ===
===What to have ready===
itslearning


== Installation ==
*Request a test site from Its learning. It's learning will send username, password and URL for the test site.
Open UMS Configurator and go to Template > itslearning
*The user must be system Administrator on the test site.
*You must have itslearning give the rights to "'''manage Enterprise web services'''" for this administrative user
*As System Administrator will you have access to the following displayed on the image below
 
[[File:It's learing 1.png|none|thumb|755x755px]]
 
Make sure that "Manage API" is enabled, as shown in the image below
[[File:It's learing 2.png|none|thumb|753x753px]]
 
Click on "Manage Enterprise web services" as shown in the image below
[[File:It's learing 3.png|none|thumb|752x752px]]
 
Fill out in the following points, as shown in the image below.
 
*Title
*Username (If set to auto-generate, new username will be generated. If set to import, will username be imported from ums)
*Password (If set to auto-generate, new password will be generated. If set to import, will password be imported from ums)
*User profile data (choose which permerts should sync to it's learning)
*System to use must be set to IMS-Enterprise
*URL to service (copy url for it to be used later)
*Username (copy url for it to be used later)
*Password (copy url for it to be used later)
 
[[File:Capture.png|none|thumb|857x857px]]
 
==Installation==
Open UMS Configurator and go to Template > itslearning. Click the first manage button.
[[File:Itslearning Template.jpg|none|thumb|791x791px]]
[[File:Itslearning Template.jpg|none|thumb|791x791px]]


Click the first manage button.
You will now see an overview of your itslearning settings.
[[File:Itslearning Settings.jpg|none|thumb|556x556px]]
[[File:Itslearning Settings.jpg|none|thumb|556x556px]]


== itslearning setting ==
==itslearning settings==
From Configurator, Edit existing template > itslearning > Manage > Add
[[File:Itslearning settings.png|none|thumb|751x751px]]
[[File:Itslearning Settings Edit.jpg|none|thumb|751x751px]]
'''Description:'''


====Description====
Give the Site settings a name.
Give the Site settings a name.


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


'''Default country'''
====Users====


Choose default country. This is used when creating users.
=====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.


'''Authentication method'''
This column will be used as the login.


Login method for the users  
=====Delete users=====
Delete the users when they are no longer active


'''Mail domain for new students'''
=====Keep inactive before deleting=====
Wait this number of days before deleting inactive users


The address appended to their username in moodle to give them an email address
====Template security groups====
Check the box to create, update, and delete template security groups that has an itslearning setting attached.


'''Mail domain for new employees'''
====Upload student information====
Check these boxes to send and update information on students:


The address appended to their username in moodle to give them an email address
*Address
*Phone
*Mobile Phone
*Private mail


=== Upload student information ===
====Timetable====
Check these boxes to send and update information on students
Check maintain to make the timetable on users
* Address
* Phone (Phone1)
* Mobile Phone (Phone 2)
* Mail


=== Picture library ===
Check Delete old to cleanup appointments from users calendar
Upload pictures of students


See [[Configurator/Picture_libraries|Picture libraries]]
====Timetable courses====
Check maintain to make the timetable on Activities or courses


=== Upload employee information ===
Check Delete old to cleanup appointments from activity or course calendar
Check these boxes to send and update information on employees
* Address
* Phone (Phone1)
* Mobile Phone (Phone 2)
* Mail


=== Site ===
====Upload employee information====
[[File:Itslearning Settings Edit Site Settings.jpg|none|thumb|895x895px]]
Check these boxes to send and update information on employees:
See [[LMS Settings]] for options not descriped below


'''Language'''
*Address
*Phone
*Mobile Phone
*Private mail


The language set on a site when is it created.
===Site===
 
See [[LMS Settings]] for options that are not described below.
'''Course category'''
[[File:Itslearning Settings Edit Site Settings.jpg|none|thumb|895x895px]]
====Language====
The language used for a site when it is created


The category the is put on the site when it's created
====Course category====
The category is put on the site when it is created


==== Activity sites ====
====Activity sites====
See [[Site selection settings]]
See [[Site selection settings]]


==== Course sites ====
====Course sites====
See [[Site selection settings]]
See [[Site selection settings]]


== Organization settings ==
==Organization settings==
[[File:Itslearning Organization Settings.jpg|link=http://wiki.inlogic.dk/index.php/File:Itslearning%20Organization%20Settings.jpg|none|thumb|556x556px]]
[[File:Itslearning Organization Settings.jpg|link=http://wiki.inlogic.dk/index.php/File:Itslearning%20Organization%20Settings.jpg|none|thumb|556x556px]]
[[File:Itslearning Organization Settings Edit.jpg|link=http://wiki.inlogic.dk/index.php/File:Itslearning%20Organization%20Settings%20Edit.jpg|none|thumb|324x324px]]
[[File:Itslearning Organization Settings Edit.jpg|link=http://wiki.inlogic.dk/index.php/File:Itslearning%20Organization%20Settings%20Edit.jpg|none|thumb|449x449px]]
'''Description'''
====Description====
Give your Organization setting a name.
 
====Service URL====
Type your "URL to service" for API connection (contact itslearning to acquire your username or login as an admin on yourschool.itslearning.com, Manage IMS Enterprise web services).
 
====Username====
Type your username for API connection (contact itslearning to acquire your username or login as an admin on yourschool.itslearning.com, Manage IMS Enterprise web services).
 
====Password====
Type your password for API connection (contact itslearning to acquire your username or login as an admin on yourschool.itslearning.com, Manage IMS Enterprise web services).
 
====Source organization====
Type the source organization for API connection (contact itslearning to acquire the source organization).


Give your Organization setting a name.
====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 courses being created. If left blank there are no criteria.


'''DatabaseServer'''
====Organization API Client ID====
Only relevant if you have a contract with itslearning that allows synchronization of timetableblocks


Name of database server hosting the Moodle database.
====Organization API Client secret====
Only relevant if you have a contract with itslearning that allows synchronization of timetableblocks


'''DatabaseName'''
====Use test installation====
Enable this to use a test installation instead of production.


Name of Moodle database.
====Installation ID====
This is an ID you set in UMS to specify the multiple organization settings belong to the same itslearning installation.


'''Database TablesPrefix'''
itslearning installations that has the same URL should normally have the same ID in UMS.
===Sub accounts===
This section explains how to create a hierarchy in itslearning. [[File:Itslearning Sub accounts.jpg|none|thumb|620x620px]]


Table prefix set when installing Moodle.
====Description====
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 courses being created.


'''UserName'''
====Database field====
Select a column from the students table use the contents of that column to build the hierarchy.


UserName of the user that can access the database.
====SQL Criteria====
Select only rows that match the SQL sentence. If left blank there are no criteria.


'''Password'''
====Example of how UMS will build a hierarchy====


Password of the user that can access the database.
All groups will be sorted in the hierarchy. Groups that are not sorted in the hierarchy will be put in 'UMS Groups'.


'''URL'''
All template security groups will be created in 'UMS Template Groups'.


URL for your Moodle installation ex. <nowiki>http://moodle.inlogic.dk</nowiki>
[[File:Itslearning hierarchy.jpg|none|thumb|1263x1263px]]


'''Webservice Token'''
===Sub accounts Courses===
This section explains how to create a hierarchy in itslearning. [[File:Itslearning Sub accounts.jpg|none|thumb|620x620px]]


Token created in Moodle siteadministration. Guide to create access and token ( Remember: When adding functions to webservice, add all functions )
====Description====
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 courses being created.


'''DataPath'''
====Database field====
Select a column from the students table use the contents of that column to build the hierarchy.


Moodle data path ex. \\moodle.inlogic.dk\c$\Moodle\server\moodledata\filedir.
====Database field (Displayname)====
Select a column from the students table use the contents of that column as title in the hierarchy. This is dependent on the "'''Database field'''".


The user running moodle exe must have access to this path.
====SQL Criteria====
Select only rows that match the SQL sentence. If left blank there are no criteria.


'''DatabaseType'''
====Example of how UMS will build a hierarchy====


Choose Database type used for Moodle. can only be one in the list below.
All groups will be sorted in the hierarchy. Groups that are not sorted in the hierarchy will be put in 'UMS Courses'.
* Microsoft SQL
* MySQL
* Oracle SQL


== Sub accounts ==
All courses that becomes inactive will be put in 'UMS Courses archive'.
[[File:Itslearning Sub accounts.jpg|none|thumb|622x622px]]
[[File:Itslearning hierarchy Courses.jpg|none|thumb|1263x1263px]]


== Site Settings ==
==Site Settings==
You need to attach a cohort setting to a template. This will tell UMS that cohorts will be created from this template.
You need to attach a cohort setting to a template. This will tell UMS that cohorts will be created from this template.
[[File:Itslearning Site Template Settings.jpg|none|thumb|556x556px]]
[[File:Itslearning Site Template Settings.jpg|none|thumb|556x556px]]
[[File:Itslearning Site Template Settings Edit.jpg|none|thumb|422x422px]]
[[File:Itslearning Site Template Settings Edit.jpg|none|thumb|422x422px]]


'''Description'''
====Description====
Enter a description for this setting.


Enter a description for this setting
====Template====
Enter a template SyncKey that is used when creating courses.


'''Cohort category'''
if you are using a course that was created by UMS then remember to prefix the template name with UMSCourse_.


Enter a category that will be attached to the cohorts when they are created
Validation rule: The course template SyncKey must exist, and must refer to a course template, not a regular course.


'''SQL Groups'''
[https://developer.itslearning.com/Working_with_course_templates_in_IMS_ES.html Working_with_course_templates_in_IMS_ES]


See [[LMS Settings]] for this option
For this purpose we need a UMSServiceUser. The synckey for user object has to be the same as the username, UMSServiceUser.


== Group Settings ==
====SQL Groups====
See [[LMS Settings]] for this option.
 
==Group Settings==
You need to attach a cohort setting to a template. This will tell UMS that cohorts will be created from this template.
You need to attach a cohort setting to a template. This will tell UMS that cohorts will be created from this template.
[[File:Itslearning Group Template Settings.jpg|none|thumb|556x556px]]
[[File:Itslearning Group Template Settings.jpg|none|thumb|556x556px]]
[[File:Itslearning Group Template Settings Edit.jpg|none|thumb|422x422px]]
[[File:Itslearning Group Template Settings Edit.jpg|none|thumb|422x422px]]
====Description====
Enter a description for this setting.
====Template====
Enter a template SyncKey that is used when creating groups.
if you are using a group that was created by UMS then remember to prefix the template name with UMSGroups_.
Validation rule: The group template SyncKey must exist, and must refer to a course template, not a regular group. The option to set the synchronization must be enabled on the customer.
This is done under the settings for course.
[https://developer.itslearning.com/Working_with_course_templates_in_IMS_ES.html Working_with_course_templates_in_IMS_ES]
For this purpose we need a UMSServiceUser. The synckey for user object has to be the same as the username, UMSServiceUser.
====SQL Groups====
See [[LMS Settings]] for this option.
==FAQ==


'''Description'''
===Is password synchronization between UMS and Itslearning supported?===
Short answer: No


Enter a description for this setting
Itslearning supports SSO and LDAP


'''Cohort category'''
===How do I clean up UMS db?===
Delete from itslearning_Learners
Delete from itslearning_Teachers
Delete from itslearning_Sites
Delete from itslearning_SubAccount_Courses
Delete from itslearning_Groups
Delete from itslearning_SubAccount
Delete from itslearningTemplateGroups
Update itslearningOrganizationSettings Set UMSCoursesCreated = 0, UMSTemplateGroupsCreated= 0, UMSGroupsCreated = 0, UMSCoursesArchiveCreated = 0


Enter a category that will be attached to the cohorts when they are created
Then run this commands:
itslearning.exe ChangeAllPersonIdentifiersToUserName
itslearning.exe usersonly (run this twice, on 2nd run UMS will detect users with missing sync keys)


'''SQL Groups'''
===Missing uses in Course.===


See [[LMS Settings]] for this option
*Check that the course exists
*Check if user exists in It'slearning
*If course exists and user exists but user does not exist in course.  Find course, sign up for course then click on participants, click tab hierarchy synchronization, click on find hierarchy, click on Search. [[File:2019-12-04 11 34 30-itslearning.png|none|thumb|1360x1360px]]Search for the relevant course, then click "Choose"[[File:2019-12-04 11 37 22-Search for hierarchy.png|none|thumb|1285x1285px]]Now all participants should be in the relevant course


== FAQ ==
=== Trying to set synckey on user but fails ===
if it says something like "'''already on another user with the name unknown unknown'''" it's because the unknown user is in the "'''Recycle bin'''"

Latest revision as of 14:03, 15 November 2022

Our itslearning 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 itslearning with the same password they use to access the school’s IT-system. The itslearning 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

  • Request a test site from Its learning. It's learning will send username, password and URL for the test site.
  • The user must be system Administrator on the test site.
  • You must have itslearning give the rights to "manage Enterprise web services" for this administrative user
  • As System Administrator will you have access to the following displayed on the image below

Make sure that "Manage API" is enabled, as shown in the image below

Click on "Manage Enterprise web services" as shown in the image below

Fill out in the following points, as shown in the image below.

  • Title
  • Username (If set to auto-generate, new username will be generated. If set to import, will username be imported from ums)
  • Password (If set to auto-generate, new password will be generated. If set to import, will password be imported from ums)
  • User profile data (choose which permerts should sync to it's learning)
  • System to use must be set to IMS-Enterprise
  • URL to service (copy url for it to be used later)
  • Username (copy url for it to be used later)
  • Password (copy url for it to be used later)

Installation

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

You will now see an overview of your itslearning settings.

itslearning settings

Description

Give the Site settings a name.

Organization settings

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

Users

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.

Delete users

Delete the users when they are no longer active

Keep inactive before deleting

Wait this number of days before deleting inactive users

Template security groups

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

Upload student information

Check these boxes to send and update information on students:

  • Address
  • Phone
  • Mobile Phone
  • Private mail

Timetable

Check maintain to make the timetable on users

Check Delete old to cleanup appointments from users calendar

Timetable courses

Check maintain to make the timetable on Activities or courses

Check Delete old to cleanup appointments from activity or course calendar

Upload employee information

Check these boxes to send and update information on employees:

  • Address
  • Phone
  • Mobile Phone
  • Private mail

Site

See LMS Settings for options that are not described below.

Language

The language used for a site when it is created

Course category

The category is put on the site when it is created

Activity sites

See Site selection settings

Course sites

See Site selection settings

Organization settings

Description

Give your Organization setting a name.

Service URL

Type your "URL to service" for API connection (contact itslearning to acquire your username or login as an admin on yourschool.itslearning.com, Manage IMS Enterprise web services).

Username

Type your username for API connection (contact itslearning to acquire your username or login as an admin on yourschool.itslearning.com, Manage IMS Enterprise web services).

Password

Type your password for API connection (contact itslearning to acquire your username or login as an admin on yourschool.itslearning.com, Manage IMS Enterprise web services).

Source organization

Type the source organization for API connection (contact itslearning to acquire the source organization).

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 courses being created. If left blank there are no criteria.

Organization API Client ID

Only relevant if you have a contract with itslearning that allows synchronization of timetableblocks

Organization API Client secret

Only relevant if you have a contract with itslearning that allows synchronization of timetableblocks

Use test installation

Enable this to use a test installation instead of production.

Installation ID

This is an ID you set in UMS to specify the multiple organization settings belong to the same itslearning installation.

itslearning installations that has the same URL should normally have the same ID in UMS.

Sub accounts

This section explains how to create a hierarchy in itslearning.

Description

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 courses 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.

Example of how UMS will build a hierarchy

All groups will be sorted in the hierarchy. Groups that are not sorted in the hierarchy will be put in 'UMS Groups'.

All template security groups will be created in 'UMS Template Groups'.

Sub accounts Courses

This section explains how to create a hierarchy in itslearning.

Description

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 courses being created.

Database field

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

Database field (Displayname)

Select a column from the students table use the contents of that column as title in the hierarchy. This is dependent on the "Database field".

SQL Criteria

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

Example of how UMS will build a hierarchy

All groups will be sorted in the hierarchy. Groups that are not sorted in the hierarchy will be put in 'UMS Courses'.

All courses that becomes inactive will be put in 'UMS Courses archive'.

Site Settings

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

Description

Enter a description for this setting.

Template

Enter a template SyncKey that is used when creating courses.

if you are using a course that was created by UMS then remember to prefix the template name with UMSCourse_.

Validation rule: The course template SyncKey must exist, and must refer to a course template, not a regular course.

Working_with_course_templates_in_IMS_ES

For this purpose we need a UMSServiceUser. The synckey for user object has to be the same as the username, UMSServiceUser.

SQL Groups

See LMS Settings for this option.

Group Settings

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

Description

Enter a description for this setting.

Template

Enter a template SyncKey that is used when creating groups.

if you are using a group that was created by UMS then remember to prefix the template name with UMSGroups_.

Validation rule: The group template SyncKey must exist, and must refer to a course template, not a regular group. The option to set the synchronization must be enabled on the customer.

This is done under the settings for course.

Working_with_course_templates_in_IMS_ES

For this purpose we need a UMSServiceUser. The synckey for user object has to be the same as the username, UMSServiceUser.

SQL Groups

See LMS Settings for this option.

FAQ

Is password synchronization between UMS and Itslearning supported?

Short answer: No

Itslearning supports SSO and LDAP

How do I clean up UMS db?

Delete from itslearning_Learners
Delete from itslearning_Teachers
Delete from itslearning_Sites
Delete from itslearning_SubAccount_Courses
Delete from itslearning_Groups
Delete from itslearning_SubAccount
Delete from itslearningTemplateGroups
Update itslearningOrganizationSettings Set UMSCoursesCreated = 0, UMSTemplateGroupsCreated= 0, UMSGroupsCreated = 0, UMSCoursesArchiveCreated = 0

Then run this commands:

itslearning.exe ChangeAllPersonIdentifiersToUserName
itslearning.exe usersonly (run this twice, on 2nd run UMS will detect users with missing sync keys)

Missing uses in Course.

  • Check that the course exists
  • Check if user exists in It'slearning
  • If course exists and user exists but user does not exist in course. Find course, sign up for course then click on participants, click tab hierarchy synchronization, click on find hierarchy, click on Search.
    Search for the relevant course, then click "Choose"
    Now all participants should be in the relevant course

Trying to set synckey on user but fails

if it says something like "already on another user with the name unknown unknown" it's because the unknown user is in the "Recycle bin"