Home › Forums › vLooup for SharePoint › vLookup Document Library Overwrite
- This topic has 7 replies, 2 voices, and was last updated 4 years, 12 months ago by Alexander Bautz.
-
AuthorPosts
-
-
November 5, 2019 at 06:24 #27583
Hi Alex,
I am using vLookup with a document library. When I click the folder icon and open the modal box I can drag an drop files as expected. If I try and drag and drop a file with the same name the message appears asking if I would like to overwrite the file. When I click the ‘Replace it’ button it won’t execute. Works fine in IE. Any thoughts? Thanks as always for your guidance.
-
November 5, 2019 at 20:14 #27601
Which browser are you using? I did a test now with Google Chrome and it works in my setup. Try hitting F12 to bring up the developer console, select “Console” and look for error messages there when you try this again.
Alexander
-
November 5, 2019 at 21:15 #27613
Hi Alex,
It shows an error when using the Microsoft Edge browser. DismissConflictDlg is not defined
-
November 6, 2019 at 20:02 #27622
I tested it in Edge and cannot recreate it. Could you add some screenshots of the process so I can try to do exactly like you do?
Alexander
-
November 6, 2019 at 21:06 #27629
Image 1 is drag and drop of a file with the same name.
Image 2 is the console when you click the replace it button.
Image 3 is what shows up when you review the script block.Thanks for taking a look.
Attachments:
-
November 7, 2019 at 08:48 #27637
I’m unable to recreate this in Office 365 and think this may be an issue withe the version of SP you are running. You can try to fix it by adding this to your Custom JS:
function DismissConflictDlg(){ return true; }
If it doesn’t do anything, you might have to add a script editor web part to the list view you are opening and wrap the function in a <script> tag.
Alexander
-
December 2, 2019 at 19:38 #27805
Turns out the dragdrop.js file does not load in an iframe for on premises when using Edge or Chrome browsers. To resolve I was able to add the following pathway (/_layouts/15/dragdrop.js) to the ‘Load these files before executing the Custom JS’.
-
December 3, 2019 at 18:16 #27822
I’m glad you figured it out.
Alexander
-
-
AuthorPosts
- You must be logged in to reply to this topic.