Questions tagged [office-addins]

For the new Add-ins for Office please also add the office-js tag to your question. Microsoft Visual Studio provides project templates you can use to create application-level add-ins for Microsoft Office 2010 and Office 2007. You can use add-ins to automate Office, extend Office features, or customize the Office user interface.

Add-ins for Office are a new way to create extensibility solutions for Microsoft Office. These Add-ins can be run as a taskpane on the side or inside the document dependent on the application.

Visual Studio Tools for Office (VSTO) is a set of development tools that allows the development of Office automation solutions (add-in or document customization), using .NET and the Visual Studio IDE.

Important links:

3343 questions
0
votes
1 answer

Error: The section VersionOverrides 1.0 of the manifest is not valid. A Child node of the node VersionOverrides named webapplicationinfo is not valid

I have an outlook addin working as expected on all platforms except the following. Outlook 2016 (16.0.5257.1000) MSO (16.0.5366.1000) 64 bits Exchange server 15.1 build 1713.5 When I try to install the addin - I get the error below Error: The…
0
votes
1 answer

Office.context.mailbox.item.notificationMessages disappear on web app, on reload or messages switching

How to persist notifications on outlook web application I'm using the following function. Message persists on the Outlook Desktop application, but on the Outlook web application disappears when switching between email messages or reloading the…
0
votes
1 answer

Unable to load Officejs add-in from App store

This error **Add-in Error** We couldn't connect to the 'Office Store' catalog server for this add-in. is shown when user tries to access the add-in. See image Steps to reproduce: Open new excel file Download the app from app-store. Also tried…
0
votes
1 answer

Add ribbon button for Outlook addin in calender-view

Is it possible to add a ribbon button in calender-view for Outlook when an appoinment is selected? Creating a addin with javascript (yo generated)Like the Teams addin does Button in calendar I have search but couldn't find any example of this. Right…
0
votes
1 answer

Can I get the style object and Get the property of it?

I wanted to use javascript addin's to get the style object and get some proerties of it for example maybe paragraph property and get the indentation of this specific style but I cant get to the style object and get the property of it. I know that…
0
votes
1 answer

How to change getVisible in Ribbon XML if an event happens in thisAddin.cs

So, I've written a Word VSTO Add-in that won't let some users save, print, or change the document based on the document and the user's privileges (I have used DocumentOpen, DocumentBeforePrint, and DocumentBeforeSave Events). The Add-in works…
0
votes
2 answers

Office.context.mailbox.item.dateTimeCreated is giving undefined

I'm trying to use Office.context.mailbox.item.dateTimeCreated and used 1.1 office.js version but it is giving me undefined I tried changing version in CLI to 1 and 1.3 but it's giving the same. This is my javascript script tag
0
votes
0 answers

How to develop calendars for Microsoft project

Microsoft project currently supports default calenders (Gregorian, Hijri, ...). You can switch calendars from: File > option > display > calender type When the calendar changes, all months and weekday names change according to the selected calendar…
Amir
  • 1
  • 2
0
votes
0 answers

What is causing this RichApi error when trying to use insertInlinePictureFromBase64()

I am trying to replace the token in the word document with the image i have in base64. But i get an unhelpful error Error Code Here is the function thats not working async function insertImage(token, image) { console.log("adding image"); await…
0
votes
0 answers

office js shared runtime where to find logging statements and stacktraces? Not in browser console

I am exploring the office-js API. https://learn.microsoft.com/en-us/office/dev/add-ins/excel/custom-functions-debugging outlines that for a shared js browser runtime logs or stack traces should be explorable from the browser developer…
Georg Heiler
  • 16,916
  • 36
  • 162
  • 292
0
votes
1 answer

VSTO Outlook: Detect left mouse up in active window

I would like to know how can i detect left mouse up in the active window. I googled but i was not able to find anything. I don't see any mechanism to subscribe to that event in the active window. Maybe using Windows API functions but how?
Willy
  • 9,848
  • 22
  • 141
  • 284
0
votes
1 answer

VSTO Outlook: how to know which scaling factor is using Outlook

Is there any way in VSTO to know what is the scaling factor that outlook applies to its font in the UI every time user changes screen resolution or scale from display settings in the OS? I see that when you change screen resolution or scale from the…
Willy
  • 9,848
  • 22
  • 141
  • 284
0
votes
1 answer

Excel Add-in Dialog open gives ""An internal error has occurred." error

I have an Excel Add-in using shared runtme which has some ribbon buttons and one of the ribbon button is used to open a dialog. However if user clicks this button frequantly, I am getting this error ""An internal error has occurred." and no page is…
0
votes
1 answer

How can I subscribe to an Open event of a Word Backstage using a Ribbon (Visual Designer) object?

I want to add a button to the Word Backstage. That button is supposed to be enabled/disabled only when one or more Word documents are open in Word. Is there some event I can use to set the state of my Backstage controls the moment the Backstage is…
AxD
  • 2,714
  • 3
  • 31
  • 53
0
votes
0 answers

Uploading Add-In to 365 Admin Center - Deployment Failed - Next Steps?

Update: We tried uploading the manifest from here --> https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Samples/excel-shared-runtime-scenario which has all public URLs and works "as is" during my test sideload and is direct from Microsoft…
1 2 3
99
100