Thursday, December 25, 2014

upload and download the file same name but different extension from the document library.

Hi,


When you have enforced unique value for a column, you can't have the same ID repeated for two item (in this case sample.txt and sample.doc). Both the ID must be either different or you have to remove the enforce unique value property. If you want to have unique ID for same file name( that is sample.txt and sample.doc for both having same name "sample") then write an event receiver and validate that from your code.




Please mark a post helpful/answer if it is really helpful or answer your query


No comments:

Post a Comment