Share via


Add document : The specified name is already in use

Question

Thursday, April 21, 2011 9:52 AM

Hi everyboby !

I've created a document_type "my_document" which inherit from the existing document_type "document". I just added one choice column inside "my_choice" with "A" and "B" choices.

Then I've created a library, add this content_type inside and delete the existing "document" content_type. In this library versioning is set to "major and minor versions".

I uploaded a document, name="REF-123ABC", title="sharepoint.doc", my_choice="A"

Finally I checked out the document, download a copy to modify it, and back to uploaded it with same name, title and my_choice and "Add as a new version to existing files" is checked.

Unfortunately I get the error (whereas I hope instead that the version is increased):

*The specified name is already in use.

The document or folder name was not changed.  To change the name to a different value, close this dialog and edit the properties of the document or folder.*

 

PS-1 : at site level, in Content Organizer, I set Duplicate Submissions : Use SharePoint versioning

**PS-2 : with the content_type "document" I haven't this problem, the versioning works well in that case.
**

 

Any idea ?

Thanks !* *

**
**

All replies (6)

Thursday, April 21, 2011 10:16 AM

If I understood correctly, downloading a copy is the issue here. You should use the Edit Document instead.
Ak


Thursday, April 21, 2011 11:14 AM

Actually, download a copy is a must in my case where people in my consortium use both Window and Linux .... , and so both Microsoft Office and OpenOffice ... etc.

So starting from that point that we have to download document to modify them, I really would like to understand why the versioning works well with the native content_type "Document" and why it doesn't work at all with my content_type "my_Document" which is inheriting from "Document"


Thursday, April 21, 2011 1:26 PM

In a simple test, and it may not fully reproduce your environment, even the plain document content type fails. Actually, I kept both CTs and reverted the derived one back to plain.
AK


Thursday, April 21, 2011 1:46 PM

Ok, thank you for this test !

Thus, that's not really encouraging. I'm afraid ...

But can you understand why that works in my environment with the document content type ? (when you say "plain" you mean "Sharepoint native" ?)


Thursday, April 21, 2011 2:19 PM

Sorry for the confusing term, "plain" refers to the original/parent Document content type. I have content organizer on and versioning for duplicates. May be someone else could confirm either finding.
AK


Saturday, April 23, 2011 8:46 AM

I think there is two different points to discuss/understand from that point :

 

1) why such feature doesn't work for AK64 whereas I succeed in doing it ?

 

2) in my context what could be the difference between the original Document content type and its child content type my_Document ?

 

Any idea ?