office add-ins development
363 TopicsOutlook Calendar: display event times in user's timezone in edit view
I would like to see the event times in my timezone in Outlook Calendar all the time regardless of the timezone used when event was created. For example: Event is created with UTC timezone but my timezone is UTC+2 (this can happen when using different integrations or calendar syncs which create events for me in my calendar) Current behavior: Open Outlook Calendar - event times in UTC+2 Click on the event and a little popup is shown - event times in UTC+2 Click edit and the short form for editing is displayed - event times in UTC+2 Click on more options and the full form is displayed - event times in UTC14KViews115likes30CommentsAbility to Assign Custom Properties or Unique IDs to Individual Cells
Summary I'd like to request support for assigning custom metadata — such as unique IDs or arbitrary key-value pairs — directly to individual cells in Excel using the Office.js API. Why This Matters Currently, developers must rely on workarounds like named ranges, hidden metadata sheets, or cell notes to simulate per-cell identifiers. These approaches are either limited, fragile, or not scalable for large applications. Native support for cell-level metadata would unlock powerful use cases: Dynamic form builders Cell-level validation engines Workflow tracking Data lineage and audit trails Integration with external systems via stable cell references Proposed API Concept range.customProperties.add("id", "cell_001"); const id = range.customProperties.getItem("id").value; Or even: range.metadata = { id: "cell_001", status: "approved", validator: "admin" }; Benefits Eliminates reliance on fragile naming conventions Enables scalable, structured metadata management Improves developer experience and app robustness Alternatives Considered Named ranges: limited and global scope Notes/comments: visible to users, not structured Hidden metadata sheets: hard to maintain Custom XML parts: complex and not cell-specific Request Please consider adding support for cell-level metadata or custom properties in a future version of Office.js. Even a lightweight key-value store per cell would be a game-changer.571Views98likes2CommentsOffice.js API — Open OneDrive Files in Current Word/PPT Instance
Currently, Office.js does not provide an API to directly open a OneDrive (or SharePoint Online) file in the current Word/PPT desktop instance. For add-ins that integrate with external systems, this creates a significant limitation. Users often need to: Access Word/PPT documents stored in OneDrive/SharePoint directly from an add-in. Ensure the file opens seamlessly in the same Word/PPT session, without forcing them to manually download or open a new instance. Why this is important Improves user workflow and productivity. Essential for add-ins that sync or integrate with cloud storage and external systems. Avoids user confusion from multiple Word windows or manual file handling. Requested capability An Office.js API such as: Office.context.document.openFileFromUrl(fileUrl, options); where fileUrl is a OneDrive/SharePoint URL and options could specify whether to open in the current instance or a new one. This would align Office.js capabilities more closely with real-world workflows and reduce friction for both developers and end-users.Office JS Save and Close methods for Word, Excel and PowerPoint
Hello! These are two features which we are extremely interested in. I've been asking in many Community Calls but I haven't had any ETAs yet, so hopefully posting here helps. Please could we have a consistent method for Word, Excel and PowerPoint to save a file? Word and Excel have ‘context.document.save()’ and ‘context.workbook.save() but they lack similar options for behaviors (eg. skip the save dialogue). PowerPoint does not have context.presentation.save() yet. Please could we have an equivalent method for all three (Word, Excel, PowerPoint) with similar options/behaviors? This is really needed for developers. Please an ETA would be appreciated. Similar to the previous question, could we have an equivalent method for all three (Word, Excel, PowerPoint) to close files with similar options/behaviors? This is also really needed for developers. Please an ETA would be appreciated. Thank you so much in advance!7.3KViews79likes11CommentsAdd viewportChanged event to Word JavaScript API
In Word add-ins, we often need to react to changes in the user's viewport (scrolling, zooming, etc.). Currently, there's no event to detect when the visible pages change. A viewportChanged event on Word.Pane or Word.Window would allow developers to optimize performance and create dynamic experiences based on what the user is viewing.211Views72likes0CommentsAllow PDF/A as target for getFileAsync
The https://docs.microsoft.com/en-us/javascript/api/office/office.document?view=word-js-1.3#getFileAsync_fileType__callback_-API already supports PDF export. Unfortunately, the file format is PDF 1.8 whereas we need a PDF/A compatible export. It is possible to specify PDF/A when saving the PDF manually through the "Options" dialog in the Office application. Unfortunately, there is no (documented) way to specify the type of PDF in the getFileAsync-API. It would be great, if the API is expanded so that PDF/A compatibility can be requested as well (either with a new file format flag or as an option in the optional GetFileOptions-object).3.2KViews39likes4CommentsWord JS API - Add checkbox and dropdown content control
Currently only rich text content controls are available through Word API (https://docs.microsoft.com/en-us/javascript/api/word/word.contentcontrol?view=word-js-preview#word-word-contentcontrol-type-member) Could you please add also other types of content control? In particular in my company we need DropDown and CheckBox.2.9KViews30likes14CommentsProvide support for Addin SSO implementation for Outlook for mobile as well
At the moment, SSO implementation using OfficeRuntime.Auth.getAccessToken() is supporting only for OWA, Desktop and macOs. We are facing lot of issues when Addins are supported for mobile platforms and use SSO as authorization process. we are having different auth code flow implementation for mobile devices but when come to Intune management , we are facing a problem because of Device ID claim is not in access token.1.5KViews29likes3CommentsNative Linux Office365 Apps
This is something that has been raised in the past on other platforms: https://answers.microsoft.com/en-us/msoffice/forum/all/office-365-on-linux/262e3066-a71e-4af7-9600-af9f8d0746b6 Opening it again here as it would be really nice to have linux native versions of Word, Excel, Outlook etc. More and more MS software is getting ported to Linux at the moment: Teams, VSCode, MSSQL etc. We're standarised on MSOffice here in work, but linux is much smoother for website development. I'm currently running software through wsl, but that is slow. Would be lovely to use Fedora or Ubuntu and be able to use Office365 on there on the odd occaisions I use them.13KViews27likes8CommentsOutlook Addin - enable Clipboard API
Outlook Addin currently does not support Clipboard API, because containing iframe does not have appropriate permissions. Currently the only other option to copy text is to use deprecated document.execCommand("copy"). For more information, please see this issue: https://github.com/OfficeDev/office-js/issues/19912KViews25likes4Comments