3,536 questions
1
vote
0
answers
32
views
Word Addin - Get version from the manifest file
We have developed a Word Add-in using Angular and are currently using OfficeJS for performing Word-related operations.
We want to programmatically access the manifest version (i.e., the version ...
0
votes
1
answer
60
views
programmatically Enable "Always Use These Values Regardless of Sign-in to Office" in MS Word API
TL;DR:
I want to programmatically enable the "Always use these values regardless of sign-in to Office" setting found in File > Options > General in Microsoft Word. Does any Word API ...
1
vote
0
answers
36
views
Taskpane is not loaded when opening PPT and it was left opened
I have developed a web-based add-in for Powerpoint/Word/Excel using Fluent UI React. The add-in has a taskpane with different tabs.
I have noticed that in PowerPoint Mac if I close the app with the ...
1
vote
1
answer
52
views
Unable to use open extension on drive items
I am trying to make use of the following Microsoft Graph API endpoint to add an extension to a .pptx file:
POST https://graph.microsoft.com/v1.0/drives/{drive-id}/items/{item-id}/extensions
Content-...
-1
votes
1
answer
37
views
Override native Drag-and-drop to allow insert images with better resolution
I have a Powerpoint taskpane add-in with a list of images. Right now I have an insert button to add the selected images into the current slide like in built-in Stock images. I added an onDragEnd ...
0
votes
0
answers
46
views
Office 365 Outlook On-Send add-in and OnMessageSend with smart alerts add-in compatibility
For some context, I developed and On-Send add-in, that fetches all the data on the message and sends it to a server to later be sent through the Graph API. For better user experience, I close the ...
0
votes
0
answers
67
views
Eyedropper on windows can not pick a color from a taskpane add-in
I have been working on a add-in that provides a color palette that users can use to pick custom shades of a particular color. Although, on the browser and on MacOS the eyedropper can hover over the ...
0
votes
0
answers
10
views
Is there a way to both get the current XML of a Powerpoint and load an edited version of the XML into the PowerPoint?
I am creating a Powerpoint Taskpane Add-in and need a way to read the current XML of the entire Powerpoint when the taskpane is open, then I need a way to be able to load in XML.
I'm aware there's the ...
0
votes
0
answers
36
views
InvalidArgument Error when using copyToNotebook() in OneNote JavaScript API
I usually create OneNote APIs while looking at this site (https://learn.microsoft.com/ja-jp/javascript/api/onenote?view=onenote-js-1.1), but I'm having trouble with copyToNotebook().
It says that the ...
1
vote
0
answers
41
views
Can we convert legacy styled .csproj file of VSTO powerpoint addin into the SDK styled .csproj file? if yes then How?
Currently, I am trying to convert the default legacy styled .csproj file of VSOT power point addins into the SDK styled file, and I am getting mixed reviews in it.
so if it is possible then explain ...
1
vote
0
answers
63
views
How to replace images in a Word document using Office.js while preserving formatting and layout?
I'm developing a Word Add-in using Office.js (with an ASP.NET Core backend and Angular frontend). I need to fill in values—including images—into content controls in an existing Word document template.
...
0
votes
0
answers
45
views
Notifications in PowerPoint add-ins
I'm using Office.addin.showAsTaskpane() to open my PowerPoint taskpane add-in on a particular tab via custom Ribbon buttons. The problem is when a user click a button there is no immediate feedback to ...
0
votes
0
answers
52
views
Is it possible to sideload Office web extension manifest.xml in production mode?
I am developing an Office Add-in using Office.js. This new extension will be a re-implementation of an old COM Office extension. The problem I am facing right now is how to install the extension for ...
0
votes
1
answer
36
views
Create a basic web content add-in without Visual Studio and a Windows machine
I'm trying to develop a Content Add-in following the official documentation. The implementation section states that only few changes are needed:
For the OfficeApp element, set the xsi:type attribute ...
1
vote
0
answers
44
views
How to delete attachments in Exchange On-Prem add-in using Office.js (makeEWSRequestAsync or alternative)?
I’m developing an Outlook add-in for an Exchange On-Premises (On-Prem) environment. The goal is to allow users to delete email attachments directly from the add-in.
However, I’ve run into the ...
1
vote
0
answers
33
views
Unable to get attachment with office.js
I am building an Outlook web add-in using Office.js and I need to fetch email attachments programmatically in Outlook Web App (OWA).
However, I encountered the following error:
The operation is not ...
0
votes
0
answers
16
views
PowerPoint JS API: Can't Create Lines with Negative Slope Using addLine
We are encountering a technical issue with the PowerPoint JavaScript API when attempting to create lines with negative slope (lines that go upward from left to right). Despite various approaches, we ...
0
votes
0
answers
13
views
Outlook add-in: file access popup shows every time
Screenshot here
Issue:
I created an Outlook add-in hosted on GitHub Pages (xxxxxx.github.io). The add-in saves selected email data to a local folder.
But every time I open the add-in or select a new ...
0
votes
0
answers
33
views
How to use an InfoLabel in a Field?
I'm trying to use an InfoLabel in a Field as shown here
import * as React from "react";
import {
Field,
InfoLabel,
Input,
LabelProps,
} from "@fluentui/react-components";
...
0
votes
1
answer
35
views
Send Selected Email with Attachments to Specific Email ID in New Outlook Web Add-in
I'm developing a web add-in for the new Outlook and need to send the currently selected email to a specific email address, including any attachments. I used the Yeoman Office generator to create the ...
0
votes
0
answers
45
views
How to find and highlight the exact word in Office JS word plugin
I am working on a word add-in project for Office JS. I have been trying to implement the specific word highlight using my tool. So when a user selects any word from my tool it will get selected on the ...
0
votes
0
answers
46
views
How to tag documents on client-side for autoopen taskpane?
I have the following Add-in only manifest (React/TypeScript Task pane project made using Yeoman):
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<...
1
vote
2
answers
77
views
How to pass args to a ShowTaskpane action?
I have a PPT add-in taskpane with multiple tabs. Some of them are hidden using a drop menu. I also have a custom Tab section in the Ribbon and I would like to add a button there for each tab, so when ...
0
votes
1
answer
39
views
Word Add-In Checkbox Content Controls with office.js
I have a Word DOCX with several Content Controls in it which I want to access via JS. For this, I have the following routine:
await Word.run(async (context) => {
const doc = context.document;
...
0
votes
1
answer
40
views
Add a button to the attachment menu using Outlook Addin
I'm writing an office.js Outlook addin and I want to add a button to the attachments menu
In owa the menu is here
In desktop it would be here
I have implemented the option on a task pane but it work ...
0
votes
0
answers
64
views
Cast managed COM object to an interface without registering source assembly
I'm rewriting a Word AddIn, which has the following basic structure:
MyAddIn exposes SetController method. This method is used to pass an instance of IMyController to the addin. It is then used to ...
-1
votes
1
answer
57
views
Enabling Outlook Add-ins for Office 365 Shared Mailboxes: Current Limitations and Workarounds
I am developing Outlook add-ins (formerly Apps for Office) and have successfully deployed them globally for my Office 365 tenant and individually via Settings > Manage Add-ins. However, the add-ins ...
0
votes
0
answers
69
views
DialogParentMessageReceived not triggering event handler after MessageChild method used to send message to dialog
Working on Outlook Add-in to control ItemSend Event in order to modify message and/or attachments before its sent. It does not trigger event handler to read message that was sent using MessageChild ...
1
vote
0
answers
62
views
Share an Office Add-In without a company, and without publishing it to AppSource
I need to create a very simple Office Add-in to perform Data Transformation to and from CSV file. I am making a "Dialogue Tool" for my designer working on Unreal Engine Data Tables. I want ...
0
votes
0
answers
31
views
A custom mobile Outlook add-in is not loading, which is working well in the Outlook Web version and client
We have created a manifest file by following the link as mentioned in the Microsoft Documentation
https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/mobile-event-based?tabs=jsonmanifest
and ...
1
vote
0
answers
77
views
Tracking prevention access blocked for office.js - excel add-in
enter image description here
When loading my excel add-in, I see that office.js gets blocked from the edge browser inside of excel, see screenshot. How to prevent this from happening? I tried to time ...
0
votes
1
answer
55
views
How can I include an OfficeGroup of buttons in a CustomTab in my Office-js Excel Add-In?
I am creating an office-js Excel Add-In and I want to have a custom tab on the ribbon bar. On this custom tab, I want the "Calculation" group from the Formulas tab to appear in this custom ...
1
vote
1
answer
69
views
Can we disable the Outlook warning when add-in closes the message from the ItemSent event?
When testing our Outlook web add-in last week, we started seeing this warning when our add-in tries to close a message being composed:
Our add-in retrieves all the information of a message to later ...
0
votes
0
answers
16
views
PowerPoint Content add-in resizing issue during load
We are currently developing a PowerPoint content add-in and have encountered an unusual behavior during presentation mode. When a slide containing the add-in is displayed for the first time, it ...
0
votes
0
answers
30
views
Outlook 365 doesn't retain "New Messages" and "Replies/forwards" signature names
We have a plugin for Outlook which is developed using C++ MAPI.
The scenario is as below.
User creates a signature created by user (File-Options->Mail->Signatures and Stationery) e.g. TestSign01 ...
0
votes
0
answers
12
views
Dialog is not working on any Windows desktop platform, including Word, Excel, Outlook, etc
I am working on a Word Add-in and using the Office Dialog API. A few days ago, everything was working perfectly, but since yesterday, the dialog box is showing a blank screen. I cannot inspect or see ...
0
votes
0
answers
22
views
range.EntityValue doesn't seem to persist after function completes
I'm working on a custom Excel Add-in and want to use entityValue to create a behavior similar to the built-in Stocks data type (and documentation here: https://github.com/OfficeDev/Office-Add-in-...
0
votes
1
answer
50
views
Office Word Add-In ExecuteFunction displaying commands.html instead of running the function
I'm new to Office Add-ins so this might be a trivial mistake. For this Typescript React Add-in I have created a Context Menu Extension Point that on click is supposed to run a custom function ...
0
votes
0
answers
31
views
Blazor and Outlook Web Add-in Debugging not working (Not hit breakpoints)
I am unable to set the debugger breakpoint in Visual Studio on the client side C# and Razor code when starting Outlook Web Add-in. I have tried manually attaching various processes to the VS debugger ...
1
vote
0
answers
61
views
Office.js | Comments not showing immediately after adding through Office.js
I am building a word add-in, one of the main functions is that it can insert comments in specific parts of the document. The whole thing works well when used in locally installed Word, but as soon as ...
0
votes
0
answers
27
views
Navigation bar apps (Reorder apps) implementation in Outlook for mobile (IOS) and OfficeJS
We are looking for a way to add a non-contextual addin to our Outlook for mobile OfficeJs plugin. This is a screenshot of some possible places:
Notice that there is a Youtube app which is a 3rd party ...
1
vote
0
answers
25
views
Can Office Add-Ins use OneDrive API natively?
Is it possible to operate OneDrive files, without downloading them? (like in google script)
In google script, to find a file in a google drive folder,
and then open it as document, you do this:
const ...
0
votes
1
answer
69
views
Excel Office Add-Ins manifest.xml doesn't like namespace prefixes
When building Excel Office Web Add-Ins, a manifest.xml file is required to describe the service.
Here is a simple one that opens a Taskpanel in Excel:
<?xml version="1.0" encoding="...
1
vote
0
answers
56
views
Excel Office.js: How to preserve custom formula text in the formula bar when batch-updating cells?
I’m building an Excel add-in using the Office JavaScript API. I have custom formulas like =PMPBK(...) that work fine if I rely on Excel’s @customfunction approach. The user sees the formula in the ...
0
votes
0
answers
14
views
Office.js Excel range.insert() is moving user viewport to A1
I have a simple function on context menu option clicked which gets passed the active cell address, eg: F81, from the user and inserts a row below.
export const insertRowBelow = async (address) => {
...
0
votes
0
answers
28
views
Custom Shortcuts in VSTO Addin - Application.OnKey: procedure call throws an error: "macros disabled or not available in the workbook"
I'm creating a VSTO Excel Add-in using VB.NET. I am trying to create custom shortcuts. Application.OnKey function has 2 inputs: key and procedure, I entered "^q", which means Control + q. In ...
0
votes
0
answers
40
views
how to send mail with EWS api in office addin
I am currently developing an Outlook add-in designed to send phishing and spam reports using the makeEwsRequestAsync method. However, I am encountering a persistent error: 'The remote server returned ...
0
votes
0
answers
52
views
Feasibility of Creating a Ribbon Button Add-in for OneNote Desktop with Custom UI (C#)
I'm exploring the feasibility of implementing the following use case in OneNote Desktop (M365 2410) and would appreciate your insights. Unfortunately, I couldn't find sufficient information in the ...
0
votes
0
answers
17
views
Office add-in clear the snapshot
i develop a content add-in for powerpoint and it works fine.
the add-in is a web browser which only contains iframe, textbox and button.
i save the ppt and share whom have not installed the add-in ...
0
votes
0
answers
26
views
Which Microsoft API is utilized in while consuming function acquireTokenOnBehalfOf of SDK "@azure/msal-node"?
We are building a web-based, JavaScript Outlook Add-In which is required to call Microsoft Graph APIs to access the Outlook's user's emails and attachments.
The authentication process is being ...