Is it possible to upload a workbook to office365, have it evaluated, and then download the evaluated workbook?
By evaluation I mean have all the formulas in all the cells be calculated.
You can certainly upload the workbook using OneDrive API. You can then access workbook content using Excel REST API and read/write/calc. I'm not sure what you mean by evaluate. The eval Excel API itself is not supported. Please update the question with exact requirements for the community to help you.
Related
I need to allow user upload excel (xlsx) file and then generate a Google Sheets file using Google Scripts (the generated file uses the input file values, process them with certain formulas and provides another excel file as output based on all processing)
I am currently doing the task in a simple desktop application (using MS Excel etc.), but problem is I have admin rights and I want other people to do the same on their PCs but they dont have admin rights, so please help me with this, whats the best way I can implement it via Google Sheets. I need following to do:
Get an XLSX file from user
Read two columns using google sheet script.
Process the read values and create a new google sheet file with 6/7 columns
Plz help as I am not looking for a ready made code but a head start, as I have never worked with google scripts before.
First you need to study the basics of Apps Script in general, and of the SpreadsheetApp, DriveApp and Advanced Drive Service in specific.
The steps to write your code would be
retrieving the excel file on your Google Drive
retrieving its blob
creating a new file of the mimeType GOOGLE_SHEETS with the contents of your blob
Once you create a Google Spreadsheet - process it with the SpreadsheetApp methods to delete spare contents/ create a copy with only the desired contents.
Here you can find useful samples.
Note: It might make sense to retrieve the columns of interest before
converting them to Google Sheets, but this is not something you can do
with Apps Script or a Google API since they do not have methods to
edit Excel files.
Is there a way to connect realtime data from wincc scada to google sheets?
It is possible to do so using VB Scripts which are very similar to VBA.
Here is a link from someone who did the same from an Excel sheet: How to write to a “Google Spreadsheet” from Excel 2003 VBA.
You can use the VB Script to create almost the same structure (without strong types) and populate the value fields with your tag values, qualities and anything else.
I'm using Talend for several ETL-jobs. Main focus on inserting and updating data defined in local Excel files to Salesforce. Excel and Salesforce are used as Input- and Output-Connections massively.
This works like a charm!
Now instead of Excel I need to use Google Spreadsheets as data inputs/outputs. Just manually download as Excel isn't good enough. Reason: I need a highspeed repeatable process executed thousands of times bi-directional. Uploading/Downloading XLS/CSV is not an option.
As an unfortunate, my researches concluded that there is NO Google spreadsheet connector available. I found this legacy-project which seems to be abandoned: https://code.google.com/p/google-talend-components/ - it is outdated from Talend-side as well as from Google (old API versions).
One other thing I've seen, is that Talend comes with Google Big Data Support: https://www.youtube.com/watch?v=BK6G3sTmwVE - Also Google Big Data might be somehow connectable to Google Spreadsheet - but I wasn't able to figure out how. Is this easy or hard? How to start? What to read?
I need to know if there is any viable approach to read and write data with Talend from and to Google-Spreadsheet.
Alternatively is there an other ETL-tool like Talend which has connectors to Google Spreadsheet AND Salesforce out-of-the-box?
Is there a direct google docs connector in Talend, no. But you can do what you are looking to do if you think of the problem a little differently. It sounds like you need to read and write to spreadsheets then upload/download from google. Lets take each problem separately.
Upload/Download
Google storage. If you need to upload and download files from google Talend has excellent integration with their API. As you mentioned, Talend --> Big Data has components to interact with Google Storage. This type of storage is primary meant as back end storage for an application.
In Talend under Cloud-->Google Drive there are components to upload and download from Google Drive. Google Drive is primarily meant as Chrome app and has direct integration with Google Docs.
Writing to Google Docs
Regarding your need to interact with google docs, you do not need any special components for this. Google docs can utilize csv and Excel formats. If you create and modify your documents in Talend using the standard file interaction components ( delimited, Excel, etc.) you can upload and download these documents using one of the two methods I described above (Google Storage or Drive) depending on what type of storage you are using.
We have setup a mechanism for our consumers to create oData feed based on certain choice of fields, and we have written an excel plugin to convert this oData URL to an excel workbook(or embed this oData into excel). Further the excel work book created is uploaded to sharepoint farm. oData URL can be scheduled to refresh periodically, we are looking for options to programmatically refresh workbook. Appreciate if you can share experience setting up something like this.
-
Thanks,
Gp
We are currently using the Interop for word document maniplulation's like merge of fields to word template docs and also some macro code which on download of the word file to the cient system does some calculation and gets updated on the server !
We need to change this .
Is there any way like view/modifying a word document online(Web) make changes to doc and get it saved to the server ?
Regards,
Francis P.
You can use Google Docs
Another way is to use the Microsoft Office 365 API.
Office 365 API reference