Uploaded excel workbook to SharePoint auto updates when changes made to the original - excel

I have uploaded an excel workbook we constantly update to SharePoint for coworkers to view remotely as it has information they need. Would I have to delete and replace the workbook every time we make a change or is there a way that the workbook in SharePoint can automatically update with changes we make to the original which is on a Y drive? Thank you for any assistance.

When using SharePoint I find that there's an option to view the files in a document library using Windows Explorer. When you do that you can get the path out of the address bar and use that to update the file instead of the 'Y' drive. Benefit being you could also turn on version history in SharePoint then whenever anyone uploads a new version you can go to the past versions through SharePoint.
If your users don't all have access to SharePoint you could drag and drop from the Y drive to the address from the 'View in Windows Explorer' link or even automate it by writing a DOS batch job using the COPY command to copy the file over. Then you can use windows task scheduler to run the .BAT file however often you want.
Hope that helps!

Related

The {file} may have been changed by another user since you last saved it. In that case what do you want to do?

This is regarding editing a shared Excel file on a Windows 10 computer.
Context:
The excel file is sitting in a Microsoft Teams site (ie. SharePoint) and being opened in the desktop version of Excel.
To clarify, the Teams file location is mounted onto the Windows File explorer via the sync button on Teams:
I keep getting this error:
But I've not found how to avoid it.
Any ideas? I am not looking to make a copy of the file because that breaks the links I've shared to the active file. But also I don't know what changes I'd be overwriting if I choose "Overwrite changes"

Visual Studio Interface with MS Excel backend for Multiple Users to Run simultaneously

Until last month, I was creating Google WebApps with HTML interface, Java and Google Apps Script to let the users save data to Google Sheets.
That was working beautifully as all the users were able to save data to a single spreadsheet simultaneously without any data misses/issues.
This month onwards, I don't have the option to use Google Web Apps.
Therefore, I bought Visual Studio. Basically, I am trying to create an Interface using Visual Studio as I have some experience on Visual Basic codes, and then looking forward to save the data to MS Excel.
I have setup an FTP drive where I have saved a test .EXE file which saves their clipboard text to a single Rich Text File(I used the timer to save/read/refresh the file every few seconds). Since all the users have read/write/execute rights to that FTP folder, they are able to launch the .exe file simultaneouly from their systems and it's working perfectly. We are looking at a team of 100+ people.
Now the next step for me is to let them open the .EXE file where the data can be saved to a single Excel file. With Google Spreadsheets it was way too easy. But I need some guidance on how to do that with Microsoft. I studied through articles and articles to track the last updated row and push the data below that. I need tips from someone who has done something like this and if there's a better/efficient way of doing that.
Any help/article would be appreciated.

Launch an add-in systematically when opening a file

I want to make an Excel Online file, then post its link or embed it in my website. Clicking on that will open the file in Excel Online. Moreover, I want certain Excel add-ins to be installed and even launched automatically.
Does anyone know if it is possible?
If it's impossible with Excel Online, is it possible for a normal .xlsx file (I will make it, and opening it in Windows systematically leads to install an add-in and even launch it)?
If you're looking to automatically open a task pane add-in when the Excel file is opened, check out this article in the documentation: https://dev.office.com/docs/add-ins/design/automatically-open-a-task-pane-with-a-document?product=excel. The Office OOXML EmbedAddin sample provides an example of implementing the autoopen functionality that's described in the article.
Along with Kim's answer to automatic opening of a task pane add-in, you can using OneDrive to handle opening a file in Excel Online using Microsoft Graph.
You're start by uploading you're .xlsx file to OneDrive using an Upload Session. Once you're file is on OneDrive, you can retrieve it's meta-data for the DriveItem. Included in this meta-data will be a webUrl property. This is a URL that, when navigated too, will open your file using Excel Online.

Move files from Sharepoint to HotFolder

I have emails with excel files attached that go to a Sharepoint site as well as a folder path to that sharepoint site on my desktop. I then take these excel files and drop them into a "Hotfolder" which essentially has a rake task sitting behind it that syncs these excel attachments every few minutes into a DB.
I'm curious if there is any functionality to get the files from the Sharepoint site to drop into that specific "Hotfolder" network file path, without me having to transfer the files myself manually. I am pretty new to Sharepoint functionality, so any ideas would be appreciated..
Thanks.

SharePoint Online file storage

We have a requirement to store documents in SharePoint Online as people copy files to a shared network directly.
Is there a way of automating this? I was thinking of a windows service which will poll the directories, find any changes like new subdirectories or new files, then upload them to a SharePoint Online document library.
You don't have to poll if you use a FileSystemWatcher inside your Windows service for real-time notifications.
http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx
However, if your requirement is 100% accuracy, you will need to build in some sort of tracking/checksum mechanism to make sure that every document was 1) detected and 2) successfully moved to SharePoint.
You may want to have your service check the delta every time it starts up, and then subsequently only respond to FileSystemWatcher events.
EDIT: Per Tony's question below, here are some additional thoughts on getting files to SharePoint.
First, try a simple test.
1) Copy the URL of a document library within the BPOS SharePoint site. Make sure you're on a machine that has the Office Online sign in app on it.
2) Open Notepad. Type some random text.
3) Click on File -> Save As.
4) Paste the URL.
5) Attempt to save the file.
This works great on "regular" SharePoint (done it many times). If this works with BPOS, it opens up several options.
File System Replication to a SharePoint Online or Office 365 document library is planned to be released with the "Cloud Connector for Office 365". With the current version database content is supported only, but bi-directional with V2.0

Resources