office-addins

Outlook web add-in manifest change to support mobile devices (mobileFormFactor) installation fails

无人久伴 提交于 2019-12-01 13:39:07
问题 I'm trying to enable outlook web add-in for mobile by making below changes in manifest file but the installation fails and throws below error. Error Message: Manifest file: <?xml version="1.0" encoding="UTF-8"?> <!--Created:ce44715c-8c4e-446b-879c-ea9ebe0f09c8--> <OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:mailappor="http://schemas

VB macro or office addin for mac

送分小仙女□ 提交于 2019-12-01 12:48:10
Currently we developed a VB macro for word. While we tried to use it on mac it failed with message "VB Macro not supported in mac". Is there a way to c# office add-in for mac? My requirement is to have a simple utility to add comments(read from user) to the selected text in the current word document. Also need the functionality of the OpenFileDialog. Mac Office does not (i.e. no longer) support COM/VBA automation. This means that you won't be able to use code from your existing Windows add-in. In order to automate Mac Office you would have to make use of Automator Actions. I am not very

How to specify exact version of Office.js used?

纵然是瞬间 提交于 2019-12-01 11:44:41
问题 We're running an Outlook add-in and it looks like Microsoft have updated the version of Office.js from 16.00 to 16.01 : outlook:{ios:"16.00",mac:"16.00",web:"16.01",win32:"16.02"} (via https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js) One of the changes looks to be additional verification to the abstraction of postMessage ensuring that the domain (including subdomain) of the child / parent are the same. Because we host our add-in and central auth server on different subdomains and

Set CustomProperties on appointment for all attendees

此生再无相见时 提交于 2019-12-01 04:20:28
tl;dr When setting CustomProperties to an appointment that has attendees, only the appointment for the organizer gets the CustomProperties . The properties do not propagate to the appointments of the other attendees. Longer version When we create an appointment with multiple attendees and then log in as each attendee, we notice that each ItemId is different. So, it appears that each attendee in a meeting gets their own copy of an appointment. (Would really like someone to confirm this is true). However, when setting a custom property from our add-in (using the Outlook JavaScript API), only the

Launching WPF windows from an Office add in

女生的网名这么多〃 提交于 2019-12-01 04:14:48
I have created an office add-in that holds an instance of a WPF Application. When the user clicks buttons on the add-in, I launch different windows by doing the following: MyViewModel viewModel = new MyViewModel(string infoFromOffice); MyWindow view = new MyWindow(); view.DataContext = viewModel; wpfApp.Run(view); In constructing view models before my call to wpfApp.Run() I hit probelms with the current SynchronizationContext later on. The answer here explains why. Is there a better way of launching WPF windows from an office add-in? Arthur Nunes I've never created an Office add-in, but I have

Set CustomProperties on appointment for all attendees

浪子不回头ぞ 提交于 2019-12-01 01:45:18
问题 tl;dr When setting CustomProperties to an appointment that has attendees, only the appointment for the organizer gets the CustomProperties . The properties do not propagate to the appointments of the other attendees. Longer version When we create an appointment with multiple attendees and then log in as each attendee, we notice that each ItemId is different. So, it appears that each attendee in a meeting gets their own copy of an appointment. (Would really like someone to confirm this is true

Office add-in with both taskpane and content?

随声附和 提交于 2019-12-01 01:14:46
I spent all night looking this up and can't find it. Is it possible to have an Excel/Office add-in that has both content and taskpane components? Really, I want a content app, but I want extra options/buttons in the ribbon and taskpane that will trigger different actions/changes in my content app. Whenever I try to add the VersionOverrides xml node to my manifest on a content app, it always fails. None of my buttons show up. All the examples I can find that work have the namespace [...]/taskpaneappversionoverrides . I've tried changing it to [...]/contentappversionoverrides but that doesn't

Office Web Add-ins - Internal error when saving settings

岁酱吖の 提交于 2019-12-01 01:08:42
I'm getting an failure when trying to save my document settings. The message is the following: {"name":"Internal Error","message":"An internal error has occurred.","code":5001} My code: Office.context.document.settings.set('token', token); Office.context.document.settings.set('email', email); Office.context.document.settings.saveAsync(function (asyncResult) { if (asyncResult.error) { displayError(asyncResult.error.message); } }); The problem revealed when I reinstalled my OS (Windows 10) and does not exist in Office for Mac and Web. It happens both on PowerPoint and Word. Maybe it's something

Launching WPF windows from an Office add in

≡放荡痞女 提交于 2019-12-01 00:29:02
问题 I have created an office add-in that holds an instance of a WPF Application. When the user clicks buttons on the add-in, I launch different windows by doing the following: MyViewModel viewModel = new MyViewModel(string infoFromOffice); MyWindow view = new MyWindow(); view.DataContext = viewModel; wpfApp.Run(view); In constructing view models before my call to wpfApp.Run() I hit probelms with the current SynchronizationContext later on. The answer here explains why. Is there a better way of

How do I release an Office Add In to the Windows Store

﹥>﹥吖頭↗ 提交于 2019-11-30 21:58:46
问题 I've created an office add in using Visual Studio 2015. The add in works perfectly with MSProject in debug mode. I've published the add in following the instructions here. So far so good. Now I'd like to release it to the Microsoft Windows Store. I've logged into the Seller Dashboard and I pretty much fall at the first hurdle. It asks for the app package manifest file. TBH I'm not sure which file it wants exactly, so I tried xxx.OfficeAddin.vsto file in the root of the "publish" directory xxx