Tuesday, September 18, 2007 2:55 PM
I want to show the file size of a document in a view, if possible even with a download time indicator... I suppose it's certainly possible, but what's the best way? I know that the file size is shown in the version history list. How to show it in a regular view?
Thanks for the feedback!
Tuesday, September 18, 2007 7:20 PMHi Luc,The default view for a Document Library "All Documents" does not include the file size column. You can either modify this view or can create a new custom view and set that view as default view.In case, If you don't see the file size column, then probably the column is hidden. In this case, you can use the object model, iterate through the list columns and mark it hidden = false.Regards,Gauravhttp://gauravrehan.spaces.live.com
Wednesday, September 19, 2007 8:13 AM
Ok, I totally overlooked the column. Shame on me... :-). It's indeed already there. Maybe I'll play around with the calculated columns to add some download time..
Thursday, October 18, 2007 2:40 PM
Hi Luc - could you point me to where you found the "file size" column? I'm not seeing it.
Thanks very much!
Saturday, May 31, 2008 12:14 AM
"If you don't see the file size column, then probably the column is hidden. In this case, you can use the object model, iterate through the list columns and mark it hidden = false."
OK, so how do I access the "object model" to make this change?
Tuesday, June 10, 2008 4:26 AM
1. Please open the DocumentLibrary--settings--views.
2. Select the view which is marked as default
3. Click on that
4. Then in that page you should be able to see the "FileSize" column. Just select that and click OK.