Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

"Document Created By" and "Document Modified By" columns

  Asked By: Marques    Date: Dec 11    Category: Sharepoint    Views: 7065

I'm investigating a bigger problem w/ views not being able to sort by modified
date, and one of the things I'm finding in the problematic libraries is that
they contain these weird columns called "Document Created By" and "Document
Modified By" (and these are in addition to the normal "created by" and "modified
by" columns).

Anyone know why/when these columns appear as options to include in library
views? I don't recall ever seeing these columns, and I can't find helpful info
on the web.



7 Answers Found

Answer #1    Answered By: Cassie Snyder     Answered On: Dec 11

Were these libraries  customized???

Answer #2    Answered By: Parijat Pathak     Answered On: Dec 11

In what way? They were set up to allow content types and both use a "link to a
document" content type. But that alone shouldn't be an issue. I've identified
two other libraries  that have custom columns  and use the "link to a document"
content type. Those two libraries are fine and don't have these weird  extra

Here's the full story (I posted this elsewhere but have yet to get any replies):

Someone just brought this to my attention. His library suddenly doesn't have the
option to sort  by "modified" when he creates or modifies a view.

I did some quick research but couldn't find  anything on the web  except for two
other people who have the same problem  and want a solution.

So I checked his library settings. He does have content types enabled, and he is
using the OOB "link to a document" content type. I wondered if that could
somehow be causing a problem.

I went to another library where I know I also added that content type. It even
has a view that is set to sort by modified, and low and behold- that view is now
not functional. Again, "modified" wasn't an option in the sorting for the view.
I thought it *must* be this "link to a document" content type causing the
problem, but I remembered that I also used it in yet another library.

I checked this third library, but it still works just fine. It still lets you
use "modified" to sort in a view. Huh.

I noticed something weird in the two libraries that are not allowing sort by
modified/created. When you go to a view and see the columns available, there are
two weird ones called  "Document modified  By" and "Document created  By." I'd
never noticed these before, and sure enough, they don't exist in the library
that uses "link to a document" but isn't having problems. So am I getting

Even if these two weird columns are somehow linked to the sort view issue, HOW?
And how are these columns created in the first place? I assume it happened
automatically- they appear to be system-generated, not created by the list

Answer #3    Answered By: Ella Sargent     Answered On: Dec 11

Sounds like the Document Library was created  from a custom template. Have you
ruled these out? Could someone be creating this from code?

Answer #4    Answered By: Ahmad Johns     Answered On: Dec 11

While they may have been created  from a custom template (we do have a few
library templates that were created using the "save library as a template"
option), it doesn't really explain to me where these two columns  are coming
from. They aren't in any of the templates, and besides- they aren't even
visible/editable via the column settings page. That's what makes me believe
these are system-created columns.

Answer #5    Answered By: Roxanna Hendricks     Answered On: Dec 11

Okay, I found this and I'm guessing it's the problem. We occasionally use the
"content and structure" tool to move items from one list to another. What a
pain! I wish this didn't exist- I thought it's only problem  was w/ copying
metadata columns  to the move-to location. But here's another problem:

My IT guy says he could run the suggested code see last two posts in the
thread), but he isn't a developer and doesn't know where to run it. Can anyone
help to point us in the right direction?

Answer #6    Answered By: Stacia Guy     Answered On: Dec 11

Can someone (a developer) take a look and tell me where we run this code?
From my post:


Answer #7    Answered By: Kacy Bright     Answered On: Dec 11

You can run it in a console app, a winforms app, a web  service, or a regular
old ASPX. If you decide to run it in a web form, then make sure you either
(a) do it under an IIS site that hosts SharePoint, or (b) use an IIS site
that runs in the same Application Pool as another SharePoint site; otherwise
you'll have to do some extra security authentication or impersonation.

Didn't find what you were looking for? Find more on "Document Created By" and "Document Modified By" columns Or get search suggestion and latest updates.

Related Topics:



Related Post