- 4 Minutes to read
- Print
- DarkLight
- PDF
Import modules and course components
- 4 Minutes to read
- Print
- DarkLight
- PDF
Import modules and course components
It is now possible to import modules and course component such as face-to-face sessions or virtual classrooms via a CSV file.
The order of imports
Module (studio)
Training (training)
Design elements (stages, face-to-face or virtual studio sessions)
Meeting sessions (Planning)
See:
Import the modules
Open the menu Configuration > Import Data.
Select the format for this import: CSV file, Syfadis format, Modules.
Therefore, this file is in text format. The encoding is ANSI by default, but it can be changed.
Select a separator for columns that can contain multiple values. By default, we use the " | ".
Select a separator for the columns (usually "," or ";").
Check or uncheck both options:
Import the first row of the file (which sometimes can be the column labels).
With preview of the results. You can view the import before it runs.
Operations support options. Select the checkbox(es) to import inserts (creatives) or updates for this import.
The contents of a file
The columns taken into account in the file to be imported are defined in a configuration parameter in the configuration page, node "Data Import Modules".
This parameter is "Column order for CSV file, Syfadis format, training topics" and has the default value:
ExternalId; Name; Father_ExternalId; CodeExternalId; Name; Description;_PrimaryDomain-Domain-ExternalId; Import_PrivilegesOnResource_DomainExternalId; Import_PrivilegesOnResource_Privilege; Author; Subjects.Subject.ExternalId; Subjects.Subject.Name; Code; GroupingCode; Difficulty;_EstimatedDuration-Length;_EstimatedDuration-Scale; Import_FreeMode; Import_PopupFullScreen; Import_IsVisibleAction; Import_IsVisiblePlan; Import_IsVisibleNavigationButtons; Import_IsVisibleProgressBar
The order of the columns is important for the import mechanism!
For each line of the file, there are a few rules:
The "ExternalId" and "Name" fields are required otherwise the data is not imported (read).
The order of the columns is fixed. If you don't have any information to put in a column, you should leave it blank, don't delete it.
Default Columns
Name | Explanation |
ExternalId | External Id of the module |
Name | Module Name |
Description | |
_PrimaryDomain-Domain-ExternalId | External Id Management Domain |
Import_PrivilegesOnResource_DomainExternalId | List of ExternalIds of Domains to Which Resources Are Published Separated by Pipes | |
Import_PrivilegesOnResource_Privilege | Privilege List (Enum PrivilegeName) for each domain in Import_PrivilegesOnResource_DomainExternalId None = 0 View = 1 Duplicate = 3 EditPublications = 9 |
Author | Author's Name |
Language | |
Subjects.Subject.ExternalId | External Matter ID |
Subjects.Subject.Name | Material Name |
Code | Module code |
GroupingCode | Module grouping code |
Difficulty | Very Easy |
_EstimatedDuration-Length | |
_EstimatedDuration-Scale | |
Keywords | |
Import_FreeMode | Module.Course.FreeMode |
Import_PopupFullScreen | Module.Course.PopupFullScreen
Full-screen opening |
Import_IsVisibleAction | Module.Course.IsVisibleAction
|
Import_IsVisiblePlan | Module.Course.IsVisiblePlan
|
Import_IsVisibleNavigationButtons | Module.Course.IsVisibleNavigationButtons
|
Import_IsVisibleProgressBar | Module.Course.IsVisibleProgressBar
|
Enum PrivilegeName:
public enum PrivilegeName { None = 0, View = 1, Edit = 2, Allow user or group to duplicate Entity Duplicate = 3, Allow group to register on Entity Register = 4, Allow group to access self service on Entity SelfService = 5, Allow user or group to create sessions CreateSessions = 6, Allow user or group to create curriculum sessions CreateCursusSessions = 7, Allow group to an immediate access on an Entity in return for payment CatalogShopping = 8, Allow to view/edit publications EditPublications = 9, Allow to launch group session LaunchGroupSession = 10, Allow to emit need EmitNeed = 11, Allow user to create sessions in FO CreateSessionsFO = 12, } |
---|
Import course components
Open the menu Configuration > Import Data.
Select the format of the CSV file, Syfadis format, Course components and has the default values:
ExternalId; Class; Description; Import_ModuleExternalId; Import_FatherExternalId; Name; Description; Code; Author; GroupingCode; Difficulty;_Duration-Length;_Duration-Scale
The order of the columns is important for the import mechanism!
For each line of the file, there are a few rules:
The "ExternalId" and "Name" fields are required otherwise the data is not imported (read).
The order of the columns is fixed. If you don't have any information to put in a column, you should leave it blank, don't delete it.
Default Columns
Name | Explanation |
ExternalId | External ID of the design element |
Class | Possible value: Node; In-person; ItemVirtualClassroom |
Description | |
Import_ModuleExternalId | Module ExternalId |
Import_FatherExternalId | Possible value: ExternalId of a Node/step design element |
Name | |
Language | |
Description | |
Code | |
Author | |
GroupingCode | |
Difficulty | Very Easy |
_Duration-Length | |
_Duration-Scale |
Enum Duration-Scale:
public enum DurationScale { <summary> Milli </summary> Milliseconds = 1, <summary> Seconds </summary> Seconds = 2, <summary> Minutes </summary> Minute = 3, <summary> Hours </summary> Hours = 4, <summary> Days </summary> Days = 5, <summary> Weeks </summary> Weeks = 6, <summary> Months </summary> Months = 7, <summary> Years </summary> Years = 8 } |
Import training courses
A new field is added to this import (not present by default)
Import_ModuleExternalId
Allows you to import training related to a module and its design. For more information on this import, please see the section on importing training.
Import training sessions
Open the menu Configuration > Import Data.
Select the format of the CSV file, Syfadis format, training sessions with these default values:
ExternalId; TrainingSession.TrainingSession.ExternalId; Import_ComponentExternalId; StartedOn; FinishedOn; Tutors.User.ExternalId; CoTutors.User.ExternalId; Location.Location.Code; Rooms.Room.ExternalId; Materials.Material.ExternalId; Description
The order of the columns is important for the import mechanism!
For each line of the file, there are a few rules:
The "ExternalId" fields are mandatory otherwise the data is not imported (read).
The order of the columns is fixed. If you don't have any information to put in a column, you should leave it blank, don't delete it.
Default Columns
Name | Explanation |
ExternalId | |
TrainingSession.TrainingSession.ExternalId | Session ExternalId |
Import_ComponentExternalId | ExternalId of a design element of type Presential or ItemVirtualClassroom One line per schedule (virtual session, face-to-face session) |
StartedOn | |
FinishedOn | |
Tutors.User.ExternalId | |
CoTutors.User.ExternalId | |
Location.Location.Code | |
Rooms.Room.ExternalId | |
Materials.Material.ExternalId | |
Description |