Time ignored in datetime caml query

Caml query not using the time part in datetime. If your are doing a caml query and you see that your time is being ignored in datetime try this:

<Value Type=”DateTime” IncludeTimeValue=”TRUE”><Today /></Value>

You have to use IncludeTimeValue=”TRUE”.

Custom Sharepoint field type

I had a problem when i was doing a custom sharepoint field type. I was getting:

Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

The first time i did the xml definition for my custom field i made a mistake and put the type as text instead of datetime and imediatly corrected it.

after that i kept getting that error. It happened only when i edited it and not when i was inserting. After sometime i realize dthat the problem was due to the fact that sharepoint did not update my changes to the xml definition so it was expecting text and not datetime.

so i changed my assembly name and it’s name in the xml and everything went ok this time.

so be carefull when you make your xml.

sharepoint (moss 2007) thumbnails and image library


Would you like to be able to see a preview or thumbnail when you put a video or flash in your image library? Users will want to be able to see it instead of an icon.
Look at my asset picker:

Asset Picker

I did the same for the image library but i haven’t got the image now, i had some problems with my Virtual machine, i’ll post it later. 
A trully multimedia sharepoint 😀 with avi, swf, mpeg, mov preview. What do you think?