Prasad Bolla's SharePoint Blog

Click Here to go through the Interesting posts within my Blog.

Click Here to go through the new posts in my blog.

Thursday, January 19, 2012

How to change the SharePoint Site Url within a SharePoint 2010 WebPart.

  • Create a SharePoint WebPart.
  • Give your Site URL there in order to populate the WebPart to specific site.
  • Now Do all your work and deploy it to the specific site.
  • Now go to the WebPart you have created.
  • Now go to your project and search for file with extension .CsProj.
  • There you can find the current site URL.
  • You can change the URL there and you can add the WebPart to the required site.

No comments:

Post a Comment