Changes for page Competent - iTrivio integration
Last modified by Petr Blšťák on 2024/09/18 11:55
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. osteffl1 +XWiki.pblstak - Content
-
... ... @@ -16,38 +16,79 @@ 16 16 17 17 //On this page we use the term "Course" for both iTrivio courses and tests.// 18 18 19 - Integration of CompetentwithiTrivio provides featuresof both software merged and accessible through the Competent.19 +The integration of Competent and iTrivio provides features from both softwares merged together and accessible through the Competent. 20 20 21 -When specific object is created in Competent,itisautomatically createdalsoin iTrivio. Competent thencontainsID reference toitsiTriviocounterpart.21 +When specific objects are created in Competent, they are automatically created in iTrivio as well. Competent stores the ID references to the iTrivio objects in its database. 22 22 23 -This applies to creation and deletion of23 +This applies to creation of: 24 24 25 25 * Users 26 -* Courses ( in Competent these areActivities with launch type iTrivio)26 +* Courses (Activities with the specific launch type iTrivio) 27 27 * User-Course assignments 28 28 * User-Course attempts 29 29 30 -iTrivio application is accessible only with specific links in Competent when30 +iTrivio application is accessible only throught specific links in Competent when: 31 31 32 -* editing content of Course 33 -* playing Course 32 +* editing a content of Course 33 +* playing a Course 34 34 * displaying specific User-Course reports 35 35 36 -The generatedlinks totheiTrivio containsa one time auto-login security tokenwhichapproves the current user's action intheiTriviothus there is no needto the user to log inintotheiTrivio.Bydefault ispassword of an user intheiTrivio different (random)fromhis/hers Competent password to prevent directaccess to the iTrivio. We recommend to disable iTrivio emailing and to keep iTrivio user's password secret to the user.36 +The links to iTrivio contain a one time auto-login security token that approves the current user's action in iTrivio. There is no need for the user to log into iTrivio system manually. 37 37 38 +By default the password of a user in iTrivio is different (random) from his password in Competent to prevent direct access to iTrivio. We recommend to disable iTrivio emailing and to keep iTrivio user's password secret to the user. 39 + 38 38 (% class="box warningmessage" %) 39 39 ((( 40 40 **Modifying iTrivio directly (out of Competent platform) can cause synchronization issues, especially when manipulating with Users, Courses, User-Course attempts and assignments.** 41 41 ))) 42 42 43 -Th isconfiguration describes the basic scenario where45 +The configuration below describes the basic scenario where 44 44 45 45 * both iTrivio and Competent are fresh installations 46 -* login with default iTrivio and Competent admin accounts were successfully tested 47 -* Competent will be main platform to handle course creation/deletion, user management and user-course management. 48 +* login with the default iTrivio and Competent admin accounts were successfully tested 49 +* Competent will be the main platform to handle course creation/deletion, user management and user-course management. 48 48 49 -Contact Educasoft for specific configuration procedure in other more complex scenarios (e.g. Competent is going to use existing iTrivio application already filled with course/user data 51 +Contact Educasoft for specific configuration procedure in other, more complex scenarios (e.g. Competent is going to use existing iTrivio application already filled with course/user data). 50 50 53 += Systems preparation = 54 + 55 +In order for the two systems to work together, we first have to create the basic structures they will operate with - users, folders etc. 56 + 57 +=== __Competent__ === 58 + 59 +If you have both systems as a fresh installations and you will use them only throught the Competent system, you can skip this step and go to the iTrivio preparation. 60 + 61 +1. We need to decide what subtypes we want to use for new Users and new Activites in the use case, when we would need to synchronize users and courses from iTrivio into Competent. This will not typically happen if you will use the systems as described above. 62 +1*. If you want new Users and Activities to be of default subtype, you dont need to create anything. 63 +1*. If you want new Users and Activities to be of some special subtype 64 +1**. Log into Competent as the admin user 65 +1**. switch to the Admin view 66 +1**. go to the page Settings, to the tab Subtypes and create new subtypes for User and Activity (click on the green plus icon, fill in the new subtype name and hit the Create button). 67 +1. Furthermore we need to create a folder, that would hold all the iTrivio courses in case of synchronization from iTrivio, so 68 +1*. Log into Competent as the admin user and switch to the Admin view (if you didn't already) 69 +1*. Go to the Competent page Activities and create a new folder named for example iTrivio Courses (click on the green plus icon, choose Folder, fill in it's name and click Save). 70 + 71 +=== __iTrivio__ === 72 + 73 +Here we need to create the users that will manipulate iTrivio courses and a folder to store them. 74 + 75 +1. Log into iTrivio as admin user and go to the **Courses & Tests** 76 +1. **Create a new folder** named for example Competent courses - this is where all your courses will be stored 77 +1. Go to **Administration **to the section **Users** 78 +1. **Create new user** that will be responsible for manipulating all objects in iTrivio (courses and users). Fill just his email, name and surename. 79 +1. Optionally you can create another new user that will be responsible only for creating new users in iTrivio 80 +1. Go to the **Usergroups administration** and create new usergroup (for ecample Competent users) - this is where all your new users will be assigned. 81 + 82 +=== __Databases__ === 83 + 84 +Now we need to write down IDs of all the objects we just created (and some more). 85 + 86 +1. In __Competent__ database, in the table __subtype__ write down 87 +1*. **USER_SUBTYPE **(by default 1) = subtype ID of the default_user (column "name") or if you created a specific subtype, find it by its name and write down it's ID 88 +1*. **ACTIVITY_SUBTYPE **(by default 2) = subtype ID of the default_timeless_activity (column "name") that has "activity_type_id" = 1. If you created a specific subtype, find it by its name and write down it's ID 89 +1. In __Competent__ database, in the table activity_set write down 90 +1*. **CMP_ACTIVITY_FOLDER **= ID of the folder you created for new itrivio courses (fing by name in the column "name") 91 + 51 51 = Competent part = 52 52 53 53