Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
67 views

I’m using the Microsoft PowerPoint JavaScript API to generate slides from slide master, where the shapes are created within layouts using GeometricShape. A placeholder text is assigned to each shape ...
Kasturi Sharma's user avatar
2 votes
1 answer
92 views

I am working on creating a taskPane integration for microsoft powerPoint web and I am trying to get the font of each slide. This is the code I am working with async function validateSlideDeck() { ...
akaparadox's user avatar
1 vote
1 answer
179 views

I have a table in a word document that would have merged cells and I am trying to extract data via the word addin using office.js Example: Table (with merged columns) I want to gather data in json i....
Neer's user avatar
  • 37
1 vote
0 answers
193 views

I have written some office script to fetch data from server and fill that data to a table in excel. function main(workbook: ExcelScript.Workbook) { // Getting People List // Clear the table ...
user27945138's user avatar
0 votes
1 answer
706 views

I have a SPA which is run either as standalone web app or as Outlook add-in. I want the user to be able to login using their Microsoft account. However when using the Outlook add-in I want to let ...
Hielke Hoeve's user avatar
0 votes
1 answer
349 views

How to add a confirmation prompt before sending an email just wanted to ask once more to confirm as a prompt to the user, I am using Outlook add-in ( dotnet with vanilla JS). I have gone through the ...
Alien 'D' mars's user avatar
0 votes
0 answers
84 views

I am displaying a dialog box in an Outlook add-in (Office.context.ui.displayDialogAsync). Is there a way to make it look more like the popup that you see after reporting a message using Microsoft's ...
BigDataFiles's user avatar
-1 votes
1 answer
92 views

how i can update lable of control using office js Office.RibbonUpdaterData interface please help me in this for ribbon button enable and disable this is working below code async function updateButton(...
Zia ul Qamar's user avatar
1 vote
1 answer
101 views

I am working with an Excel add-in and am given a list of cell addresses that contain custom functions that I need to reference, ie., ["A1","B1","C1","F2","...
Greg Stephen's user avatar
0 votes
0 answers
51 views

A little over a year ago I wrote a script in Script Lab that would export all of the tables on the active worksheet to individual quoted csv files. I was running this in M365 Excel on the Desktop. ...
Ned Zimmerman's user avatar
0 votes
0 answers
186 views

The Short Summary: Why does Office.auth.getAccessToken or OfficeRuntime.auth.getAccessToken works on Excel but not on Outlook. And why even though my Outlook version support the Idenitity API it show ...
Wladefant's user avatar
0 votes
1 answer
125 views

I am building an office add-in, specifically to be used in Word. I also have an API that I built using Django that accepts and takes in data as 'formData'. Now, in my office add-in I have written a ...
Mayank saini's user avatar
0 votes
1 answer
44 views

is there a way to make an office-js word addin appear in the home ribbon by default, without user interaction through going to My Add-ins via O365 Admin panel or group policy?
emraldinho's user avatar
1 vote
1 answer
171 views

I'm new to Office Web Add-Ins (having come from VSTO land), so I'm probably not understanding something small and silly.. -- Edited and simplified -- I'm trying to get the following sample code to ...
Matt Fitzmaurice's user avatar
1 vote
0 answers
83 views

I'm developing a Word web add-in with a task pane and dialog using office-js. The task pane functionality works perfectly when I sideload the add-in locally. Here’s the relevant part of my manifest ...
Abhishek Katariya's user avatar
0 votes
1 answer
157 views

HI Is it possible via the Office JS API to manipulate the Word document or individual paragraphs so as to make them read-only? To be clear, I would like to do this: https://support.microsoft.com/en-us/...
Davide Bono's user avatar
0 votes
1 answer
94 views

Is there still not any way to open Excel from an Office.js Word add-in and perform actions in Excel? I found a similar question from 2020 here: Creating Word document from Excel Add-In with Office.js. ...
frostydog47's user avatar
1 vote
1 answer
98 views

I'm using Word's client api, Office.js After reading a certain bookmark via its name with the function var bookmark = context.document.getBookmarkRangeOrNullObject("BOOKMARK"); Is it ...
Davide Bono's user avatar
0 votes
0 answers
77 views

I have a global rune store that keeps track of document properties like so: export class DocState { #properties = $state(new Map()); constructor() {} add(prop: string, value: string) { ...
kjoetools's user avatar
  • 548
1 vote
0 answers
45 views

If I've created a custom tab using ExcelDna.AddIn, CustomRibbon.xml, how do I deploy an officejs add on, using manifest.xml, so that officejs addon is placed inside that custom tab created from ...
Rahul Deshpande's user avatar
0 votes
0 answers
43 views

During development and testing of a Word AddIn, I routinely make changes to the manifest and then have to: Clear my browser cache Sideload my addin Otherwise, to remove an add-in sideloaded to Office ...
Matt Fitzmaurice's user avatar
0 votes
1 answer
86 views

I'm developing an Excel Add-In using the latest npm version of the JavaScript API and I'm encountering an issue with the latest Excel API set (1.16) functionality. I’m trying to access the valueAsJson ...
Maximilian Sieber's user avatar
0 votes
1 answer
86 views

I am trying to create a new content add-in for Excel/PowerPoint, and looking for resources that can help me figure out how to do this. Here is what I have found so far https://learn.microsoft.com/en-...
Justin Greywolf's user avatar
0 votes
0 answers
52 views

I am developing a javascript addin for Mail. I want to support Mac Classic Client as well. The minimum required api set for messageChild() method of dialog api is listed as Mail 1.9 and Dialog API 1.2 ...
Het Test's user avatar
0 votes
1 answer
39 views

I am working on an add-in that allows users to insert content from our service into their document. I am able to do this fine. I am able to get a list of all images inserted from our service, and ...
Justin Greywolf's user avatar
0 votes
1 answer
64 views

This is more a sveltekit question then a office-js question... I have an office.js addin built in sveltekit that authenticates users to their domain or live.com. This works fine except for one thing. ...
kjoetools's user avatar
  • 548
0 votes
0 answers
45 views

Working with custom excel formulas. When I try to unlink formula in the cells and put only the value back to the cells it takes too much time for context sync. How do I reduce the timing? but not ...
Shukla Dev's user avatar
0 votes
1 answer
78 views

A friend asked me to develop a simple PowerPoint (365) Add-In since they couldn't find a suitable one in the Office Store. I opted to create a Web Add-In in Visual Studio, which is working fine when I ...
Hexcoder's user avatar
0 votes
1 answer
35 views

I am working on an PowerPoint add-in using office.js api and I am using React+Typescript. I have a translation api and I translate text from selected shapes and it's working well but I want to ...
Mohsin Ali's user avatar
1 vote
0 answers
56 views

Working with custom excel formulas. When I try to unlink formula in the cells and put only the value back to the cells it takes too much time for context sync. How do I reduce the timing? Maybe it's ...
Shukla Dev's user avatar
1 vote
1 answer
78 views

I am developing an Excel add-in with Office.js and need to manage recalculation while keeping Excel's calculation mode set to Automatic. Here’s the issue: Context: The add-in uses custom formulas to ...
Somesh Thumma's user avatar
1 vote
0 answers
109 views

When I create an Outlook Add-in using React Framework through the Yeoman generator, and without applying any modifications, if I run the npm run build I get a bundle of 13MB for the taskpane.js, it ...
user1912238's user avatar
1 vote
0 answers
70 views

I am working on an Excel add-in that automates certain specific tasks for my team. I have already created the add-in with Office.js and I have the manifest.xml and the html, css and js files. Is there ...
Eduardo Rangel's user avatar
0 votes
1 answer
52 views

When I use Office JS (JavaScript API for Office) add-in to track the coordinates of a shape in PowerPoint as it moves but I didn't get any coordinates over slides, I guess we can use the Office ...
sufyan asmat's user avatar
0 votes
1 answer
168 views

I am trying to follow the steps from https://learn.microsoft.com/en-us/office/dev/add-ins/testing/sideload-an-office-add-in-on-ipad and apply them to any of the official samples from https://github....
Paul-Jan's user avatar
  • 17.4k
1 vote
0 answers
56 views

Is there a way of getting the language of text in a document using the Word JS API for an Office Add In? It seems that the Word.Font class does not have this as an option: link Is there a work around ...
FelixKing's user avatar
0 votes
2 answers
319 views

I'm creating my first Outlook Web Add-in app. When I'm calling Office.context.mailbox.item.body.getTypeAsync when viewing an email in Outlook, I get the error message "Uncaught TypeError: Office....
stephenj93's user avatar
1 vote
1 answer
93 views

Using the Excel Javascript API, I'd like to copy values and formatting from one rangeAreas object to another with equal dimensions. According to the docs, copyFrom should work the same with rangeAreas ...
nico's user avatar
  • 11
1 vote
0 answers
32 views

Is there any way to add email sorting functionality in outlook addin by date, from the oldest to the newest emails through frontend. In case of any possibility kindly suggest me how can I do this, ...
Waqas Ahmed's user avatar
0 votes
1 answer
78 views

I am using this example from the Microsoft Docs to add a button in the context menu, I am running the validator and the manifest file is valid. This ExtensionPoint is right below the ...
Arlind's user avatar
  • 397
1 vote
0 answers
80 views

Background I'm writing an add-on to help visually highlight certain text in court opinions, legal memos, and law review articles. As an example: The question is whether section 404(c) of the FSA bars ...
sonny's user avatar
  • 343
0 votes
1 answer
42 views

I am trying to write some simple TypeScript code to change a conditional formatting rule in an Excel file. To repro my issue: Open a blank Excel file Enter 1 in A1 Click “Home”, Conditional ...
jkpieterse's user avatar
  • 3,059
0 votes
0 answers
85 views

I have an Excel Add-In that opens a taskpane and, using Excel Javascript API, displays a form that the user fills in. In that form, I need to include an input where the user should be able to select a ...
Facundo Ch.'s user avatar
  • 12.3k
0 votes
1 answer
45 views

I am developing a Word web add-in using Office.js, and I need to update the layout of the ribbon. I have created a basic ribbon following this documentation Here is a snapshot of my current ribbon: ...
Abhishek Katariya's user avatar
0 votes
1 answer
240 views

I am building a test Outlook web add-in using office.js. The add-in uses the itemSend event to check various aspects of a message the user is sending. The event works fine. However, if the web server ...
Al_C's user avatar
  • 13
0 votes
0 answers
54 views

We are freezing rows from A51 to A54 and I have selected cell A100. await Excel.run(async (context) => { const sheet = context.workbook.worksheets.getActiveWorksheet(); sheet.freezePanes....
Rahul Prajapati's user avatar
0 votes
1 answer
72 views

I am planning to create an extension for Outlook web. I want to show a dialog for e.g. selecting a folder. Having scrolled through the tutorials I've only seen dialogs including an address bar or ...
me.at.coding's user avatar
  • 18.5k
0 votes
0 answers
65 views

I'm currently developing a task-pane based Word web add-in. However, I'm encountering an issue when I try to sideload the add-in. The add-in shows a persistent loading screen (see attached image). I'm ...
Abhishek Katariya's user avatar
0 votes
0 answers
50 views

I am trying to let an algorithm automatically Track Changes in a Word Document. In this Case I want it to correct a string to in Track Changes Mode. However, the Track Changes Mode is not working as ...
WordAddinCreator's user avatar
2 votes
1 answer
216 views

Outlook on Windows only uses the runtime JS file defined in the manifest for event-based add-ins. How do you import and use msal-browser in this file without using node.js? I am aware that import is ...
Markus Gruber's user avatar