Geeks With Blogs

Connected Systems Chilled Out Blog Hanging stuff together in a meaningful way with some fun added

This one isfrom one of our team here at Solidsoft - Dave Robinson:

When creating any custom columns for content types, create the field without a space and then rename the field to include any spaces.

e.g If you have a field ‘Sox Reference’, create the field with a name of ‘SoxReference’ and then edit the field to make it ‘Sox Reference’.

If you create the field with a space in initially, then when you are trying to access the field within webparts and stylesheets you have to put all the escape characters in the field name (since the field gets created with escape characters). This can be quite difficult to keep a track of.

If you create the field and then modify it, it only seems to modify the ‘label’ as such.

Posted on Friday, September 28, 2007 12:49 AM | Back to top


Comments on this post: SharePoint Tip: Creating custom columns

# re: SharePoint Tip: Creating custom columns
Requesting Gravatar...
Really very usefully tip. Can you give a brief idea about creating custom column of type upload image.
Left by vijay sathe on Feb 06, 2010 5:03 AM

Your comment:
 (will show your gravatar)


Copyright © BizTalk Visionary | Powered by: GeeksWithBlogs.net