Tuesday, July 17, 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