Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
titleZipReportMyZipReport.jSettings
{
    ID:"ZipReportMyZipReport",
	DisplayName:"[$.en:Zip and Download;tr:Sıkıştır ve İndir]",
    __type: "Factory.ActionFactory:ZipReporter",
    Meta: {
        MetaType: "Enumarator",
        Data: "=c.Distinct(context.Data,\"=context.Data.OutputGeodiContent.SystemContentID\")",
        Sub: [{
            MetaType: "Folder",
            Name: "=context.Data.OutputGeodiContent.ContentTypeKey",
            Sub: [
            {
                MetaType: "File",
                Name: "=context.Data.OutputGeodiContent.SystemContentID+\"_\"+context.Data.OutputGeodiContent.GetFileNameForDownload()",
                Data: "=context.Data.OutputGeodiContent.GetStream()"
            }
            ]
        }
        ]
    }
}

...