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.
Todas as Respostas
segunda-feira, 30 de abril de 2012 02:37
segunda-feira, 30 de abril de 2012 18:40Thanks Simon.
segunda-feira, 7 de maio de 2012 23:54
Possibly you can use WebProvisioned event receiver to upate the connection string after the site is created (much easier).
Feature stapled to site creation process which updates the connection string.
quarta-feira, 9 de maio de 2012 13:57
Let me try the "WebProvisioned"