Sign In
Adventures in Consulting
This is a place for me to share those little gems one finds when doing consulting work. Since I focus on Windows SharePoint Services 2007 (WSS) and Microsoft Office SharePoint Server 2007 (MOSS), most of the posts will cover topics relating to those prod
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
Active Directory
BDC
C#
Content Types
CSS
InfoPath
MOSS
SharePoint
SQL Server
Archive
Archives
June 2011
(1)
June 2010
(1)
February 2010
(1)
December 2009
(1)
August 2009
(1)
May 2009
(2)
March 2009
(1)
January 2009
(1)
November 2008
(1)
September 2008
(1)
June 2008
(1)
April 2008
(2)
MSDN Blogs
>
Adventures in Consulting
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Adventures in Consulting
Solving the “User cannot be found” error with SPFile.Author
Posted
7 months ago
by
Valdon
0
Comments
I ran into a bug today that was a bit unusual. We have a custom ASP.NET page that shows information from a custom list in SharePoint 2007. That page shows details, including the Author, for attachments. On one particular list item, users started getting...
Adventures in Consulting
Remove List Item Menu Options with Javascript
Posted
over 2 years ago
by
Valdon
1
Comments
SharePoint has a lot of JavaScript code to manage UI, and a lot of customization can be done by modifying out-of-box JavaScript. However, modifying system files is not a good idea. Instead, you usually will want to copy the file and make your...
Adventures in Consulting
Customizing ASP.NET Validators without using the CustomValidator Control
Posted
over 2 years ago
by
Valdon
1
Comments
This isn’t a SharePoint tip, per se, but it is an interesting way to expand on what the default RequiredFieldValidator control does for you. We already had validation in our custom pages using the RequiredFieldValidator control, and it was working well...
Adventures in Consulting
FF at the End of a Content Type ID Kills Update Propagation
Posted
over 3 years ago
by
Valdon
0
Comments
I just spent a couple of hours tracking down an issue where our content type update code wasn’t working for some content types. The problem ended up being that one content type in the hierarchy had a content type ID that ended with “FF” (such as...
Adventures in Consulting
Creating Several List Instances in a Single Feature
Posted
over 3 years ago
by
Valdon
0
Comments
I’m not sure why I didn’t find this earlier, but I have always put a single list instance definition into a single feature. However, I recently had to put together several inter-related lists into a feature (no single list was useful by itself). The first...
Adventures in Consulting
Removing Extra Workflow Status Column in Default View
Posted
over 3 years ago
by
Valdon
7
Comments
When SharePoint starts a workflow on a list for the first time, it has this annoying behavior of adding a workflow status column to the default view of the list. Often times, this information is of no practical use for end users. Unfortunately, there...
Adventures in Consulting
Using Calculated Fields to Pad Numbers with Leading Zeros
Posted
over 3 years ago
by
Valdon
2
Comments
Just a quick note on one way to put leading zeros in a SharePoint list field using a Calculated Field. A client wanted a column to show the list item's name, followed by a number that was left-padded with zeros to two digits, like: Addendum-01 ...
Adventures in Consulting
How to work around bugs in the SPGridView control
Posted
over 3 years ago
by
Valdon
6
Comments
SharePoint has a little known web control called SPGridView. This control can give you a SharePoint list-like view of data from any data source you can bind to (from a database or other sources). It also has features to sort, filter and group the data...
Adventures in Consulting
Using Both Field and FieldRef in InfoPath List Loses Data
Posted
over 3 years ago
by
Valdon
1
Comments
It appears that if you have both a Field and a FieldRef definition in your SharePoint list definition file that includes XML (InfoPath) field promotion, you can no longer update the field through the list; you must do it through the XML only. I ran into...
Adventures in Consulting
Getting To the Root (Well Almost) - Navigating the SPWeb Hierarchy
Posted
over 4 years ago
by
Valdon
3
Comments
Recently I was faced with the problem of finding an ancestor web (SPWeb object) of the current web. The ancestor needed to be the one just below the RootWeb. I quickly put together a solution that worked, but I later realized that it had massive memory...
Adventures in Consulting
Empty Active Directory Groups do not Show up for SharePoint 2007 Audiences
Posted
over 4 years ago
by
Valdon
1
Comments
I ran into an interesting issue at a customer site. They had dozens of newly created Active Directory groups, but only two of them were showing up when they wanted to create a new audience or specify one of the groups as a target for a list item. It turns...
Adventures in Consulting
Lookup Helper Methods
Posted
over 4 years ago
by
Valdon
3
Comments
Sometimes when writing custom code for SharePoint, you want to open the list to which another list field is referring (when it uses a lookup field). I had to do this to put the lookup field values in a custom menu item. Other times, you just want the...
Adventures in Consulting
Wrapping Text in a SharePoint WebPart Title
Posted
over 4 years ago
by
Valdon
3
Comments
An interesting bit of CSS formatting behavior that I ran across recently at a customer site. They wanted to be able to have long titles in some of their web parts, but it would always make the web part zone expand to fit the text rather than wrapping...
Adventures in Consulting
Accessing images and other binary files in blob fields through SharePoint BDC
Posted
over 4 years ago
by
Valdon
5
Comments
There are many applications that store binary data in blob or varbinary fields of a database, including pictures, Office documents, PDFs and other types of documents. Recently, a customer had the need to display, in SharePoint, an image stored in an Oracle...
Page 1 of 1 (14 items)