Wednesday, June 23, 2010

Overcoming Read-Only Condition in Datasheet View

I ran into a situation while working on a SharePoint calendar that was set up to require approvals. We decided to add a new column in order to create sub-calendar views that would be filtered off of this new column. The problem was that we had several hunderd events already entered into the calendar, and the thought of opening each item and editing its contents to insert a value in the new column made my user's eyes roll back in their head.

The obvious solution was to use the Open With Access option on the actions menu of the calendar however, after opening the calendar with Access, none of the cells were editable. OK, let's try something else; I selected the All Events view of the calendar and selected Edit in Datasheet, which was now available from the Actions menu. Foiled again, any attempt to edit the cells poped up a Windows Internet Explorer dialog box with the message "The selected cells are read-only."

The solution was ultimately derived from Larry Kuhn's Simplify List Item Approval using the Datasheet View. It seems that the Approve/reject Items view of a list that requries approval for items allows the Approval Status to be edited.

A few clicks reveals that all the columns in this view are editable, so I added the column for my new filter field to this view and then was able to use this Datasheet view to quickly update hundreds of event records in short order.

4 comments:

Jim said...

Thanks a bunch. I don't think I ever would have thought to look at that view.

Jim said...

Thanks a bunch. I don't think I ever would have thought to look there.

Jim said...

Thanks a bunch. I don't think I ever would have thought to look at that view.

kraysco said...

You are very welcome, glad you could get something out of this post.