Rename Data Source through MSBuild Script Version 3.5

Jan 9, 2013 at 10:29 AM
Edited Jan 9, 2013 at 10:30 AM

I am using MSBuild Script to deploy the SSRS Report.

Assume that I have deployed reports with DataSource name as ‘Dev_LocalDB’.

Is there any possibility of changing the DataSource name after creation fo Datasource through MS Build script

Eg. I need to change the DataSource Name configured as ‘Dev_LocalDB’ to ‘LocalDB’through MS Build script.

<ReportDataSourceToDeploy Include="Dev_LocalDB

Your help in this regard is much appreciated!

 

Thanks & Regards,

Ramesh

Coordinator
Feb 21, 2013 at 12:54 PM
Hi Kvramesh
 There is no possibility of change the Datasource name after the DataSource has been deployed.  However you can changed it before you deploy it to the report server by using a MSBuild parameter i.e. ReportDataSourceToDeploy Include="$(DataSourceName)".  
Regards
Steve Wright