[gradebook2-dev] Fwd: Export csv download file
Larry Maxey
lmaxey at rsmart.com
Fri Apr 15 09:52:38 PDT 2011
Sorry I forgot to add the Jira ticket. To explain it better.
GRBK-931 <https://jira.sakaiproject.org/browse/GRBK-931>
---------- Forwarded message ----------
From: Larry Maxey <lmaxey at rsmart.com>
Date: Thu, Apr 14, 2011 at 2:32 PM
Subject: Export csv download file
To: gradebook2-dev at collab.sakaiproject.org
Cc: John Bush <jbush at rsmart.com>
Class: ImportExportUtility. line approx: 410.
if (rows != null) {
for (Learner row : rows) {
List<String> dataColumns = new LinkedList<String>();
dataColumns.add((String)row.get(
LearnerKey.S_EXPRT_USR_ID.name())); <----- This value is returning
null(meaning when you export-grades-only-as CSV...student Ids are not
showing up.
dataColumns.add((String)row.get(
LearnerKey.S_LST_NM_FRST.name()));
for (int column = 0; column < headerIds.size();
column++) {
String columnIndex = headerIds.get(column);
if (columnIndex != null) {
if
(columnIndex.equals(AppConstants.EXPORT_SKIPCOLUMN_INDICATOR)) {
dataColumns.add("");
continue;
}
There are Values in the Map that gives you the same value:
S_UID("learnerUid", GroupType.STUDENT_INFORMATION),
S_EID("learnerEid", GroupType.STUDENT_INFORMATION),
S_DSPLY_ID("displayId", GroupType.STUDENT_INFORMATION),
But not sure if using one these is the solution.
--
Larry Maxey
rSmart Group
Sakai Product Engineer
602.714.9692
--
Larry Maxey
rSmart Group
Sakai Product Engineer
602.714.9692
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/gradebook2-dev/attachments/20110415/c562bd68/attachment.html
More information about the gradebook2-dev
mailing list