0

I have created webpart and deploy it on web application level. It is displaying in all web application. How can i restrict to display on specific site.

Regards,

user1337886
  • 516
  • 10
  • 23
  • It's depends on scope of feature or where you deployed your webpart solution to, if you used central admin to deploy your solution to all of web applications then it will be displayed to all of web applications http://sharepoint.stackexchange.com/questions/8832/understanding-sharepoint-feature-scopes – Muhammad Raja Jul 02 '13 at 06:37

1 Answers1

0

Scope the webpart feature to site or web, make sure Activate on Default is not set on the feature properties. Deploy your solution and the activate the feature from site collection feature (if site scoped) or site features (if web scoped) from the site settings

Robert Lindgren
  • 24,520
  • 12
  • 53
  • 79