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 (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -14,11 +14,11 @@ 14 14 15 15 = Introduction = 16 16 17 -//On this page we use the term "Course" for both :course and testin iTrivio.//17 +//On this page we use the term "Course" for both iTrivio courses and tests.// 18 18 19 -The integration of Competent and iTrivio provides features from both softwares merged together and accessible through 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 objects are created (and deleted)in Competent, they are automatically created(and deleted)in iTrivio as well. Competent stores the ID references to the iTrivio objects in it's database.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 23 This applies to creation of: 24 24 ... ... @@ -59,8 +59,8 @@ 59 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 60 61 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 don 't need to create anything.63 -1*. If you want new Users and Activities to be of some othersubtype62 +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 64 1**. Log into Competent as the admin user 65 65 1**. switch to the Admin view 66 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,7 +67,6 @@ 67 67 1. Furthermore we need to create a folder, that would hold all the iTrivio courses in case of synchronization from iTrivio, so 68 68 1*. Log into Competent as the admin user and switch to the Admin view (if you didn't already) 69 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 -1. If you want some other user than the default Competent admin to be able to edit the iTrivio courses, create this user. 71 71 72 72 === __iTrivio__ === 73 73 ... ... @@ -79,31 +79,31 @@ 79 79 1. Go to **Administration **to the section **Users** 80 80 1. **Create new user** that will be responsible for manipulating all objects in iTrivio (courses and users). Fill just his email, name and surename and assign him the role Administrator. 81 81 1. Optionally you can create another new user that will be responsible only for creating new users in iTrivio 82 -1. Go to the **Usergroups administration** and create new usergroup (for e xample Competent users) - this is where all your new users will be assigned.81 +1. Go to the **Usergroups administration** and create new usergroup (for ecample Competent users) - this is where all your new users will be assigned. 83 83 84 84 === __Databases info__ === 85 85 86 -Now we need to write down IDs of all the objects we just created (and some more). If you have both systems asfresh installations, you did not create any specific subtypes in Competent and users in iTrivio, you can just use the default values from brackets.85 +Now we need to write down IDs of all the objects we just created (and some more). If you have both systems fresh installations, you did not create any specific subtypes in Competent and users in iTrivio, you can just use the default values from brackets. 87 87 88 -1. __Competent__ database, in the table __subtype__ write down 87 +1. In __Competent__ database, in the table __subtype__ write down 89 89 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 90 90 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 91 -1. __Competent__ database, in the table __activity_set__ write down 90 +1. In __Competent__ database, in the table __activity_set__ write down 92 92 1*. **ACTIVITY_FOLDER **(by default 1) = ID of the folder you created for new itrivio courses (find by name in the column "name") 93 -1. __iTrivio__ database, in the table __company__ write down 92 +1. In __iTrivio__ database, in the table __company__ write down 94 94 1*. **COMPANY_ID **(by default 1) = ID of the company that will be synchornized with Competent (find by name in the column "name") 95 95 1*. **COMPANY_URL **(by default empty) = value from the column "urlContext" of the company that will be synchornized with Competent (find by name in the column "name") 96 -1. __iTrivio__ database, in the table __course__ write down 95 +1. In __iTrivio__ database, in the table __course__ write down 97 97 1*. **COURSE_FOLDER **(by default 1) = ID of the folder that you created for new courses created from Competent (find by name in the column "name") 98 -1. __iTrivio__ database, in the table __itrivio_user__ write down 97 +1. In __iTrivio__ database, in the table __itrivio_user__ write down 99 99 1*. If you skipped the steps 4) - 6) in iTrivio preparation and you are using fresh iTrivio instalation, just write down the default values 100 100 1*. **ADMIN_CREATOR **(by default 2) = ID of the user that will be creating all the users and courses in iTrivio 101 101 1*. **ADMIN_USER_CREATOR **(by default 2) = ID of the user that will be creating all the users in iTrivio 102 -1. __iTrivio__ database, in the table __usergroup__ write down 101 +1. In __iTrivio__ database, in the table __usergroup__ write down 103 103 1*. **USERGROUP **(by default 1) = ID of the usegroup that all your new users will be assigned to 104 -1. __iTrivio__ database, in the table __playerskintemplate__ write down 103 +1. In __iTrivio__ database, in the table __playerskintemplate__ write down 105 105 1*. **PLAYER_TEMPLATE **(by default 1) = ID of the player that will play your iTrivio courses (this is optional as the system has a default player) 106 -1. **TODO -IMPORTANT BUT CHECK WITH ONDREJ**- manually connect the two admins in Competent DB by external ID???And generally who can EDIT the courses...?105 +1. IMPORTANT BUT CHECK WITH ONDREJ - manually connect the two admins in Competent DB by external ID??? 107 107 108 108 = Configuration = 109 109 ... ... @@ -180,12 +180,12 @@ 180 180 # secret part of you JWT key - used for communication with the Competent system and creating auto-login links 181 181 # see also jwt.expiration 182 182 # (must match the competentItrivioIntegration.auth.key property from Competent) 183 -jwt.key= xxxsecret182 +jwt.key=aaasssddd 184 184 {{/code}} 185 185 186 186 = Final setting test = 187 187 188 -* Now run (or restart)bothSystems, **butfrom now ondo not touch iTrivio **apart from making changes in the course creator tool when redirected there from Competent.187 +* Now run both Apps, **but do not touch iTrivio app** apart from making changes in the course creator tool when redirected there from Competent. 189 189 * Log into Competent, go to the Admin view to the Activities page. 190 190 * Create an Activity (of whatever subtype) and go to it's tab Details 191 191 * Edit the Launch type property, set it to iTrivio and hit the Save and Create in iTrivio button