Author Archives: Stu

Get SharePoint Timer Job Name

SharePoint Short #4 As a follow up to my recent post Start SharePoint Timer Job Script, that demonstrates how to start a specific timer job by it’s internal name, the following is a PowerShell script for retrieving the internal name … Continue reading →

Posted in Shorts | Tagged , | Leave a comment

Security Trim SPNavigationNode

SharePoint Short #3 To have the URL specified by a SPNavigationNode security trimmed, make sure you do not specify the isExternal constructor parameter. Obviously, specifying true for this parameter would not apply security trimming against the link, as you would … Continue reading →

Posted in Shorts | Tagged , | Leave a comment

Start SharePoint Timer Job Script

I’ve written a PowerShell script that starts a SharePoint timer job, which is useful if you do a lot of work that relies on certain timers firing and don’t want to have to keep going into the Central Administration site … Continue reading →

Posted in SharePoint | Tagged , | 2 Comments

Save Conflict

SharePoint Short #2 In event receivers such as ListAdded, FieldAdded or ItemAdded, if you’re updating the newly created item you may encounter the following error: “Save Conflict” These events are asynchronous by default, so changing them to synchronous will ensure … Continue reading →

Posted in Shorts | Tagged , | Leave a comment

Set Status Bar Colour

SharePoint Short #1 To set the colour of a SharePoint 2010 status message, it’s important to specify it in lower-case and not start with an upper-case letter. The MSDN page for setStatusPriColor, found here, shows the colour values starting with … Continue reading →

Posted in Shorts | Tagged , | Leave a comment