Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

The value of owner field of a document is beeing changed when I copy a document from a library to another library which belongs to another site collection than the original library. I copy the document by opening libraries in Explorer view and copy paste the document. the value of owner field which is a custom site column is changed from domain\user1 to domain\members group.

share|improve this question

1 Answer 1

This is because User field value uses IDs that are Site Collection specific. There is a hidden list at the root of each site collection where one row per user is created the first time the user is introduced in that Site Collection (e.g., user adds some content). List is located at /_catalogs/users/simple.aspx. List contains ID for each item (as with every list in SharePoint), which is a running integer from 1. SharePoint uses that ID when binding users to items within that Site Collection.

Apparently when a user with that ID isn't found in the destination Site Collection, SharePoint changes the person field in the copied item to something that exists for sure.

See this answer for few ways you can force sync the hidden User Information lists across site collections before you copy any items.

share|improve this answer
    
Thank you, One single question only. Why the value of "Created by" is copied then? the value of created by and owner is same persion only difference is owner field is custom field. –  user12955 Nov 12 '12 at 14:33
    
I logged on as user1 to both site collections and edited content. I browsed to http://<SiteCollectionUrl>/_catalogs/users/detail.aspx for both site collections and I see user1 in the list. still when I copy a document to another site collection the owner will be NT AUTHORITY\LOCAL SERVICE –  user12955 Nov 12 '12 at 15:51
    
I run the synch script still owner is wrong. after synchronization when I run $userInformationList.Items | select Title, url, Id, uniqueId on both site collections the Id for my user is equal to id of NT Authority\Local Service. so it is why I get wrong owner. –  user12955 Nov 14 '12 at 8:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.