Tag Archive | "SharePoint"

Update SharePoint List Item(s) with Powershell

Update SharePoint List Item(s) with Powershell

Today I was attempting to update every item in a SharePoint list with Powershell, which turned out to be quite the adventure. Looping through the list and grabbing the items was easy, but whenever I modified the item and called the Update() method, it either did absolutely nothing or gave me an error: “Object reference [...] [...more]

Programming Comments (3)

Filter SharePoint List View With URL Parameters

Filter SharePoint List View With URL Parameters

Let’s say you have a SharePoint list of items and you want to send your buddy Joe a link to the list, and filter the results by a column so that he sees only a specific set of data. The common practice is to create a view of the list and send that. While that [...] [...more]

Uncategorized Comments (4)

Updating SharePoint Database with PowerShell

Updating SharePoint Database with PowerShell

Recently I needed to enable/disable a database while doing a SharePoint deployment. There is no stsadm command and we had been using a small assembly that used C Sharp to connect to the web application, get the database, and toggle the ableness of it. This worked fine, but I wanted to do it all in [...] [...more]

Programming Comments (1)

Custom Validation and Content on SharePoint Survey

Custom Validation and Content on SharePoint Survey

Today my script that I wrote for Require Unique Answers in SharePoint Survery Ranking Scale was rejected because it used designer which is frowned upon for ghosting pages. I was left to quickly find a way to include a content editor web part on the survey page that contained the JavaScript. Luckily, I found out [...] [...more]

Programming Comments (1)

Require Unique Answers in SharePoint Survery Ranking Scale

Require Unique Answers in SharePoint Survery Ranking Scale

Let’s pretend you want to create a SharePoint survey where you ask your audience how they would rank the three Lord of the Rings books, in order from their most to least liked. The best solution would be to create a ranking scale, and list the three books and three choices (Most liked, Middle, Least [...] [...more]

Programming Comments (4)

Nintex Workflow – Adding Custom Inline Functions (Encryption)

Nintex Workflow – Adding Custom Inline Functions (Encryption)

Recently I have been experimenting with Nintex Workflows which I must say is a killer product. The interface is brilliant and the depth of its features is amazing. One of the great features of Nintex Workflows is that it allows you to use common .NET calls as inline functions. One would think that Nintex made [...] [...more]

Programming Comments (0)

STSADM.exe – Copy and Paste == Command Line Error

STSADM.exe – Copy and Paste == Command Line Error

stsadm.exe is a command driven application that I use very often to administrate a SharePoint server via command line.  More specifically, it is very heavily in a PowerShell script I wrote that deploys multiple solutions to SharePoint. The general syntax for stsadm is stsadm -o createsiteinnewdb -url http://sharepointserver More than often I will run into [...] [...more]

Computers, Programming Comments (0)

-->