Use Office.js APIs from outside an Office Add in - excel-addins

In the Office.js docs one reads the following about the new ExecuteAsync() method/pattern:
"This also allows us to use the same APIs even outside of an Excel add-
in. Imagine, for example, that you wanted to call Excel APIs against an > Excel workbook stored in OneDrive, but you wanted to do so from a stand-> alone web application, rather than one running inside Office 2016 for
Windows or Office Online. This async model lends itself well to that
capability."
Nevertheless, I wasn't able to find any explanation on how to implement such functionality in a standalone web application. Does anyone know how to do that?

This is referring to the new Excel REST API. Please see the documentation here: http://graph.microsoft.io/en-us/docs/api-reference/v1.0/resources/excel
Excel is so far the only Office host to support REST APIs, with the exception of OneNote's REST APIs which are independent from the Office.js effort.

Related

Access Microsoft Onenote book/section/page with Matlab

I would like to read-out my locally stored Onenote book/section/page with Matlab and automatically search for specified strings. How can this be achieved? Does the Onenote API have to be interfaced or is there any easier way?
Here is what I have so far (online resources are scarce):
app=actxserver('onenote.application');
app.get(); %... to run some functions of the Onenote API?
I'm new to this and more information may be also useful for others. Here's the two references [1,2] that I found.
Related: accessing onenote in Java
If you can peform authentication in Matlab (or just paste in a token) and issue web requests, you can use the search API.
https://www.onenote.com/api/v1.0/pages?$search=...
Note that search only works with consumer accounts/notebooks that are synced to the cloud.
I am not sure how you could interface this with matlab, but if you are running on Windows you could use the interop API (this would be a local solution)
How To Write To A OneNote 2013 Page Using C# and The OneNote Interop

Is Filemaker a web platform?

From what I understand Filemaker is a database. A friend of mine is able to make forms out of filemaker. Is it possible to publish those forms as a website?
Basically is it possible to use filemaker as a web platform?
Can I make websites out of filemaker pro's form generation facility.
If the answer is yes, is it the ideal tool for website programming?
Thanks.
In response to Your main answer "Is Filemaker a web platform?" i would says no.
Filemaker it's a database engine with gui facilities, so You can build things fast, it's an ideal tool for making projects (more or less specific) inside an corp or organization or to prototype/develop an application.
Filemaker has btw at least to modes/tools to share data and gui functions out of the box (http://www.filemaker.com/products/filemaker-pro/web-publishing.html):
Instant web publishing
avaiable in the Filemaker Pro (limited users and functionality) and Filemaker Server that enable You and Your group to share with minimum effort data and gui (forms)
Custom Web Publishing
only with Filemaker servershare data trough PHP code, with some tools to auto-generate PHP code.
So Filemaker i would says can share you data and forms build inside Your database over the web and can integrate with the Server version with PHP.
Good question btw!
Rob
Technically FileMaker server has a fairly good Web API that accepts GET and POST requests and returns data in XML. There's also an official PHP wrapper around it and a few unofficial wrappers, e.g. in Python. It's pretty much possible to use it as a database backend with Web projects.

REST web service support for SharePoint 2010

I am trying perform operation on a SharePoint document library using REST on SharePoint 2010. Things i wish to achieve are
1) Query items from the library
2) Download/Upload Document from Library
3) Check out/ Check in items from Library
I have to do it all using REST service (for 2010 it is /_vti_bin/listdata.svc/). I am making all REST calls from javascript which will be finally on an ASP Web Site built on MVC.
I am able to get the list and single items using REST. Download URL is /_vti_bin/listdata.svc/myStore(id) or _vti_bin/listdata.svc/myStore?$filter= etc
My question is on how to download and upload documents to the list using REST on 2010. What would be the url link. Can this be done? I cant seem to find details about REST support for 2010.
Also hints on doing Check out Checkin using the REST API in 2010.
I am able to all this using Client Side Object Model in a c# windows app.
Any help is appreciated.
At the link below, I was told to consider SharePoint 2010 REST services "as an experiment". For language agnostic applications, it was suggested I use SharePoint Web Services (SOAP). However, it is worth noting that I have successfully used SharePoint 2013 REST services for everything I need to access. 2013 seems to have fully exposed the Object Model through REST and the option for JSON responses, filtering data with $select, and expanding results with $expand is great. If you have to support SharePoint 2010, it looks like you're stuck with the SOAP solution. I'm finding that may be a bit limited as well but it's much richer what what the 2010 REST services provides.
http://social.msdn.microsoft.com/Forums/office/en-US/adf00d9c-5041-4bd7-9b36-9b86ecbce143/sharepoint-2010-rest-api-to-get-entry-permissions?forum=sharepointdevelopmentprevious

Web-based document merge solution?

We are looking for a web-based document merge solution.
Our application is a web-based project management tool built using Xataface - PHP on Windows IIS + mySQL. We have a function that allows the user to generate a status report in Microsoft Word format based on data in the tool.
Currently this function is implemented using LiveDocX. We have a status report template, and LiveDocX performs the merge into the template using data from our project management tool.
The main drawback is LiveDocx is web-service based. We are looking to replace LiveDocX in order to reduce our dependence on the up-time of a third-party web-service that we cannot control.
Does anyone have any suggestions on a web-based document merge solution that I can install on my IIS or PHP based server?
In reading your question, I'm not sure if what you're after is actual mail merge or just simply populating a single Word template server-side. In either case, here are some things to get your started:
For mail merge (multiple document
results based on multiple records,
say, from a database), you can use
either the Open XML SDK for a VS
solution or access the Open XML
directly. In that case, these are
good articles to start with:
Mail Merge in WordProcessingML
Mail Merging with a Custom Client
Using the Open XML SDK 2.0
For direct single-document
population with data, these are good
libraries that use PHP:
PHP Word
PHP OpenXML API (not incredibly
mature, but a starting point)
If you are still looking for solution then you can try Aspose.Words for .NET
it is a commercial component (not free).

Serve a form without a web interface

Anyone doing any work using "offline" forms? We have an application that requires inputting data from outside our company. I was thinking about sending a form out via email, allowing the form to be filled out then sent back. Obviously a web application would be the best solution, but management doesn't seem ready to build the infrastructure and security to support that. I've read a little about PDF forms is that a good solution or are there other solutions?
Have you considered InfoPath? These can be created and distributed through email. And then the data can be collated automatically.
Also, consider using Google Spreadsheets with Google Forms. It's free and infrastructure is outsourced.
PDF forms can work as well.
Another possibility is to use Microsoft SharePoint. If your company uses Microsoft Office for the people filling the forms you referring to, you could deploy an Office based solution and gather information with Sharepoint Server.
Check this link out.