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…
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 =…
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…
Unable to Deploy Add-in in Admin Center After Adding SSO Code
I created a Word add-in that requires SSO for necessary permissions. When I tested it in Word online, I successfully added my manifest without errors, and the functions worked correctly. However, upon uploading my manifest file to the Microsoft 365 Admin…
Handling office.js worksheet import issues with "extension hardening" level 2
Hello, we stumbled upon a problem with our Excel Add-in recently and are a little stumped. We are creating excel worksheets using Excel.createWorkbook() and insertWorksheetsFromBase64() to import data from a third party API into excel. For security…
Access denied when trying to remove Outlook Add-in
I have an Outlook Add-in that has been approved by my organisation. I can add it. However, when I removed it within outlook it says there was difficulty removing the Add-in. The actual response I can see is a 403 access denied error. Is it possible that…
Issue with Appearance Detection (dark, light, system) in Outlook Desktop (MacOS) Using Office Add-in API
Problem with Office.context.officeTheme Not Detecting Appearance Settings in Outlook Desktop (MacOS) I am experiencing an issue with the Office.context.officeTheme API when trying to detect the theme (light or dark) in my Outlook add-in running on…
I'm not able to access create visual on page object as mentioned in document: https://learn.microsoft.com/en-us/javascript/api/overview/powerbi/create-add-visual
https://learn.microsoft.com/en-us/javascript/api/overview/powerbi/create-add-visual I'm referring above document and below is my code and error: My Error: Error adding visual to report: Error: createVisual method is not available on the page object…
Integration Outlook (new) Calendar / React application
Good Afternoon, I need to integrate new Outlook Calendar with my react application. What I want to do is to open the 'create Calendar' in my app with some data prefilled. This is working correctly on web client…
editor.disableReadOnlyMode( 'feature-id' ); is not working in DecoupledEditor
Hi! The question is simple. This works: <script src="~/js/ckeditor5-build-classic/ckeditor.js"></script> <textarea id="editor_middle">@Model.Description</textarea> ClassicEditor .create(…
Fullstack developer as frontend developer
Hi, Can a fullstack developer work as a frontend developer? Regards Usman Awan
Outlook add-in Offline capabilities
Hi, our add-in works on ItemSend event and performs some recipient validation. I notice that when we go offline, in all clients except new Windows desktop client, the not reachable addin blocks the email upon clicking Send. On mac Send is disabled. …
Can a SAS URL for a private Azure Blob be used in a compare API, or are there alternative solutions?
I currently want to use this API to compare it with a file stored in Azure Blob, but mine is a private blob. So, if I create an Azure Blob SAS URL for the private blob endpoint, can it be used in this compare API? Or is there any other way?
how to share a calendar in organization level
I create a web app which facilitates employee recruitment 2. i have 2 roles in that app recruiters and panel members 3. recruiters are the employees that select candidates and schedules interview and selects which panel member to assign. 4. panel…
nesting scripts
Hello - I am trying to create an extension - it will open in the browser like a webpage and after the directional tab has been selected the page referencing the tab opens inside an iframe. All of that is working good. However, a couple of the tabs are…
Questions about office addins
Hello, I'm trying to install the @microsoft/office-js tried with 'npm i @microsoft/office-js' but when importing import * as Excel from '@microsoft/office-js/excel'; import { Office } from '@microsoft/office-js'; to my js file getting error …
Nested App Authentication and makeEwsRequestAsync()
Hi, I'm looking to upgrade to NAA some of our legacy Outlook add-ins that use EWS and makeEwsRequestAsync. Assuming the above calls the getCallbackTokenAsync internally (?), is there a way to instruct it to return a new kind of token or the only way…
Clarification of request context and event listeners
Hi, I am currently building an Excel add-in and I am looking for some clarification on how the Excel.RequestContext object works, particularly with relation to bindings and event listeners. In my add-in, I have a 'table' - a collection of ranges…
Fluidframework/azure-client token provider
I'm testing fluid relay for the first time, on a sample dice roll. The deployment is not working showing timeout errors, how to fix the error? and also I hope someone can answer these doubts If more than 150 users are available, how will it be…
Detecting a relative range name; difference between VS code and Script lab
I am updating some of my code of my Name Manager add-in. I've discovered something odd. Background: If you define a name in Excel like so: Select cell A2, now define this name: Name: test refers to: =Sheet1!A1 the cell the name points to depends on the…