From version < 17.1 >
edited by Petr Blšťák
on 2020/04/30 13:55
To version < 18.1 >
edited by Petr Blšťák
on 2020/04/30 14:08
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,8 +6,3 @@
1 -(% class="box errormessage" %)
2 -(((
3 -This section is currently under construction... please wait until is finished
4 -)))
5 -
6 6  = Software to be installed =
7 7  
8 8  //Unless stated otherwise, newer stable versions of the program should work.//
... ... @@ -67,7 +67,7 @@
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.
65 +1. If you want some other user than the default Competent admin to be able to edit the iTrivio courses, create this user. Note that this user should have appropriate admin rights. We recommend to use the default admin for now.
71 71  
72 72  === __iTrivio__ ===
73 73  
... ... @@ -101,9 +101,6 @@
101 101  1*. **ADMIN_USER_CREATOR **(by default 2) = ID of the user that will be creating all the users in iTrivio
102 102  1. __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
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...?
107 107  
108 108  = Configuration =
109 109  
... ... @@ -111,8 +111,14 @@
111 111  
112 112  === __Competent__ ===
113 113  
114 -In the application.properties, or in your own application-yourNameShortcut.properties file set the following propeties:
106 +First we need to manually connect the first two users:
115 115  
108 +* Go to the Competent database once more, to the table __user_mt__ and find either the default Competent admin (by login "admin" and typically it will be the user with ID=1) or the other user you created in the Competent preparation step, to edit your iTrivio courses.
109 +* Find the column external_id and instead of NULL fill in the <ADMIN_CREATOR> value.
110 +* For now, this user will be the only one in your company that will be able to edit the iTrivio courses. Other user with appropriate rights can only create/delete/run them.
111 +
112 +Now open the **application.properties** file and set the following propeties:
113 +
116 116  {{code language="properties"}}
117 117  #-# set to true if enabled
118 118  competentItrivioIntegration.enabled=true
... ... @@ -167,7 +167,7 @@
167 167  * **COMPETENT_INTEGRATION_TARGET_FOLDER_ID** = <COURSE_FOLDER>
168 168  * **COMPETENT_INTEGRATION_API_URL **//(url where Competent is running eg.: //[[http:~~/~~/localhost:9000/>>url:http://localhost:9000/]]//)//
169 169  * **COMPETENT_INTEGRATION_USERGROUP_ID** = <USERGROUP>
170 -* **COMPETENT_INTEGRATION_COURSE_TEMPLATE** = <PLAYER_TEMPLATE> TODO This doesn't seem to have any effect
168 +* **COMPETENT_INTEGRATION_COURSE_TEMPLATE** = //leave this option blank, for now it has no effect on the system//
171 171  
172 172  Save the setting with the **Odeslat **button (nothing visible will happen, don't be worried, it was saved)
173 173  
... ... @@ -186,7 +186,7 @@
186 186  = Final setting test =
187 187  
188 188  * Now run (or restart) both Systems, **but from now on do not touch iTrivio **apart from making changes in the course creator tool when redirected there from Competent.
189 -* Log into Competent, go to the Admin view to the Activities page.
187 +* Log into Competent (as the user able to edit iTrivio courses), 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
192 192  * If you get any errors, check the configuration if all is set properly