Ensuring a Valid SPContext via Feature Activation
I’ve been meaning to blog about this for a while but just haven’t gotten around to it. Have you ever needed to add a web part to a page during Feature activation?
Continue ReadingView my most recent blog posts
I’ve been meaning to blog about this for a while but just haven’t gotten around to it. Have you ever needed to add a web part to a page during Feature activation?
Continue ReadingI just posted an article related to the List View Web Part and WSS 4.0’s XSLT-based List View Web Part – I had known about this change for quite some time but this other change was new to me.
Continue ReadingSome of us have known about this for a while but we’ve been unable to talk about it until now – Microsoft released the following article two days ago: The CustomListView rule in Pre-Upgrade Checker can warn that customized list views that will not be upgraded.
Continue ReadingCatch me at the SharePoint Best Practices Conference in San Diego, California. The conference will be held February 2-4, 2009. I’ll be presenting two topics, both currently scheduled for the last day, Wednesday:
Continue ReadingOkay all you PowerShell superstars out there that have been using my STSADM commands – I need your help! I’ve decided to teach myself PowerShell and see if I can’t leverage some of my STSADM experiences/code to expose some SharePoint functionality and I need some people who really know this PowerShell stuff to please take a look at what I’ve got so far and let me know if I’m way off base or not.
Continue ReadingI just posted about one of my new commands, gl-activatefeature, which covers activating features at different scopes using STSADM. That article covers all the code necessary to not only implement the activation, but also the deactivation.
Continue ReadingHow many times have you had a Feature, either out-of-the-box or custom, that you have needed to activate at lots of different scopes or **re-**activate at lots of different scopes? To do this you may have found a way to get the list of site collections or webs and then somehow used that list in conjunction with the STSADM activatefeature command or worse you manually went to every site or web and manually activated or re-activated the Feature – this is extremely tedious and error prone as you may miss a site or web.
Continue ReadingThis is something that’s been bugging me for a long time – when you run the out of the box execadmsvcjobs command on a server it only ensures that pending jobs on that one server are executed – when it completes it doesn’t mean that jobs on other servers in the farm have completed.
Continue ReadingI’m a bit late in posting this but it’s been a crazy couple of weeks. I promised my slide deck and scripts so here they are: STSADM.pptx Change Password Script Sample Install Script And here’s the “quick and dirty” batch file that I showed which demonstrates an easy way to store the last 10 backups of all your site collections within a web application:
Continue ReadingI’d been meaning to post this for quite some time but just haven’t gotten around to it – as paranoid administrators we often find the need to change our service account passwords and doing so with a product like SharePoint can be a rather significant effort if you consider all the various accounts that may be used in a least privileges model.
Continue Reading