Skip to content

Commit 00f5a1b

Browse files
authored
Merge pull request microsoft#280 from wrjacekz/master
Added support for report parts
2 parents d2118a7 + 6e96d93 commit 00f5a1b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ReportingServicesTools/Functions/CatalogItems/Out-RsFolderContent.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ function Out-RsFolderContent
106106
if ($item.TypeName -eq "Resource" -or
107107
$item.TypeName -eq "Report" -or
108108
$item.TypeName -eq "DataSource" -or
109-
$item.TypeName -eq "DataSet")
109+
$item.TypeName -eq "DataSet" -or
110+
$item.TypeName -eq "Component")
110111
{
111112
# We're relying on the fact that the implementation of Get-RsFolderContent will show us the folder before their content,
112113
# when using the -recurse option, so we can assume that any subfolder will be created before we download the items it contains

ReportingServicesTools/Functions/Common/Get-FileExtension.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
'ExcelWorkbook' { return '' }
1515
'Resource' { return '' }
1616
'Kpi' { return '.kpi' }
17+
'Component' { return '' }
1718
default { throw 'Unsupported item type! We only support items which are of type Report, DataSet, DataSource, Mobile Report or Power BI Report' }
1819
}
1920
}

0 commit comments

Comments
 (0)