SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created a feature and on activation of it I am trying to add list view webpart. Using powershell command activating feature and it gets activated but List View Web part it is not getting added on to the page. But when I am activating feature using UI then it get added on the page.

share|improve this question
What are the powershell commands that you are running? Also What steps are you doing to activate using the UI? – Ryan Erickson Mar 13 '13 at 19:16
Let's see a sample of the Feature Activated code. It could be that you're getting an Exception that only occurs when you're activating via powershell. – Jason Rastovski Mar 13 '13 at 19:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.