Options to refresh Sharepoint excel workbook programmatically - odata

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

Related

Is it possible to generate a google sheets document with graphs programmatically as a file?

I have an application that runs benchmarks and generates a CSV file with the report contents.
To interpret this report, I have created a template GSheets document with queries, drop down selections, graphs, etc.
Consumers must:
Run the benchmarking tool to generate the data CSV
Go to the template document in gsheets (outlined in the readme)
Copy the template into their own gdrive account
Insert the contents of the CSV into the unprotected data sheet of that document
This is a lot of manual handling and I would rather be able to, like a csv, programmatically produce a file that contains the filled out sheet where the consumer just needs to open the sheet with the Google Sheets account.
From what I can see, Google Sheets doesn't have a specific file format that it uses and the gsheet files are just empty magic links that the web app knows to respond to.
I can imagine that I can use the Google Sheets web API to publish a new file to the user's Google Drive but I don't want to mess around with Google OAuth authentication as I feel that's overkill.
Is it possible to write a file that Google Sheets can interpret directly?
Perhaps I can write an older MS Office .xls file and Google Sheets can interpret it via the import functionality?
My backup is writing the report to an html file with a web app that visualizes the data using some charting JS library - though it would be a shame because everything I need is already in Google Sheets.
Google sheets have an API: gspread.
If it's only a matter of switching data, you could create main spreadsheet with graphs etc. set up, and then using an API copy it and paste new data into it.

How to add SharePoint list data or Google sheet to Active Campaign lists?

I am using SharePoint Online lists as a backend. I have requirements like when users add data to the SharePoint list, the same data needs to be added to the Active Campaign lists. There is no direct connector for Active Campaign under Power Automate. So, I have tried with HTTPClient with Angular but it does not allow GET/POST calls from the browser. It threw me a CORS error. Is there any alternative to making an Active Campaign API call from the client side using HTTPClient?
For a workaround, I have created a flow using Power Automate. There is a direct connector for Google Sheets under Power Automat. So, when the user adds new data to the SharePoint list, the same data will be added to the Google Sheets with Power Automate.
Now, I have imported that Google sheets data to Active Campaign lists. For that, I have used ActiveCampaign Google Sheets integration. But it is not working correctly. I am unable to import Google Sheets data to Active Campaign lists.
Below is the reference link for the same,
https://help.activecampaign.com/hc/en-us/articles/115001388224-how-to-send-contact-information-to-a-google-sheet#use-the-activecampaign-google-sheets-integration-0-0
Can anyone help me with the same?
Thanks

Is there a way to create a (Excel workbook) File using Microsoft Graph API, but not by uploading

I want to do something like
https://graph.microsoft.com/v1.0/me/drive/items/workbook/add
or similar which will create a new workbook identical to what the New -> Workbook menu does in the OneDrive Web interface.
I can't create the file locally so upload is not an option.
The Microsoft Graph APIs only allow reading and modifying workbooks that already exist at this time.
I realize that your question stated you were not able to create the file locally. However, a library like js-xlsx has the ability to create workbooks in-memory that you could then push up into OneDrive using the Graph APIs. You could use a library like that to create a blank workbook, push it, then manipulate it using the Graph APIs.

Can I use google doc's to collect information from multiple users?

Currently I have a ASP.Net app, which display excel like form which collects data from user based on the template I setup. More I searched, I could very well use Google Doc's or Office 365 to create a excel like template and then send the link to users to enter the data. The users enter the data in the google doc template or office 365 template and I can have a common backend process which can query the docs and do what i want to do. I have couple of questions in this model
Can I create one template and send it to multiple users and they use the template to create their own document instead of overwriting my template?
Is it possible to add macros like excel in the docs/office 365?
I want the all the operation with zero foot print to client.
Thanks
Using Google Forms, you can create a form and send it as an email to your users, with their responses being automatically entered in a Google Docs spreadsheet. Then you can analyze that data in the spreadsheet using all the normal spreadsheet functionality (formulas, macros, etc).

owc replacement

I use OWC (Office Web Components) v10.0 to embed Excel grid in an asp.net page. Is there a replacement technology where excel grid can be embedded in the client side browser?
If you are using a Sharepoint Server, Microsoft offers something called Excel Services, which basically provides spreadsheet functionality in a browser, without requiring an actual component to be deployed (with the Excel work being done on the SPPS server. Info is here:
http://msdn.microsoft.com/en-us/library/ms546696.aspx
I know there is an OpenSource product called WikiCalc which is a client-side, spreadsheet component which works in the browser (from Dan Bricklin's company). Some info is here:
http://www.softwaregarden.com/products/wikicalc/index.html
There seems to be no .Net solution for client browser excel grid than OWC. Looks like SharePoint 2010 has Office Web Applications that allows Google Docs like spreadsheet functionality in browser. Would evaluate that.
looks like there is one.
http://www.infragistics.com/dotnet/netadvantage/silverlight/infragistics-excel.aspx

Resources