Monthly Archives: February 2012

Unable to set value of the property ‘aSettings’

I developed a page, inheriting from LayoutsPageBase which was being displayed in a modal dialog using JavaScript similar to the following: <script type="text/javascript"> function DisplayCustomPopupPage() { var options = SP.UI.$create_DialogOptions();   options.url = "http://urltocustompage/page.aspx"; options.title = "Popup Page"; options.allowMaximize = … Continue reading

Posted in JavaScript, SharePoint | Tagged , | 2 Comments

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 SharePoint 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 SharePoint 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 SharePoint Shorts | Tagged , | Leave a comment