May 2011 Entries

Automatically setting file name when submitting InfoPath 2010 Form

After creating my InfoPath form and setting it to publish to a Forms Library in SharePoint 2010, I found that I wanted to fine tune the experience that the user has when submitting a form. The first thing to change was the annoying dialog asking the user for a filename. Many users will have no idea what SharePoint is asking them for, or worse, they enter a name that’s already used by another form (and either overwriting it or getting an error). To see what I mean, simply create an InfoPath 2010 form ......

Using InfoPath 2010 with SharePoint 2010 Content Types

There are a couple of ways to integrate Content Types with InfoPath forms libraries. I’m going to cover one scenario, but I’m sure there are more. My scenario is that I want to submit a form to a SharePoint 2010 Forms library and align the data collected on the form to existing columns in my Content Type. Here’s a summary of the steps: · Create a Site Content Type in SharePoint 2010 (my example is HR Forms) · Create a Forms Library in SharePoint 2010 (my example is HR Forms Test) · Add the Site Content ......

Adding Intellisense to Visual Studio 2010 for SharePoint 2010 ECMAScript / JavaScript

Several people have already written about how to add Intellisense to Visual Studio for SharePoint 2010’s Client Object Model (ECMAScript or JavaScript). Here’s one that I followed: http://praveenbattula.blogs... Following those instructions, mine still didn’t work. I finally got it to work after removing the <script> tags in my file ......

SharePoint 2010 Managed Metadata Column limitation – Error 81020030

The Short Story: There is an undocumented (as of this writing) limitation to SharePoint 2010’s managed metadata columns: they only allow ~250 entries into one column, for one item. If you exceed this limit, you’ll most likely get this error: <nativehr>0x81020030&... URL 'SitePages/Test Page.aspx' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web. We haven’t identified ......

Site Column names with special characters: Errors in Calculated Columns

I ran into an interesting scenario when a colleague of mine was setting up a list in SharePoint 2010. He was creating a list, with a phone number column, a phone extension column, and a calculated column for phone display. Things were working fine, until he entered some data and the display column didn’t look right. When he opened the settings for the phone display, he saw this in the formula: #NAME?-#NAME?After some tinkering, we got it to work by changing the name of the phone extension column. ......

Twitter