Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
|
local:shop:setup:products [2018/02/14 20:59] florence |
local:shop:setup:products [2020/04/07 11:06] (Version actuelle) |
||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | <html><!-- nomoodle --></html>{{ :logo-apl.png?nolink |}}<html><!-- /nomoodle --></html> | ||
| =====Back Office : Configuration and implementation of a commercial offer===== | =====Back Office : Configuration and implementation of a commercial offer===== | ||
| =====Configurer des produits simples===== | =====Configurer des produits simples===== | ||
| Ligne 112: | Ligne 113: | ||
| Settings | Settings | ||
| - | 'coursename=<%course shortname%>' | + | 'coursename=<%course shortname%>' |
| the course shortname as defined by course creator. this is supposed to be unique and always present. | the course shortname as defined by course creator. this is supposed to be unique and always present. | ||
| Ligne 119: | Ligne 120: | ||
| - | 'role=<%role shortname%>' | + | 'role=<%role shortname%>' |
| the role that will be assigned to customer in the course | the role that will be assigned to customer in the course | ||
| Ligne 126: | Ligne 127: | ||
| - | 'duration=<%enrol duration in days%>' | + | 'duration=<%enrol duration in days%>' |
| the real start/end dates of the enrol will be calculated from the time the handler is run. | the real start/end dates of the enrol will be calculated from the time the handler is run. | ||
| Ligne 137: | Ligne 138: | ||
| Settings | Settings | ||
| - | 'coursename=<%course shortname%>' | + | 'coursename=<%course shortname%>' |
| the course shortname as defined by course creator. this is supposed to be unique and always present. | the course shortname as defined by course creator. this is supposed to be unique and always present. | ||
| Ligne 145: | Ligne 146: | ||
| This allows designating the exact role that will be assigned for supervisors. | This allows designating the exact role that will be assigned for supervisors. | ||
| - | 'duration=<%enrol duration in days%>' | + | 'duration=<%enrol duration in days%>' |
| the real start/end dates of the enrol will be calculated from the time the handler is run. | the real start/end dates of the enrol will be calculated from the time the handler is run. | ||
| Ligne 153: | Ligne 154: | ||
| Settings | Settings | ||
| - | 'template=<%course template shortname%>' | + | 'template=<%course template shortname%>' |
| The shortname of an existing course considered as template for course. The shortname is unique and is always present in Moodle. Check there is a prepared backup of the course in the ocurse backup area. | The shortname of an existing course considered as template for course. The shortname is unique and is always present in Moodle. Check there is a prepared backup of the course in the ocurse backup area. | ||
| - | 'coursecategory=<%course category id%>' | + | 'coursecategory=<%course category id%>' |
| This will tune where the new course will be created. Note that the product owner MUST have course creation capability in the designated category for the operation to succeed. | This will tune where the new course will be created. Note that the product owner MUST have course creation capability in the designated category for the operation to succeed. | ||
| - | 'duration=<%duration in days%>' | + | 'duration=<%duration in days%>' |
| Duration is calculated from the purchase date and affects the teacher account enrol and is stored in the product metadata stub to calculate product obsolescence and trigger end of life action. | Duration is calculated from the purchase date and affects the teacher account enrol and is stored in the product metadata stub to calculate product obsolescence and trigger end of life action. | ||
| Ligne 169: | Ligne 170: | ||
| Settings | Settings | ||
| - | 'parentcategory=<%categoryid%>' | + | 'parentcategory=<%categoryid%>' |
| The parent category to which the created category will be attached to. The product owner needs to be manager of the category or have the relevant permissions. | The parent category to which the created category will be attached to. The product owner needs to be manager of the category or have the relevant permissions. | ||
| Ligne 177: | Ligne 178: | ||
| Settings | Settings | ||
| - | 'contextlevel=<%contextlevelID%>' (10 = system, 40 = category, 50 = course, 70 = module, 80 = block) | + | 'contextlevel=<%contextlevelID%>' (10 = system, 40 = category, 50 = course, 70 = module, 80 = block) |
| The context level. | The context level. | ||
| - | 'instance=<%instanceID%>' | + | 'instance=<%instanceID%>' |
| The ID of the instance attached to the context. Irrelevant for system context. | The ID of the instance attached to the context. Irrelevant for system context. | ||
| - | 'role=<%roleshortname%>' | + | 'role=<%roleshortname%>' |
| the shortname of the role to assign. A capability check will be performed on product owner to actually execute the product handler. | the shortname of the role to assign. A capability check will be performed on product owner to actually execute the product handler. | ||
| Ligne 199: | Ligne 200: | ||
| - | {{ :local:shop:setup:5-automation.png?nolink&850 |}} | + | {{ :local:shop:setup:5-automation.png?nolink |}} |
| ---- | ---- | ||