In Report Manager, make a Linked Report.
On the report go to the Properties tab and click "Create a Linked Report"
This way only one report to deploy and maintain.
Note, that (in the linked reports) the margin size is not propagated to the linked reports. No matter what size your report margin is it will be one inch in the linked reports. Here is the script that will fix the report.
Declare @Properties as XML;
--Get the Report Properties for the Base Tech Task list report
Set @Properties =
(
Select convert(XML,[Property]) as [Property]
from ReportServer.dbo.Catalog
where [Path] ='/Infosys/Technician Task Lists/Technician Task List' --Change this to your report path
and Type= 2
)
--Update the property column with the values shredded from the XML from above...
Update ReportServer.dbo.Catalog
Set Property =
(
Select '<Properties>' +
'<PageHeight>' + T.C.value('./PageHeight[1]','varchar(MAX)') + '</PageHeight>' +
'<PageWidth>' + T.C.value('./PageWidth[1]','varchar(MAX)') +'</PageWidth>' +
'<LeftMargin>' + T.C.value('./LeftMargin[1]','varchar(MAX)') + '</LeftMargin>' +
'<RightMargin>' + T.C.value('./RightMargin[1]','varchar(MAX)') + '</RightMargin>' +
'<TopMargin>' + C.value('./TopMargin[1]','varchar(100)') + '</TopMargin>' +
'<BottomMargin>' + T.C.value('./BottomMargin[1]','varchar(MAX)') + '</BottomMargin>' +
'</Properties>'as [XML]
from @Properties.nodes('//Properties') T(C)
)
where [Path] like '/Infosys/Technician Task Lists/%' --Change this to your report path
and Type = 4 --Linked reports
Select '<Properties>' +
'<PageHeight>' + T.C.value('./PageHeight[1]','varchar(MAX)') + '</PageHeight>' +
'<PageWidth>' + T.C.value('./PageWidth[1]','varchar(MAX)') +'</PageWidth>' +
'<LeftMargin>' + T.C.value('./LeftMargin[1]','varchar(MAX)') + '</LeftMargin>' +
'<RightMargin>' + T.C.value('./RightMargin[1]','varchar(MAX)') + '</RightMargin>' +
'<TopMargin>' + C.value('./TopMargin[1]','varchar(100)') + '</TopMargin>' +
'<BottomMargin>' + T.C.value('./BottomMargin[1]','varchar(MAX)') + '</BottomMargin>' +
'</Properties>'as [XML]
from @Properties.nodes('//Properties') T(C)
Select *
from ReportServer.dbo.Catalog
where [Path] like '/Infosys/Technician Task Lists/%' --Change this to your report path
and Type = 4
-
Edited by
Andrey Langovoy
12 hours 12 minutes ago