Integrate Office 365 Excel Online in Web Application - javascript

Given Excel online is an excellent spread sheet implementation for the web, it would be desirable to use it as a spread sheet component in web applications.
We are using an angularjs frontend and an ASP.NET backend and would like to use Excel online essentially as a spread sheet component inlined into the web app.
Browsing the web, I don't see any suggestion on how to integrate Excel online into my own web application. Has anyone managed to do it?

We can use WOPI protocol to integrate with Office Online in our web application. Here are two figures show you how it works:
And you can get a sample code to implement the WOPI server from here. And below are some helpful links for you get started:
https://blogs.msdn.microsoft.com/officedevdocs/2013/03/21/introducing-wopi/
https://wopi.readthedocs.io/en/latest/

Related

Excel - connect to a web API programatically with OfficeScript

Is there a "Getting Started" tutorial for connecting an Excel workbook to a REST API using OfficeScript?
For querying / updating.
I can connect Excel on Windows to an Azure SQL Server via ADO and VBA. I realise that (these days) we should connect via an API, and with OfficeScript we should (?) be able to do this from any Excel (Windows, web) with OfficeScript. But I can't find any resources on this.
I'm not looking for direction on how to set up the API at this stage.
Thanks.
Unfortunately, Office Scripts does not currently support importing other JavaScript libraries. It would be nice, but no. I found this while searching for similar functionality.
Please see here on MSDN: https://learn.microsoft.com/en-us/office/dev/scripts/develop/javascript-objects#use-of-external-javascript-libraries-is-not-supported
EDIT:
Looks like there is some examples of getting data from a REST API after all. Check out this older link here: https://learn.microsoft.com/en-us/office/dev/scripts/develop/external-calls#working-with-fetch

extracting HTML5 and javascript library APIs from web pages inside android application

I am a researcher and and I have a project on Android web based mobile application analysis. For analyzing my data set which includes so many android apk files, I wanna to extract HTML or HTML5 APIs which has been used in application web pages. I can extract used urls in the application, but I do not know how can I load or find which web and javascript APIs will be load in the application web content at run time. In the application, we may have javascript libraries, Jquery and etc which are important too.
Is there any mechanism or tool which I load the url content in that and analyse the web content? Another thing is that. some of the application web pages maybe need user user pass or based on different users load different web content.
Briefly, How can I find which web APIs have been used in the application?
I need to crawl my urls with a Scrapy in python such as scrapy.
there is a good scrapy in python here.

Collaborate on an Excel workbook integrated in a web app

In my company we work with excel a lot, and I have been writing excel macros in VBA to automate anything that can be automated, recently we needed to collaborate on some sheets and we used google sheets for that.
I then wrote a script that automatically protects cells when they're edited by someone and makes him the only allowed editor, with a button to clear protections when done. (+ for google)
We would rather work with Excel so I found out that it was possible to host a web app and use the JavaScript API to embed Excel worksheets with custom HTML and CSS, an example can be found here (VBA is not supported online)
Would it be possible to embed an Excel worksheet into a hosted web app, then allow different users to collaborate inside the web app, then automatically protect a cell when edited and make its editor the only one allowed to edit, then save the settings until next session?
By using for example the web app user directory or Microsoft Exchange Server for authentication.

How to control a HTML5 website through Kinect v2?

I'm trying to build a HTML5 website that can be controlled through Kinect v2, meaning navigation through pages, pushing buttons, playing videos, etc. I was able to start this project with Kinect v1 using Zigfu but the requirements of the project changed and now I have to use the Kinect v2. Zigfu is not compatible with Kinect v2.
Do you have any other suggestions, what should I use in order to achieve this?
Thanks
I think this is not possible, as the only way you can use the JavaScript API for kinect v2 is in a winJS store app. You could try to embed a web browser on the app. Check this:
https://social.msdn.microsoft.com/Forums/en-US/c285b9ae-a8d3-4ed7-bcf6-0b05b03deebf/developing-with-javascript-vs-wpf-c?forum=kinectv2sdk
You may use HTML5 Web Socket to make data communication between kinect and your website. When you can access kinect data from your browser, you can easily design your desired control logic with the data. I've used this web socket server to develop a project. You may check this. There's a Test site inside it, which shows real time color data and body data in a web page from kinect.

Consume webservice hosted by sharepoint using phonegap android app

I am developing an android app using phonegap in eclipse.
All the files for this app will be pushed by Sharepoint-2013 on a webservice.
The app should consume this web service and display the updated data(for example, display updated information like news and notices using .html file when an updated .xml file is pushed on the webservice)
So my Question 1 is How exactly to consume this web service using phonegap in eclipse?
Also the app will have a search feature where the user enters a search string in a textfield.
Using this input the app should search the database using the webservice and display results on the app.
So my Question 2 is How to do this? Do I need some backend programming to achieve this? If yes, please guide how to go about it.
Thank you.
PS- I am relatively new to programming and I only know HTML, CSS, JAVASCRIPT and jQuery.
Connect to sharepoint using Javascript and SPServices.
http://spservices.codeplex.com/
There is an active forum with information at that site too!

Categories