public override void UpdateSource()
        {
            DataSource = FilteredReports.Select(r => new
            {
                TargetGroupName             = r.SaaSTargetGroupName,
                TargetReportName            = r.SaaSTargetReportName,
                DirectQueryConnectionString = r.DirectQueryConnectionString,
            });

            base.UpdateSource();
        }
Exemplo n.º 2
0
        public override void UpdateSource()
        {
            DataSource = FilteredReports.Select(r => new
            {
                GroupName           = r.SaaSTargetGroupName,
                GroupCreationStatus = r.SaaSTargetGroupCreationStatus,
                ForReport           = r.SaaSTargetReportName,
                CreatedGroupId      = r.SaaSTargetGroupId,
            });

            base.UpdateSource();
        }
        public override void UpdateSource()
        {
            DataSource = FilteredReports.Select(r => new
            {
                TargetName           = r.SaaSTargetReportName,
                UploadState          = r.SaaSImportState,
                UploadError          = r.SaaSImportError,
                TargetGroupName      = r.SaaSTargetGroupName,
                TargetGroupCreatedId = r.SaaSTargetGroupId,
                UploadedReportId     = r.SaaSReportId,
            });

            base.UpdateSource();
        }
Exemplo n.º 4
0
        public override void UpdateSource()
        {
            DataSource = FilteredReports.Select(r => new
            {
                PaaSReportName = r.PaaSReportName,
                Type           = (r.IsBoundToOldDataset) ? ReportTypeStrings.OldImport :
                                 (r.IsPushDataset) ? ReportTypeStrings.PushDataset :
                                 (!string.IsNullOrWhiteSpace(r.DirectQueryConnectionString)) ? ReportTypeStrings.ImportedDirectQuery :
                                 ReportTypeStrings.ImportedCached,
                Downloadable = (r.IsBoundToOldDataset) ? "No. Should be created from local pbix." :
                               (r.IsPushDataset) ? "No. Should be recreated from json." : "Yes. Can be downloaded.",
            });

            base.UpdateSource();
        }
        public override void UpdateSource()
        {
            DataSource = FilteredReports.Select(r => new
            {
                PaaSReportName = r.PaaSReportName,
                Type           = (r.IsBoundToOldDataset) ? ReportTypeStrings.OldImport :
                                 (r.IsPushDataset) ? ReportTypeStrings.PushDataset :
                                 (!string.IsNullOrWhiteSpace(r.DirectQueryConnectionString)) ? ReportTypeStrings.ImportedDirectQuery :
                                 ReportTypeStrings.ImportedCached,
                Downloadable = (r.IsBoundToOldDataset) ? DownloadabilityStrings.ShouldBeCreatedFromLocal :
                               (r.IsPushDataset) ? DownloadabilityStrings.ShouldBeCreatedFromJson : DownloadabilityStrings.CanBeDownloaded,
            });

            base.UpdateSource();
        }
Exemplo n.º 6
0
        public override void UpdateSource()
        {
            DataSource = FilteredReports.Select(r => new
            {
                PaaSReportName              = r.PaaSReportName,
                PBIXExists                  = File.Exists(r.PbixPath) ? "Exists" : "No",
                ExportState                 = r.ExportState,
                LastExportStatus            = r.LastExportStatus,
                PaaSWorkspaceCollectionName = r.PaaSWorkspaceCollectionName,
                PaaSWorkspaceId             = r.PaaSWorkspaceId,
                PaaSReportId                = r.PaaSReportId,
                PbixPath = r.PbixPath,
            });

            base.UpdateSource();
        }