download csv file
var params1 = {
infoTableName : "InfoTable",
dataShapeName : "EntityReference"
};
var AllEntities = Resources["InfoTableFunctions"].CreateInfoTableFromDataShape(params1);
AllEntities =Projects["XXXXXX"].GetEntities();
var params2 = {
path: undefined /* STRING */,
data: AllEntities /* INFOTABLE */,
fileRepository: CustomServices /* THINGNAME */,
withHeader: undefined /* BOOLEAN */
};
Resources["CSVParserFunctions"].WriteCSVFile(params2);
This code is not working. I have provided ThingName for fileRepository. What else should i provide for fileRepository??
