Core Document Column configurations
I've been working to get the "Date Picture Taken" core document column to display/allow time entry down to the minute, instead of 5 minute increments. In searching and looking around I found info about changing this.dminControl from 5 to 1. I found this
parameter in the BFORM.JS file in Program Files\Common Files\Microsoft Shared\web server extensions\12\template\layouts\1033, made the change and restarted IIS. To my dismay, this didn't fix or change the column.
I've been looking for other options to change, searched the server for other instances of BFORM.JS that might be out there (none found), looked for other dims of this.dminControl in other .JS files, just in case (none found).
I was looking at the column definitions under Site Settings and noticed something different. When I checked the definition of "Date Modified" using the Change Site Column page, there are more parameters available to configure than on the "Date Picture Taken"
column. For "Date Picture Taken" I can configure the Column name, the Group where the column appears (existing or new), and the Description. For "Date Modified" I can change the column name, the type of information in the column (single/multi line text, choice,
date and time), Group where the column appears (existing or new), Description, Require information, Date and Time Format (date only, date and time), and Default value. This made me curious, so I checked the other Date and Time column definitions and found
that all were configurable like "Date Modified" except for Anniversary, Birthday, Date Completed, and Article Date. These all are configurable like "Date Picture Taken". All the custom columns we've defined that are Date and Time follow the "Date Modified"
configuration.
After changing the BFORM.JS file, all the "Date Modified" type columns will accept time in 1 minute increments. The others are still on 5 minute increments.
I've searched for information and solutions without success. I'm at a loss as to why these columns would be different, even though they all say they accept Date and Time data. There must be a reason for the difference in the columns, any ideas why? How can
I change the limited columns to accept 1 minute increments? I know I can delete and redefine the column, but there are in excess of 2,000 images stored in several picture libraries that use calculated columns based on Date Picture Taken for sorting and grouping.
I really don't want to have to re-enter all those dates.
Thanks for the help!
New Information (7/26/20100:
I've tried creating a new list and adding a date/time field to the list. When creating the new column, the create dialog shows everything as it should, including the ability to set the default time in 1 minute increments. This leads me to think that the
changes I made above work, at least partially. However, when I add a new item to the list the time is only allowing me to select in 5 minute increments.
Could it be an issue with the listviewwebpart not honoring the configuration change?
July 22nd, 2010 10:34pm
Hi,
Please check out
http://datetimebyminute.codeplex.com/, keep in mind that this is a 3<sup>rd</sup>
party solution, but it might give you some direction.Regards, Savoeurn Va Microsoft Online Community Support
Free Windows Admin Tool Kit Click here and download it now
July 30th, 2010 10:18pm
Thanks. I'll look into it!
August 16th, 2010 3:44pm


