1,067 questions with Microsoft 365 and Office | Development | Office JavaScript API tags

Sort by: Updated
3 answers

How to get Json Data from an external WEB API to an JQUery autosearch text box end point

Hi everybody: I have an external minimal Web API that produces a JSON object ( array) as per below. app.MapGet("/AsyncAutocompleteErf/{search}", async (IErvenRepository request, string search) => { var data = await…

Developer technologies | ASP.NET | ASP.NET Core
Microsoft 365 and Office | Development | Office JavaScript API
Developer technologies | ASP.NET | ASP.NET API
asked 2025-01-10T16:24:18.3033333+00:00
Jose Daniel Navarro Brito 61 Reputation points
commented 2025-02-07T08:40:44.0433333+00:00
Anonymous
0 answers

Detecting CRLF with Javascript

Hello everyone and thanks for the help in advance. I am working with an Asp.Net Core page that accepts the data into a <textarea> from a QR code scanner. When the scanner sends the data to the page, there is clearly some time of hidden line break…

Microsoft 365 and Office | Development | Office JavaScript API
asked 2025-02-06T20:32:23.3366667+00:00
Kmcnet 1,066 Reputation points
2 answers One of the answers was accepted by the question author.

Can you differentiate between shared mailbox and delegate mailbox using OfficeJS API or Microsoft Graph API?

Is it possible to distinguish between shared mailbox or delegate mailbox using OfficeJS API or Microsoft Graph API?

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft Security | Microsoft Graph
asked 2023-11-24T09:28:41.3733333+00:00
Diksha Yadav 101 Reputation points
accepted 2025-02-06T11:48:08.2066667+00:00
Diksha Yadav 101 Reputation points
0 answers

CRM 2011 Dialog Code and Modern Browser Issues

CRM 2011 uses window.showModalDialog and window.showModelessDialog, which don't work in modern browsers like Chrome and Edge. The code also uses window.parent, which should be updated to window.postMessage. Questions: How to replace…

Windows for business | Windows Client for IT Pros | Devices and deployment | Set up, install, or upgrade
Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
asked 2025-02-05T13:06:41.0566667+00:00
Khaled, Majed 0 Reputation points
1 answer One of the answers was accepted by the question author.

Handling Input from QR Code Handheld Scanner

Hello everyone and thanks for the help in advance. I am developing a MVC page that accepts input from a handheld QR code scanner. What I would like to accomplish is to allow rapid input by setting the focus of the cursor and then using an onChange…

Microsoft 365 and Office | Development | Office JavaScript API
asked 2025-01-20T20:26:08.3366667+00:00
Kmcnet 1,066 Reputation points
accepted 2025-02-04T16:44:20.7733333+00:00
Kmcnet 1,066 Reputation points
0 answers

Could not load file or assembly 'Microsoft.Diagnostics.FastSerialization', An operation is not legal in the current state. (0x80131509

I have C# project that generates a DLL and exposes static methods to JavaScript (using Microsoft.JavaScript.NodeApi). The DLL exported methods launches an ETL collection. When this static method is called from C#, it works as expected. But calling this…

Microsoft 365 and Office | Development | Office JavaScript API
asked 2025-01-31T21:53:56.9633333+00:00
Raghu M 0 Reputation points
edited the question 2025-02-03T09:09:28.62+00:00
Anonymous
0 answers

The script colors and how do they affect the ode outcome.

Hi I've just started learning to code, I have 200/2499XP, so yeh I'm fairly new. I'm developing a web page, I've written index.html, main.css and I'm working on app.js where I'm trying to create a .btn to switch the page theme from light to dark etc. I'm…

Microsoft 365 and Office | Development | Office JavaScript API
asked 2025-02-01T01:48:34.99+00:00
William Hay 0 Reputation points
0 answers

Conditional disabling in datasheet view in sharepoint list

I created a datasheet view in sharepoint list. Now in this datasheet view I want to disable one column’s cell based on another column’s cell value. I thing using Java script is only solution for this. Could you help me how I can do that?

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | SharePoint | For business | Windows
asked 2025-01-27T06:03:24.89+00:00
ameneh maleki 46 Reputation points
commented 2025-01-31T07:26:09.7166667+00:00
AllenXu-MSFT 24,951 Reputation points Moderator
0 answers

Office script to create a new date column

I need to reference a date column within an excel file, but create a new date column that is minus one day from the original referenced date column using office scripts in excel. I have this script going so far: function main(workbook:…

Microsoft 365 and Office | Development | Office JavaScript API
asked 2025-01-30T17:16:10.2966667+00:00
Cody Talley 0 Reputation points
0 answers

Script for Interface

Hello, I have virtual machine in azure with network interface, where I also added several additional IP addresses: For example 10.1.1.1, 10.1.1.2, 10.1.1.3 ... I have situation where I need to change IPs for this interface and do it quickly, Is it…

Microsoft 365 and Office | Development | Office JavaScript API
asked 2025-01-24T11:03:59.9333333+00:00
immm 20 Reputation points
1 answer

Alternative way for the issue "Permissions Policy Violation: Microphone Not Allowed in Outlook Add-In"

Our team has encountered an issue with enabling the microphone while developing  outlook add in that has speech recognition as main feature. It appears that a recent update to Outlook on the web is blocking the usage of the microphone within extensions.…

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Development | Other
Outlook | Windows | Classic Outlook for Windows | For business
asked 2024-05-31T13:36:43.1133333+00:00
Anonymous
answered 2025-01-22T13:23:43.91+00:00
Müller, Martin 0 Reputation points
1 answer

disable the column based on another column value in datasheet view in sharepoint list

Hi I used below code to disable some columns in datasheet view in allitems.aspx in sharepoint list: <script> var updateViewerFields=[“column1”,”column2”,”column3”]; (function updateView() {     var overrideContext = {};    …

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | SharePoint | For business | Windows
asked 2025-01-20T10:32:21.4866667+00:00
ameneh maleki 46 Reputation points
edited a comment 2025-01-22T07:24:43.74+00:00
Ling Zhou_MSFT 23,620 Reputation points Microsoft External Staff
1 answer

When will the new Outlook for Mac support Office Javascript API v1.14?

Our addin doesn't appear in new Outlook for Mac v16.92. We suspect it could be because Outlook for Mac only supports Office Javascript API up to v1.13 but our addin has its MinVersion set to 1.14 in the manifest. Plus, we enabled connected experiences in…

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Install, redeem, activate | For business | MacOS
Outlook | Windows | Classic Outlook for Windows | For business
asked 2025-01-16T16:36:29.49+00:00
Mark 0 Reputation points
edited a comment 2025-01-22T06:41:16.73+00:00
ChristyZhang-MSFT 26,126 Reputation points Microsoft External Staff
0 answers

Can I use the Excel JavaScript API to a header image in the page layout?

I am trying to add a watermark using the header in the page layout of an Excel sheet. In API reference for Excel.HeaderFooter class there are properties for each header and footer section that can be set with the API. The API reference for the header…

Microsoft 365 and Office | Development | Office JavaScript API
asked 2025-01-21T20:04:26.7833333+00:00
Ian 0 Reputation points
1 answer One of the answers was accepted by the question author.

Adding custom hover text using json to a MS List column

I found the below code online, and it is just what I've been looking for for some time. The problem I'm having with code is that if I change the name of the column to something other than "Description" the hover action won't work. It only works…

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Microsoft 365 and Office | SharePoint | Development
asked 2025-01-16T10:05:52.3666667+00:00
00100627 20 Reputation points
commented 2025-01-21T05:13:57.7533333+00:00
00100627 20 Reputation points
1 answer

Some extensions in my On-Prem Azure DevOps system are not visible

Hello Everyone, I have a problem with my Azure DevOps Server 2022.0.1 system. Some features or extensions are not visible on the front end of the tool. When you go to Project->Then queries, some commands and extensions are not visible. This is also…

Microsoft 365 and Office | Development | Office JavaScript API
Windows for business | Windows Server | User experience | Other
asked 2025-01-20T19:23:06.8133333+00:00
Tabotabo, Carl Christian 0 Reputation points
answered 2025-01-21T04:33:30.16+00:00
VarunTha 14,850 Reputation points Microsoft External Staff Moderator
0 answers

PowerPoint Office JS CustomXML API does not return all custom xml files

The PowerPoint javascript api property PowerPoint.Presentation.customXmlParts returns only part of the custom xml files. For example, all custom xml files saved by SharePoint are missing. Attached Script lab code below. In attachment is also image…

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Development | Other
asked 2025-01-20T10:52:37.18+00:00
Mikko Luomanperä 0 Reputation points
0 answers

Make MS Clarity track landing page variants

I'm using MS Clarity to track traffic on an Unbounce landing page. I have set up an a/b test on the landing page so there are two variants A and B. Currently Clarity only tracks the single page as if there aren't two variants. I need to know what I need…

Microsoft 365 and Office | Development | Office JavaScript API
asked 2025-01-19T02:49:12.8133333+00:00
Claire Boston 0 Reputation points
2 answers One of the answers was accepted by the question author.

Issue with getAttachmentContentAsync in Outlook Event-based Add-in

I have developed an event-based Outlook add-in to handle the OnMessageSend event. My goal is to access the attachment content when the event is triggered. The getAttachmentsAsync method works fine; I can retrieve details like attachment name, ID, and…

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Development | Other
Outlook | Windows | Classic Outlook for Windows | For business
asked 2025-01-08T04:52:41.3766667+00:00
Diluka Hewage 76 Reputation points
edited the question 2025-01-17T05:20:47+00:00
Joan Hua-MSFT 5,300 Reputation points Microsoft External Staff
2 answers

Validate file content type for txt, log, JSON file in C#

public static bool IsFileValid(IFormFile file) { using (var reader = new BinaryReader(file.OpenReadStream())) { var signatures = _fileSignatures.Values.SelectMany(x => x).ToList(); // flatten all signatures to single list var headerBytes =…

Developer technologies | ASP.NET | ASP.NET Core
Microsoft 365 and Office | Development | Office JavaScript API
Developer technologies | .NET | Other
Developer technologies | ASP.NET | Other
Developer technologies | C#
asked 2025-01-08T17:16:17.0733333+00:00
Surajit Kumar Shah 0 Reputation points
commented 2025-01-09T01:01:29.8133333+00:00
SurferOnWww 4,721 Reputation points