Diferencia entre revisiones de «Archivo plano»

De MoodleDocs
(tidy up)
(tidy up)
Línea 11: Línea 11:
The file should include action, role, user ID number, and course ID number; start time and end time are optional fields. Details of the file format are shown on the flat file settings page ''Site administration > Plugins > Enrolments > Flat file (CSV)''.
The file should include action, role, user ID number, and course ID number; start time and end time are optional fields. Details of the file format are shown on the flat file settings page ''Site administration > Plugins > Enrolments > Flat file (CSV)''.


==Enabling flat file enrolment==
==Hbilitar inscripción mediante archivo plano==


An administrator can enable flat file enrolment as follows:
An administrator can enable flat file enrolment as follows:
Línea 18: Línea 18:
# Click the settings link, configure as required (see details of settings below), then click the 'Save changes' button.
# Click the settings link, configure as required (see details of settings below), then click the 'Save changes' button.


===File location===
===Localización del archivo===


You should specify an absolute path for the upload file (eg /var/moodledata/enrolments.txt) where it can be read and modified by the web server process. The file is automatically deleted after processing.
You should specify an absolute path for the upload file (eg /var/moodledata/enrolments.txt) where it can be read and modified by the web server process. The file is automatically deleted after processing.


===File encoding===
===Codificación del archivo===


Make sure, you save the file (for example in a text editor) with the same encoding.
Asegúrese de guardar el archivo (por ejemplo, en un editor de texto) con la misma codificación.


===Notification===
===Notificación===


You can choose to have an email sent to notify the Administrator, Teachers and/or students when the file has been processed.
You can choose to have an email sent to notify the Administrator, Teachers and/or students when the file has been processed.


===Unenrolment action===
===Acción de des-inscripción===
*"Unenrol user from course" When the user disappears from the external source, the enrolment is completely removed and all the roles removed. This means some user data and settings are purged from course during course unenrolment (that usually include grades, activity attempts, etc.)
*"Unenrol user from course" When the user disappears from the external source, the enrolment is completely removed and all the roles removed. This means some user data and settings are purged from course during course unenrolment (that usually include grades, activity attempts, etc.)
*"Keep user enrolled" When the user disappears from the external source, the enrolment is kept as is, and the user is still able to enter the course and perform activities, access resources, etc. It's a "do nothing" option.
*"Keep user enrolled" When the user disappears from the external source, the enrolment is kept as is, and the user is still able to enter the course and perform activities, access resources, etc. It's a "do nothing" option.

Revisión del 00:22 29 feb 2016

Nota: Esta página es acerca del Archivo plano para Moodle 3.0 y más recientes. Para la documentación anterior, vaya a 28/Archivo plano .


Nota: Pendiente de Traducir. ¡Anímese a traducir esta página!.     ( y otras páginas pendientes)

translator note icon.png Nota del traductor: La palabra inglesa enrolments se tradujo al Español internacional como matriculaciones y en el Español de México como Inscripciones.


El plugin para inscripción mediante archivo plano permite la gestión de inscripción masiva (inscribir o des-inscribir) de usuarios existentes en cursos existentes mediante un archivo CSV.

¡Nueva característica
en Moodle 3.0!
El archivo es procesado por la tarea agendada del sistema para sincronización de inscripción por archivo plano (Flat file enrolment sync) tarea agendada (nuevo en Moodle 3.0; previamente se usaba la antigua función de Cron) y posteriormente eliminado.


The file should include action, role, user ID number, and course ID number; start time and end time are optional fields. Details of the file format are shown on the flat file settings page Site administration > Plugins > Enrolments > Flat file (CSV).

Hbilitar inscripción mediante archivo plano

An administrator can enable flat file enrolment as follows:

  1. Go to Site administration > Plugins > Enrolments > Manage enrol plugins and click the eye icon opposite Flat file (CSV). When enabled, it will no longer be greyed out.
  2. Click the settings link, configure as required (see details of settings below), then click the 'Save changes' button.

Localización del archivo

You should specify an absolute path for the upload file (eg /var/moodledata/enrolments.txt) where it can be read and modified by the web server process. The file is automatically deleted after processing.

Codificación del archivo

Asegúrese de guardar el archivo (por ejemplo, en un editor de texto) con la misma codificación.

Notificación

You can choose to have an email sent to notify the Administrator, Teachers and/or students when the file has been processed.

Acción de des-inscripción

  • "Unenrol user from course" When the user disappears from the external source, the enrolment is completely removed and all the roles removed. This means some user data and settings are purged from course during course unenrolment (that usually include grades, activity attempts, etc.)
  • "Keep user enrolled" When the user disappears from the external source, the enrolment is kept as is, and the user is still able to enter the course and perform activities, access resources, etc. It's a "do nothing" option.
  • "Disable course enrolment and remove roles" When the user disappears from the external source, the enrolment is suspended and roles assigned by enrol instance are removed. Please note that user may "disappear" from gradebook and other areas.

¿Preguntas?

Please post in the Enrolment forum on moodle.org.

Vea también

Using Moodle forum discussions: