Questions tagged [officedev]

This generalized tag is used for any MS Office related development. You can include this tag if you automate, extend or customize Office, create apps, COM libraries, dlls, add-ins, etc. It is expected that questions about Office development relate to specific programming problems.

Anything related to MS Office development can be tagged with the tag.

Consider adding the below tags as additional tags to your question or select more appropriate tags to the content of your question.

Additional resources

93 questions
6
votes
1 answer

Word Add-in CustomXMLParts data modelling and/or performance optimization

Environment: Mac 10.12.6, Word 2016 (16.11.1), @microsoft/office-js "^1.1.4" I was wondering if there were any guidelines or best practices in terms of how to use CustomXMLParts in order to maximize read/write performance, or if there is an 'ideal'…
SJoshi
  • 1,866
  • 24
  • 47
6
votes
3 answers

Microsoft Visual Studio Tools for Office. Is it worth using?

It seems like deployment of VSTO code is very cumbersome. My use case is I need to enforce a certain content structure in word. Am I better of doing it all in VBA?
joe
  • 16,988
  • 36
  • 94
  • 131
6
votes
4 answers

Uncaught ReferenceError: Type is not defined in sp.runtime.js

I am trying to use the taxonomy Picker example from Office PnP. I just want to bind one field to one managed metadata term. The errors I got are here: http://screencast.com/t/nOaTusUH4V The code I have is:
Luis Valencia
  • 32,619
  • 93
  • 286
  • 506
5
votes
2 answers

Create a folder in SP2013 using REST and HTTPClient

I am trying to create a folder in SP2013 using HTTPClient and REST. The following are the requirements & constraints on the application I need to create a folder in a 2013 document library using REST. CSOM is not allowed. The program must be a C#…
Knows Not Much
  • 30,395
  • 60
  • 197
  • 373
4
votes
0 answers

Using Office UI Fabric React components in ScriptLab

In a simple Test Web App I was able to create a UI Fabric React output by using imports like this: import React from 'react'; import ReactDOM from 'react-dom'; import { DefaultButton } from 'office-ui-fabric-react'; and rendering in…
Maarten van Stam
  • 1,901
  • 1
  • 11
  • 16
3
votes
2 answers

How to port existing vb .net office add-ins to work with office for mac?

I have an Office Word add-in that I wish to make it work with Office Word 2016 for Mac. I tried looking into official Microsoft documentation and could not find anything. I want to reuse as much code as possible while still having the extension to…
Mohamed Shakeel
  • 361
  • 1
  • 15
3
votes
2 answers

What is the best way to create user help documentation for an Excel VBA solution?

VBA solutions can vary widely in size. I would like to add user help documentation to all solutions but the level of effort to create and deploy the help needs to match the size of the solution.
Robert Mearns
  • 11,796
  • 3
  • 38
  • 42
2
votes
1 answer

How to verify existence of a table with a given ID in a word doc in C# VSTO 3

I want to check for the existence of a table with a given ID in a word document in C# (VS 2008) Visual Studio Tools for Office (version 3). Obviously I can iterate through the document's Tables collection and check every ID, but this seems…
cori
  • 8,666
  • 7
  • 45
  • 81
2
votes
2 answers

How to insert dropdown or checkbox in Excel using Javascript API?

I'm following the doc (https://dev.office.com/reference/add-ins/excel/excel-add-ins-reference-overview) to build an Excel add-in. The add-in needs to populate an Excel table column with either dropdown or checkbox for the user to select actions to…
Coffee Ocean
  • 109
  • 2
  • 4
2
votes
1 answer

Webhooks Sharepoint: Subscribing to Document Change

Are there Webhooks available for Sharepoint APIs which can be used to notify when there are changes in a document stored in Sharepoint.
2
votes
2 answers

Replacing part of Outlook client's window with a custom form

I am developing a VSTO application for Outlook client. I am trying have my form open in the part of the Outlook client window which is highlighted in red in the following image: I think I can't use the form regions because they replace the view for…
Ali
  • 133
  • 4
  • 12
2
votes
2 answers

Sharepoint Online Can't create DocumentSet with CSOM Microsoft.SharePoint.Client.DocumentManagement.dll

I am using the OfficeDev.Core to create DocumentSet "Folder" in sharepoint Online in a Provider Hosted Add-in in C#. I am using the lastest CSOM C# library for Sharepoint On line : Microsoft.SharePoint.Client.dll…
Tribaud
  • 41
  • 3
2
votes
3 answers

How to remove Outlook add in

I'm using Visual Studio 2015 community to create an Outlook add in via the Office Developer Tools When I run debug Visual Studio, it opens Outlook and I can see my plug in. When I close Outook and Visual Studio, and restart Outlook, I can still see…
MyDaftQuestions
  • 4,487
  • 17
  • 63
  • 120
2
votes
2 answers

Inserting svg in office-js

Background I am developing an Office add in using the Word Javascript APIs to insert some charts in the document. My Current approach is as follows: Generate SVG image in the task pane=> draw image on canvas with canvg => get canvas image as png =>…
2
votes
2 answers

In our library, how to tell webpack to skip dependencies?

We have a library that is traditionally client-side only. It uses HTTP Request (or several other dependency libraries) to make REST calls. When using the library, user will initialize with a particular request provider and off they go. We use…
John Liu
  • 1,334
  • 1
  • 11
  • 16
1
2 3 4 5 6 7