Questions tagged [office-app]
Office Web Apps are touch-friendly web applications that let you create, edit and share your Excel, Word, PowerPoint and OneNote files from any browser.
106
questions
0
votes
0
answers
233
views
Allow Office Web Apps Viewer in htaccess
I'm using Office Web Apps Viewer to display the contents of files that are in a folder protected by htaccess. But when the iframe is loaded it shows the content of my 403 Forbidden error page instead ...
0
votes
1
answer
500
views
How to uninstall individual apps from MS Office 2021?
I just want to install Word, Excel and PowerPoint from Office 2021 however, there is no option to opt-out from other apps getting installed alongside. Is there any way to uninstall those useless apps ...
0
votes
1
answer
134
views
Closed the word doc using process.kill() in C#, but when opening a fresh word it opens the last saved word doc. I want new word doc window
I was trying to automate office app in C# using Visual Studio. I opened the Word document using launch(@"WINWORD"), made some changes and saved the Word doc, and then closed the doc using ...
1
vote
0
answers
140
views
Can't make "Build an Excel task pane add-in using Vue" tuto working
I might be doing something wrong but I can't make this tutorial working and I have no idea why:
https://learn.microsoft.com/en-us/office/dev/add-ins/quickstarts/excel-quickstart-vue
When I run the ...
0
votes
1
answer
689
views
Change the language of Office Online Doc Viewer via URL parameters
So, I am using Google Doc Viewer to show .docx documents and it works fine, but it sometimes takes too much time to load and times out. I tried the Microsoft one and it looks pretty fast, but my ...
0
votes
0
answers
257
views
Error converting .docx with HTML to PDF using Graph API
I am trying to convert MS Word (.docx) file to PDF format using Graph API. The file is stored in SharePoint Office 365. I am using below code which works.
var httpClient = await ...
0
votes
1
answer
116
views
Cannot find Excel in Javascript Chart API
I was trying to use this Microsoft tutorial Excel Chart Add-in - Javascript API
In the first example, it has the code
Excel.run(function (context) {
var sheet = context.workbook.worksheets.getItem(...
2
votes
2
answers
2k
views
Getting access token using Auth code flow in Outlook web add-in
After all my research and reading Microsoft docs, am unable to conclude how to generate access token using auth code flow in outlook web add-ins. I can successfully generate access token using ...
0
votes
1
answer
161
views
Insert table column in body after Outlook add-in
There is an Outlook add-in app.
When the button is clicked, the table is inserted in the body, and after the first insertion, the next button is clicked and I want to insert the table column.
Are ...
0
votes
0
answers
90
views
Track Appointment Time changes in Office add-ins
I am currently opening a new Appointment form from add-in commands using " Office.context.mailbox.displayNewAppointmentForm " .
And it is working fine. But I want to track if there are any changes ...
1
vote
1
answer
636
views
Word add-in (office-js) - createDocument function not working as expected in Word online
I have a Word add-in which is trying to use the createDocument() function to create a new document at runtime and then open it. This works fine on Word on the desktop. However, when running in Word ...
-1
votes
1
answer
81
views
An add-in in Excel for Mac cannot be updated
I have an add-in 10 Studio in AppSource.
The current version (on 08/22/2019) is 1.5.1.0. We load well this version in Excel for Windows:
However, when we load the same add-in from the add-in Store ...
1
vote
1
answer
151
views
Inspect the loading from the beginning to debug an Excel add-in
I have an Excel add-in in AppSource. It has a bug: sometimes, when the add-in is launched via its button on Ribbon for the first time, the first page cannot be well loaded (thus there is just a blanc ...
0
votes
1
answer
103
views
Can I add a button to my add-in next to Send/Discard buttons?
I am writing an Outlook Add-In (Web version, Desktop) and so far I was able to add a link to my app in the contextual menu (see screenshot below - highlighted in yellow). This work well, but it is ...
1
vote
0
answers
55
views
range.formulas assignment is not updating the Formula Bar in Excel add-in
I'm in an Excel web Add-in (office-js), in a .xlsx file
In Range C3: C6 there are formulas that in the same type VLOOKUP
Snapshot of before code execution
And In index.js my code is
let data=[
[&...
1
vote
1
answer
79
views
Auto-open does not work for people who have not signed in in browser
I want to share a document online by a URL with some colleagues. When they click the URL and view the document online, I want a task-pane add-in to be automatically opened.
I used Office-OOXML-...
3
votes
0
answers
478
views
sometimes server ip address could not be found in microsoft viewer
I am using https://view.officeapps.live.com/op/view.aspx?src= to get viewed doc and docx extension documents. Sometimes I am getting the issue view.officeapps.live.com server ip address could not be ...
1
vote
1
answer
289
views
Save before closing a document
I have developed an Office add-in. It contains an editor where users could type and save a text.
I want to realise a feature: 1) One option is, when a user closes a spreadsheet/document, I want to ...
1
vote
1
answer
40
views
What will happen when we modify manifest of an existing Office add-in?
I have an Office add-in available in the store. Currently, part of its manifest file is
<Requirements>
<Sets>
<Set Name="ExcelApi" MinVersion="1.2"/>
</Sets>
</...
0
votes
1
answer
144
views
Rely on `ng-app` in Excel add-ins by AngularJS
I have developing an Excel add-in by mean-stack. Long time ago, I saw an answer somewhere about starting up an AngularJS add-in with office.js (unfortunately I cannot find the thread anymore). The ...
0
votes
1
answer
214
views
Office.initialize raises $rootScope:infdig
Previously my add-in worked well in different browsers. Recently, in some browsers it does not load well (error messages in the console + just shows a blank page in UI); in some browsers it loads, but ...
1
vote
1
answer
656
views
Add-in can't run in Office Professional Plus 2016
One of my add-ins, Formula Formatter, works well in Office 365. However, one client told me it cannot be loaded in Office Professional Plus 2016.
Does anyone know what may be the reason? Should we do ...
2
votes
2
answers
248
views
Change "Publisher's website" on Microsoft and/or Azure AD Graph consent screen
When sending my user to the https://login.microsoftonline.com/{tenant}/oauth2/authorize endpoint during an oAuth flow, they are presented with the consent page. On this consent page, when they ...
1
vote
1
answer
1k
views
Popup window inside a task pane add-in
I have a task pane add-in in Office.
I have an item in the task pane, and a delete button. Now, when users click on the delete button, I want to pop up a small window to ask if users are sure about ...
3
votes
1
answer
1k
views
We couldn't connect to the catalog server for this add-n
I just realized that many add-ins cannot be loaded in Excel Online (Chrome):
Does anyone know what's happening?
1
vote
1
answer
218
views
Zoom in/out the task pane
If we consider the task pane of an Office add-in as a small browser, I am wondering if there is a native way to zoom in/out it like what we can do in a normal browser by cmd + +/cmd + - .
For example,...
0
votes
2
answers
1k
views
Correct way to Office.initialize in Office add-ins with angularjs
I want to build an Office add-in with angular and angular-ui-router. I don't know what's the correct place to put Office.initialize.
At the moment, I use in index.html:
<script src="https://...
1
vote
1
answer
5k
views
ReferenceError: Excel is not defined
I want to make an Office add-in with angularjs and angularjs-ui-router:
<bt:Urls>
<bt:Url id="Contoso.Taskpane3.Url" DefaultValue="https://localhost:3000/addin/test" />
&...
1
vote
1
answer
141
views
Two open taskpanes side by side
I am making an Office add-in which has two ribbon buttons. Each button is linked to a different TaskpaneId, and clicking on each button opens a different taskpane:
<bt:Urls>
<bt:Url id="...
1
vote
1
answer
91
views
Communication of two taskpanes
I am making an Office add-in which has two ribbon buttons. Each button is linked to a different TaskpaneId, and clicking on each button opens a different taskpane:
<bt:Urls>
<bt:Url id="...
2
votes
2
answers
361
views
Routing and navigation in Office taskpanes
I have a mean-stack site with angular-ui-router, now I want to code an Office add-in with a server and a part of its functionality, and interact with Office.
I have seen add-in commands, which ...
3
votes
2
answers
125
views
Cannot switch between popup window and Excel for Mac
I have made an Excel add-in, which pops up a window either by window.open or Dialog API.
I just tested it in Excel for Mac: when the window is opened, it seems that we can NOT put the focus back to ...
0
votes
1
answer
40
views
Submit an add-in only for Excel Online
I want to submit an add-in only for Excel Online (no Excel for Mac, no Excel for Windows).
Could anyone tell me if it is possible and how to configure the manifest xml file?
0
votes
0
answers
24
views
I can not assign a new user a app on MS azure
I need to assign a new user. But I can not, because assign link is disable.
So, how can I assign a new user for web app?
1
vote
1
answer
174
views
Open documents like pptx, potx, docs etc in browser, where documents hosted on VPN server
I want to open documents like pptx, potx, word documents etc in browser, where all documents are hosted on VPN server.
I tried both https://docs.google.com/viewer and http://view.officeapps.live.com/...
0
votes
1
answer
672
views
Is it possible to run a macro on button in Task Pane(web) using Office App?
I have created a macro in VBA. I want to call that macro on click on button in Task Add-in button.
Is there any way to run macro using button provided in Task Add-in panel?
0
votes
1
answer
495
views
How to add comment to selected text in MS Word using Office App?
I am new in Office App development. I want to add comment to selected text on button click. I can get selected text using following code but I don't know how to add comment in selected text.
Code:...
0
votes
0
answers
285
views
Taskpane app/add-in doesn't load on Office 2016
I have an Office Taskpane app/add-in that runs on both Word and Excel. Originally the app/add-in has been done by using VS2013.
The app/add-in manifest has been put to the on-prem SharePoint 2013 ...
0
votes
1
answer
76
views
Get all changes to calendar in Outlook Web Add-in
I'm developing an add-in for Outlook Web (Outlook365 and Outlook.com) which needs to retrieve all changes in the calendar.
I tried to use the Calendar REST API, but when calling getCallbackTokenAsync ...
0
votes
0
answers
418
views
Insert Excel validation list in excel using Javascript
We are using Excel 2016 Add-In to load data from DB to Excel 2016 (few Excel 2013). There is a column 'Status' in Excel. Currently it is simple text cell. We need Excel drop-down list in Status cell (...
2
votes
3
answers
573
views
C# based excel-functions within Office.js javascript API possible?
I'm currently developing a tool using the Office javascript API. However, I would like to provide an own Excel function (something like =SUM(A1:A5)), which is based on code in C#.
Is there any way ...
5
votes
0
answers
252
views
office.js: Outlook Web displays "Save/Discard/Cancel" dialog on appointment close
I have an Outlook Add-In written in the new Javascript API (office.js).
I do some manipulations from the compose form on an appointment in the calendar (adding subject suffix and some text to body). ...
5
votes
3
answers
3k
views
Office Add-in (web app) can be completely offline (without web server)?
I want to create an Office Add-In with some HTML + JavaScript for sell in Office Store. And this add-in no need using any server side facilities.
But if I understood https://dev.office.com/getting-...
4
votes
3
answers
2k
views
how to send a Json object to a dialog from the parent using dialog API in Office365
I am new to office 365 word JavaScript API. I am trying to send a Json object to a dialog from the parent using the dialog api. But I couldn't find a better solution for that. I have found it is ...
1
vote
0
answers
44
views
Office Task Pane app ajax call not working
I'm working on this TaskPane app for office, and I would like to get some data from a php function that resides on our domain.
We're using the same php function in other apps, where I can just call ...
1
vote
1
answer
2k
views
Load document from local filesystem to Office online
I would like to load/save a file directly from the local filesystem in Word online (without uploading it to onedrive). Since this is not part of the default functionality I am trying to determine if ...
2
votes
1
answer
644
views
In Office Apps - Cannot redefine non-configurable property 'context'"
This is similar to In Office Apps for Excel 2013 - Cannot redefine non-configurable property 'context'".
However it only happens on IE 11 and Edge.
My use case is followin:
I open ...
0
votes
1
answer
202
views
SignalR with Office Apps - "Error Access Denied error while negotiate connection."
I have three projects.
SignalR Host Application
Enabled CORS and JSONP settings
Office Apps application (manifest)
in the masifest > App Domains settings, included the SignalR Host Application URL
...
0
votes
1
answer
134
views
Using Social Logins in an Office App
I'm building an Office App app that integrates with a few different social logins. Playing around with a POC and it becomes clear that the redirects / new windows opened by SSO's like Office 365 / ...
0
votes
1
answer
355
views
Can an Office App run in the background?
If you install an application from the Office Store, let's just say Word for example. When I then re-open word, can that app / plugin run a background task or must the app be engaged with by the user?