Nulls in WSS

A custom search solution that generates CAML must make adjustments to handle columns values that may contain nulls. If a column contains a null value and it is included to be returned in the results, then it will not be returned in the results unless you add the “Nullable=true” attribute to the “FieldRef” element in the “ViewFields” element of a CAML query.

<ViewFields>

<FieldRef Name=”Title” Nullable=”TRUE” ></FieldRef>

</ViewFields>

Advertisements

« Older entries