Hi
"Overwrite existing files" option available in library. But it is not there in list.
I tried to attach same file to a list item .but , i am getting.
Failed to get value of the "Attachments" column from the "Attachments" field type control. See details in log. Exception message: A file with the name already exists."
i tried -->Enabling versioning .But no luck.
i tried -->Javascript also.
$(document).ready(function() { var form = $('form'); if ( form.attr('action').indexOf('YOUR 36 character List ID - Without Braces') > -1 ) { var checkbox = $('#ctl00_PlaceHolderMain_UploadDocumentSection_ctl03_OverwriteSingle'); checkbox.prop('checked',false); checkbox.parent().hide(); var multiple = $('#ctl00_PlaceHolderMain_UploadDocumentSection_ctl03_UploadMultipleLink'); multiple.hide(); } } );instead of this line
checkbox.prop('checked',false); i tried checkbox.removeattri('checked') option also. but no use.
What is the solution.?
- Edited by saidireddy.v Tuesday, September 01, 2015 11:39 AM