Hi Everyone,
For the output tool, going to an Excel file, how does using Alteryx overwrite sheet or range function impact how OneDrive drive stores the data.
Question 1. How can the core OneDrive version history be retained for file where the output is set to overwrite an excel sheet?
Question 2. How will this work on a normal network drive??
Thinking in manual steps, I'm wondering if Alteryx behind the scenes open the specified excel file, overwrites the intended sheet, and then saves the file as a brand new .xlsx file overwriting the prior version. Same filename, same Alteryx update, but no version history. This seems like the effect you might get if you copied a backup copy with the exact same name from another folder manually, and saved it in the existing "live" folder being used by the process. If you did this manually, it would probably warn you that the filename already exists and ask you if you want to replace the existing file.
Compare this to opening the existing file, updating the specified sheet, and performing a save function with the existing filename. Same filename, same Alteryx update and version history is retained.
Why is this important?
I appreciate any input or suggestions. Further details below.
Thanks,
John
Details.
Screenshot 1 - Output tool configuration
Screenshot 2 - I ran the Alteryx program. This is what One Drive version history shows.
Screenshot 3 - I ran the programs again a few minutes later. Here is the new One Drive version history.
Screenshot 4 - This is how version history looks in the folder that contains the lookup tables that I manually make changes to. This is what I expected the Output data version history to look like. If needed, I could restore the version from last week, which is not the case in Screenshots 1 and 2.
I'm experiencing this same issue. Also, this is breaking my shared links within Excel where users can access the shared file until I run the process, then access is lost and I have to send a new link.
Thanks for pointing this out. I hadn't noticed before, but the likelihood of using version history for our team in OneDrive is pretty low. I did see that the older files are moved to the recycle bin. If you need to recover one, you should find it there. I don't see a way in Alteryx to change this setting.
As a workaround, something I've done in the past (way before Alteryx) was to save the data output to a separate file and read the data into the existing Excel file. This way I can overwrite the old data without affecting the utilized Excel file. Also, you can use the Run Command tool to rename the prior data file prior to the new output so that historical data is retained (if needed).