SharePoint field options

When deploying your custom list definition you probably noticed there is a lot of things you can toggle to make your control look as you want them to look. Recently I came accross an issue where by default I would get all of my Note type fields to have the rich text editor format and displaying custom JavaScript’ed bar – which completely interfered with some other JavaScript put by UE folks trying to stlye the rest of the form. In this case we were lucky enough and didn’t need the rich text format on the textbox. Here is how to get rid of one when provisioning a custom list definition:

<Field Type=”Note” RichText=”False” BaseType=”Text” Name=”Area”/>

In case you wondered there is lot more options you can feed to your controls and some of them are applicable to one controls rather than other – but here is the list from MSDN

Another interesting attribute: Mult can take a value of True, which, if the Type=”Lookup” results in a lookup column allowing multiple selections.

Definitely an article worth reading through.

This entry was posted in MOSS, sharepoint and tagged , , , . Bookmark the permalink.

Comments are closed.