Excel js add-in access outlook/create email - excel

The last question I can find is from 2018. I see in the documentation that there is an example of Office.context.mailbox.item. On my personal computer it doesn't exist in excel, but would this work in AD domain computers to send email from excel in a local/on-prem-only office installation?

Related

What service do I need to be able to let my users use Office 365 Cloud Excel

I am working on an accounting system where the system will generate an excel file using a template and then open it using embedded Office 365 Excel. I can do this with my personal account where I would use the OneDrive API to create an excel file and then use the Embedded option in the OneDrive to generate the iframe link and use it on my website. However, the iframe url exposes the auth token though which could be misused by the users.
In future when we have real customers, I would want my users to be able to edit the excel file with their own Office 365/sharepoint account (that we would create for them during onboarding). I believe embedded excel option is not available for business users of Office 365, and I learned that you could do that with sharepoint though for business use cases. What service do I need? Maybe sharepoint but I dont know what else I need and how to make the integration work.

Save Excel file to SharePoint via VBA

I have an Excel workbook which has a macro that creates a number of additional workbooks of Sales Figures. These files are emailed out to the relevant Sales Person each morning and are currently saved to a location on the customer's server.
The customer now wants us to save the file to their SharePoint Online site. Does anybody know how we can accompish this in VBA? We will need to be able to pass login credentials in the code as the account we use doesn't have access to their SharePoint directly. We can manually copy the file to the location by logging into SharePoint and using the 'Upload' function, but I don't plan on doing that everyday at 05:00!

Pull data from Excel online spreadsheet for use on a web page

Does anyone know if it is possible to pull data from an Office 365 Excel online sheet for use on a web page.
Essentially what I'm looking for is a Microsoft version of the Google Sheets API: https://developers.google.com/sheets/api/quickstart/js - unfortunately I'm not able to use Google sheets due to the project being located in China (where Google services are blocked).
Does anyone know if this exists?
There is Mic.rosoft Graph API and probably more suitable to your needs Excel Rest API

How do I set up an add-in catalog on office 365

I have been working through the following link:
https://msdn.microsoft.com/en-us/library/office/dn574752.aspx
I get to point 2. "In the left task pane, choose add-ins'
But in my sharepoint online admin I do not have this option.
From Office 365 I click Admin and go in to the Office 365 admin center.
Then down the left is the Admin section with Exchange, Skype, SharePoint, Compliance etc. I click on SharePoint.
Then the options are Site collections, InfoPath, user profiles, bcs, term store, records management, search, secure store, apps, settings, configure hybrid. There is no option called 'Add-in'.
I thought maybe the apps option might work / be the same thing. Any ideas?
glad you were able to get the add-in to load from the catalog. The name is going through a change from "Apps for Office" to Office add-ins as the note in the link above says.
For the second part of the question, the Excel file should open directly from downloading the workbook from the internet. I would make sure you can open other .xlsx files. Also note to run Office web add-ins you need Office 2013 or above.

Using Office 365 API with only one account

I am trying to use the Office 365 API to write events to the calendars of anyone at our organization. This should not involve the users logging in to Office 365 at any point. The events to add are written out at various points during the day (when the user who would own the event may not even be at a computer), so the per-user token approach doesn't even make sense.
It appears that Microsoft provides an alternative that uses a service account. This account can be used to write to any user's calendar (or sending email as any user, etc.). However, I can't find any documentation on doing this. Could anyone provide a link to it?
I found a blog post on this topic: http://blogs.msdn.com/b/exchangedev/archive/2015/01/21/building-demon-or-service-apps-with-office-365-mail-calendar-and-contacts-apis-oauth2-client-credential-flow.aspx
Also, if you aren't using Microsoft's client library for this (for example, if you use linux), you'll need to see this too: Office 365 Rest API - Daemon week authentication

Resources