Subscribe

Entries Categorized as 'Development'

Multiple Lines of Text in InfoPath/SharePoint

Date December 16, 2008

Scenario: You have built an InfoPath form that you publish to SharePoint to be filled out in a browser-enabled form using Forms Services.  This form includes a simple text field that accepts multiple lines of text and does not explicitly set a maximum number of characters.  When you publish this form to SharePoint and map […]

Con-view-sed

Date April 9, 2008

You might think this would be the correct way to add a field to a list default view programmatically:
string fieldInternalName = "MyField"; list.DefaultView.ViewFields.Add(fieldInternalName); list.DefaultView.Update();

You’d be wrong.
This won’t work.
You might then try to update the list, or try to pass in the […]

Wiki Page Libraries are "Special"

Date February 15, 2008

I was looking at the best way to export and import a wiki page library within a site that is not specifically a wiki site. There are not a lot of good ways to export and import lists in general. The only two ways I am really even aware of are:

Saving as a […]

A Couple of Things I Learned Early

Date February 14, 2008

These are two posts from my internal company blog that I felt were worth sharing publicly.
Deleting Master Pages from the Master Page Gallery
It’s not as easy to delete a master page from a site’s master page gallery as you might think. Simply clicking the “Delete” option from the drop down menu doesn’t work because […]