Closed windsurfer1122 closed 6 years ago
Due to your reply on the CSV format issue #58 I was able to check how this could be implemented. And the solution is just 2 lines (1 push line and 1 case line). Please consider to include.
repod.psdle = {
...
genPropCache: function() {
...
//Custom properties (since they're not actually stored in an entry), sloppy.
...
this.prop_cache.push("empty");
...
},
...
exportList: {
...
format: function(index,target,sep) {
...
switch (target) {
//Exceptions.
...
case "empty": return ""; break;
...
default: //Generics
...
}
return (toJSON) ? undefined : "";
},
...
},
...
};
I'm considering: But if it has no name the output gets confusing:
"[['','Name'],['platform','Platform'],['prettySize','Size'],['prettyDate','Date']]"
Might have no choice but to have it named, but "empty" seems unfitting.
"Dummy", "Null", "Nothing", "Leave Empty", "no data" and/or add angle brackets like "<empty>
".
A name for nothing is always difficult to find.
Already deployed 3.3.3 with "empty", so if nobody else complains about it I guess it'll remain.
Thanks a lot.
It would be great to have an "empty" property for Export View, so that the export has already one or multiple columns for direct copying into existing lists.
Example:
Where "Game ID" is later extracted from "Content ID" via a function of the spreadsheet program, and "Extra" is maintained manually inside the spreadsheet.
Would be much appreciated.