Questions tagged [office365-apps]

Office 365 add-ins lets you create consumer and enterprise experiences running within supported Office 2013 applications by using the power of the web and standard web technologies like HTML5, XML, CSS3, JavaScript, and REST APIs. An app for Office is basically a webpage that is hosted inside an Office client application. Use this tag when referring to Office 365 add-ins only.

Office 365 add-ins lets you create consumer and enterprise experiences running within supported Office 2013 applications by using the power of the web and standard web technologies like HTML5, XML, CSS3, and JavaScript.

An Office add-in is basically a webpage that is hosted inside an Office client application. You can use apps to extend the functionality of a document, email message, meeting request, or appointment. Add-ins can run in multiple environments and clients, including rich Office desktop clients, Office Web Apps, mobile browsers, and also on-premises and in the cloud.

This document provides a quick overview of the Add-ins for Office platform, how an app works inside of an Office application, and how you publish an add-in to the Office Store or to an onsite catalog for consumers to use.

There are several types of add-ins available:

Supported applications:

   Application      | Task pane | Content | Mail
  _______________________________________________
   Excel 2013       |     •     |    •    |
   Excel Web App    |     •     |    •    |
   Word 2013        |     •     |         |
   Outlook 2013     |           |         |   •
   Outlook Web App  |           |         |   •
   PowerPoint 2013  |     •     |         |
   Project Pro 2013 |     •     |         |

Resources:

488 questions
27
votes
5 answers

550 5.7.1 Client does not have permissions to send as this sender (office365)

I m trying to send email with following configuration Host: smtp.office365.com port: 587 user: myemail@example.com pass: "mypassword" I'm getting the following exception: 550 5.7.1 Client does not have permissions to send as this sender I have…
roanjain
  • 1,252
  • 4
  • 14
  • 32
14
votes
4 answers

Uncaught TypeError: window.external.GetContext is not a function

I have created an angular app and wanted to use JS API library into it. I want to use this app inside Office 365 Outlook. However, I am getting the following error: Uncaught TypeError: window.external.GetContext is not a…
Spartan
  • 191
  • 1
  • 9
10
votes
3 answers

The client application has requested access to resource 'https://outlook.office365.com'. This request has failed

I am trying to test the sample code from office365 API, I could login to my account but after that i would always get this exception AuthenticationFailedException was caught AADSTS65005: The client application has requested access to resource…
user2342194
  • 101
  • 1
  • 1
  • 5
8
votes
2 answers

Create an app in azure AD for sharepoint online

Hie everyone, Can anyone tell me how i can create an application for SharePoint online please? I'm using Azure AD and there is no option(1) for sharepoint online, i only see the graph application for the unified API. Thanks a lot (1) 2 weeks ago…
8
votes
1 answer

Getting Item ID after REST Upload to SharePoint 2013 Online Document Library

Can somebody help me connect the dots between these functions. I can upload, but how do I get the ID of the file I just uploaded to update metadata columns on the File in the host Document Library? Many Thanks! function uploadDocument(buffer,…
Hell.Bent
  • 1,667
  • 9
  • 38
  • 73
7
votes
2 answers

How do you unit test office.js app code?

Are there any common practices, frameworks or patterns for unit testing office.js based code? Given the large number of the components in thr object model, it's impossible to mock calls to office.js. Is there something like a karma launcher to…
Sameera
  • 1,025
  • 13
  • 36
7
votes
2 answers

How to implement an 'undo' functionality for an Office Add-In using the JavaScript API

How to implement an 'undo' functionality for an Office Add-In using the JavaScript API? Right now all changes made by an Add-In are non-reversible by the user and it appears that Microsoft is not working on an easy way to enable the Add-In changes…
Jonas Kemper
  • 3,745
  • 3
  • 14
  • 21
7
votes
1 answer

how to handle date type in excel addin office.js

i have a task-pane based add-in for Excel developed using office.js. i copy a date on one of the cell in the excel, and then read it next time from that cell. basically i use javascript Date object to convert the read string from excel to date and…
shyam_
  • 2,370
  • 1
  • 27
  • 50
6
votes
1 answer

Office Add-in development: Insert image/picture in Word 2016

I would like to ask as to what is the best way to insert an image/picture to the document in JavaScript? I am weighing in between an online and offline images but don't know where to start. I've tried searching the API references but with the lack…
vegavegs
  • 119
  • 1
  • 9
6
votes
2 answers

Office.context.mailbox.item.body.getAsync() method does not work in outlook mac 2016

In office 365 outlook add-in, Office.context.mailbox.item.body.getAsync() method does not work in outlook Mac. But it works fine in safari and chrome. office js reference is "https://appsforoffice.microsoft.com/lib/1/hosted/office.js" here is the…
DevÁsith
  • 1,072
  • 12
  • 38
6
votes
3 answers

Make Outlook add-ins working with Office 365 shared mailboxes

I am building apps with the new technology of Office add-ins (formerly app for Office). The add-ins activate well when registered globally for the Office 365 tenant or individually by user (mechanical gear > manage add-ins). I would like my add-in…
6
votes
1 answer

Create an ASP.NET Web Application to be an Office 365 task pane AddIn

Even though C# and others are listed as a possible language, all of the samples I have found show how to create a task pane AddIn using HTML5/JavaScript only. I've already gone through all of these: How to: Create your first task pane app by using…
David Thielen
  • 28,723
  • 34
  • 119
  • 193
5
votes
2 answers

Import CSV data into R from Office 365

I have CSV files in a folder on Office 365 Sharepoint that I would like to import into R. In base R I get: > test <-…
mysteRious
  • 4,102
  • 2
  • 16
  • 36
5
votes
1 answer

Word 2016 Add-in: detect document Save

I'm developing a Word 2016 Add-in (Word API + Office.js) and I'm wondering if it's possible to get notified when the user is about to save the document. The document is stored as a LOB on application's database, extracted on a temporary path and…
jeanie77
  • 515
  • 1
  • 4
  • 22
5
votes
1 answer

Restrict Office365 App "Read mail in All mailboxes" permission to specific mailbox

I'm trying to download emails through Office365 app in MVC web app. And I'm struggling with configuring app permissions on Azure Active directory. Permission says: "Read mail in All mailboxes" however I want to choose which mailboxes it can…
1
2 3
32 33