Andrew Kennel

Web Developer

Standard Submit/Save for Infopath

October 5, 2009

Last week I was asked to update the submit option on 5 of my old Infopath forms. Originally these forms just used the built in Save button on the toolbar. I was asked to give the user a menu to choose their hospital, and then submit the document to a matching folder. I'd done something…

Continue Reading →

Using Queries to open files

July 17, 2009

This is pretty basic information, but I had trouble finding a simple code snippet outlining how this works. Here is super short snippet that finds and opens a file by its Title field.

Continue Reading →

Infopath Form Migration hints

July 6, 2009

Last week, my manager had me open a ticket with Microsoft to talk about Infopath form migration. We’ve been finding that it is time-consuming to migrate a form designed on the test server to the staging or production servers. Microsoft had some very good recommendations. I’ve taken what they suggested and applied it to a…

Continue Reading →

Removing permissions from a Sharepoint list item

June 29, 2009

I recently came across an interesting problem while working on an Infopath form. As part of the submission process, I needed to remove all the permissions from my new document. This seemed easy to do using by calling Item.BreakRoleInheritence = true and then removing all the existing permissions from the item. When I published my form,…

Continue Reading →

Displaying a User’s Sharepoint Profile Picture

April 22, 2009

This week I was building a web part and needed to display the profile picture for a user. I figured this would be easy enough to do, but as is usually the case with Sharepoint, I was wrong. Several hours and multiple Google searches later, I put together a neat solution: UserProfileManager profileManager = new…

Continue Reading →