Proposals/Done/Groups csv create: Difference between revisions
From Mahara Wiki
< Proposals | Done
mNo edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
Create a csvfile structure for uploading csvs to enrol users into groups | Create a csvfile structure for uploading csvs to enrol users into groups | ||
==Group ID== | ==Group ID== | ||
The group id will be a unique | The group id will be a unique field that holds a shortname or groupid | ||
which is different from the already present id field (which is only for the database) | which is different from the already present id field (which is only for the database) | ||
We could either have a nonnull field in db, that we enforce uniqueness on | |||
or we could have a unique nullable field in db, and provide some unique default to store (which can be changed) | |||
==CSV to create groups== | ==CSV to create groups== | ||
This file will need to have group name, group shortname, group desc, group type | This file will need to have group name, group shortname, group desc, group type | ||
==CSV to enrol users into groups== | ==CSV to enrol users into groups== | ||
Line 24: | Line 21: | ||
- The studentid will be focused on to start with, then other ways of identifying the user | - The studentid will be focused on to start with, then other ways of identifying the user | ||
may be created, such as username or email | may be created, such as username or email | ||
Revision as of 15:41, 23 Mayıs 2011
The following changes would need to be made to allow this.
Create a groupid or shortname which is unique (but can also be null) Create a csvfile structure for uploading csvs to create groups Create a csvfile structure for uploading csvs to enrol users into groups
Group ID
The group id will be a unique field that holds a shortname or groupid which is different from the already present id field (which is only for the database)
We could either have a nonnull field in db, that we enforce uniqueness on or we could have a unique nullable field in db, and provide some unique default to store (which can be changed)
CSV to create groups
This file will need to have group name, group shortname, group desc, group type
CSV to enrol users into groups
This file will need to have group shortname, user studentid
- The studentid will be focused on to start with, then other ways of identifying the user may be created, such as username or email