MattBathje

In Sharepoint 2007 - is there a way that you can add the last modified date of a document to a view without changing it to an XSLT data view

There doesn't seem to be a selectable column that gives this functionality when editing a view. If I convert to an XSLT data view, I get the Modified column and the Last Modified column which both seem to hold the data.

To try and game the system, I tried adding a calculated column that uses [Modified] as its formula, but I get an error "One or more column references are not allowed, because the columns are defined as a data type that is not supported in formulas." when I click save.

Any other ideas to make this work, without having to resort to using SP Designer (we have end users wanting to add it to personal views...)

Thanks,

Matt



Re: SharePoint - Design and Customization Last Modified Date in doclib

Ishai Sagi

Matt,

Why do you say that You can always add the "modified" field to any view using the regular screens.






Re: SharePoint - Design and Customization Last Modified Date in doclib

MattBathje

Is there a way to disable that feature that I may have changed accidentally

In looking at this a little more - only 1 specific document library seems to be missing this feature. Any idea how to get it back (without having to recreate the doclib hopefully...)





Re: SharePoint - Design and Customization Last Modified Date in doclib

Ishai Sagi

There is a way to remove that option.

Download my utility pack (http://www.codeplex.com/spstipsUtilityPack) and run it on the server. There is a menu option there for list management - and a sub menu for hidden field settings. load the library you are looking to change in that form and find the "modified" field and set it to not to hide it in views.

let me know if this is unclear.






Re: SharePoint - Design and Customization Last Modified Date in doclib

MattBathje

Thanks for the tip Ishai. I ran the utility pack, and when it loads this list up there are 2 "Modified" columns. Both of them appear to have the field already set to not hide in views. The "Show in Create View Forms" option has a greyed-out checkmark in it, which I assume means the option is enabled.

Let me know what you think.

Thanks,

Matt





Re: SharePoint - Design and Customization Last Modified Date in doclib

Ishai Sagi

actually, grayed out means it has the default, which may be off....

try clicking on that and make it a regular "check".






Re: SharePoint - Design and Customization Last Modified Date in doclib

MattBathje

Unfortunately, this didn't help the problem. I tried changing the "Show in Create View Forms" setting for both of the Modified fields listed. It changed from the grayed check to a normal check, but when I went to the Create View page, the Modified field still was not listed.

Just to make sure I was using the tool properly, I turned on/off other fields (such as Modified By) in the same doclib and that change was reflected on the Create View page.

Any other ideas

Thanks again,

Matt