local:shop:setup:products

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
local:shop:setup:products [2018/02/14 20:59]
florence
local:shop:setup:products [2024/05/14 15:39] (current)
Line 1: Line 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=====
Line 112: Line 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.
Line 119: Line 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
Line 126: Line 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.
Line 137: Line 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.
Line 145: Line 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.
Line 153: Line 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.
Line 169: Line 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.
Line 177: Line 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.
Line 199: Line 200:
  
  
-{{ :​local:​shop:​setup:​5-automation.png?​nolink&​850 ​|}}+{{ :​local:​shop:​setup:​5-automation.png?​nolink |}}
  
 ---- ----
local/shop/setup/products.1518638397.txt.gz · Last modified: 2024/04/04 15:50 (external edit)