Dynamic Setup of Connection String for the Data Source in Data Connection Library (SP2010)

Pergunta Dynamic Setup of Connection String for the Data Source in Data Connection Library (SP2010)

  • quinta-feira, 26 de abril de 2012 21:35
     
     

    I have to update the SSRS Datasource connection string in Sharepoint Data Connection Library by coding.

    I have a SSRS report in a SP2010 team site that gets the data from Sharepoint lists inside the team site. So the data source connection string is Site Url itself. The site has been saved as an template and I have the job that creates the new team site based on the template.

    When the job creates the new site and the SSRS DataSource connection string is pointing to Template site URL, and every time someone have to change it manually to point the new site URL. But I like to change the connection string inside the job . I can access the Datasource as an list item but connection string. Any Idea how to update the connection string programmatically.

    Your Help is appreciated.

    Thanks

    Dhans.

Todas as Respostas