Feeds:
Posts
Comments

Archive for April, 2010

Requirements Today I had the requirement to add custom validation logic to a SharePoint edit form. The edit form is being displayed using a ListFieldIterator. The requirement was to make sure the Date field could not be set to a date in the past. The solution (Other solutions are available and are most probably better!) [...]

Read Full Post »

Sometimes it’s useful to overwrite the created by and last modified by fields and get rid of that pesky ‘System Account’ ! Created By The internal field name for the person who created a list item is ‘Author’ use SPBuiltInFieldId.Author to access this field. The display name for this field is ‘Created By’ it can [...]

Read Full Post »

Had a problem mocking a call to SPWorkflowActivationProperties.Item today. Turns out to be a bug in the TypeMock library. Problematic unit test When executed it throws the following exception: Fix: I can work around this issue by replacing the line: With: See thread on Typemock forum

Read Full Post »

Okay so today’s error message, totally my fault: was Exception occurred during request processing. (User: DOMAIN\xx, Form Name: , IP: , Request: http://localhost/_layouts/CstWrkflIP.aspx?List={ID}, Form ID: , Type: InfoPathLocalizedException, Exception Message: The specified form cannot be found.) Make sure that: Your feature file has the RegisterFroms property correctly pointing to a folder in your solution package [...]

Read Full Post »

Follow

Get every new post delivered to your Inbox.