office-addins

Continuing issues uploading Word add-in project manifest to AppSource

无人久伴 提交于 2019-12-02 20:26:46
问题 I'm going to create another question here because this is the only way I've been able to get meaningful responses from the Microsoft Office support team. Please see this question for the last question on this subject I asked, the response, and my questions in response to the response (which have yet to be answered.) I'm trying to upload an existing Word add-in project to App Source. There is currently a submission for an app which we've created, existing here: When I click 'continue

How to insert document page number in a header with word addin?

爷,独闯天下 提交于 2019-12-02 16:21:38
问题 I know how to insert footer and header, but I wonder how can I insert page number with with my word addin? 'Word.run(function (context) { var mySections = context.document.sections; context.load(mySections, 'body/style'); return context.sync().then(function () {var myFooter = mySections.items[0].getFooter("primary"); myFooter.insertParagraph(footerText.value, "End"); return context.sync().then(function () { console.log("Added a footer to the first section."); }); }); ' 回答1: I finally found

Word online not sending et parameter when user accesses add-in as trial

早过忘川 提交于 2019-12-02 15:13:21
问题 We are having a problem with our add-in, which is a Word only task pane add-in with add-in commands. The add-in has passed the review and is published in the store. We can successfully sign up for a trial in the Office store and get the instructions on how to activate the add-in a document. The add-in can be added to a document, at least to the point of showing the add-in command menu and button. However, when we try to start the add-in (as in opening it's task pane window by clicking the

Excel add-in on startup

☆樱花仙子☆ 提交于 2019-12-02 11:39:27
问题 I am creating an add in for Microsoft Excel using Visual C#. When I first created the solution, it included a function called ThisAddIn_Startup. I added the following code to this function: private void ThisAddIn_Startup(object sender, System.EventArgs e) { MessageBox.Show("Startup"); } The message box does not show upon installing the add in and starting Microsoft Excel. Indeed, NOTHING in this function works when the add in loads. This is literally the only change I've made to this new

Continuing issues uploading Word add-in project manifest to AppSource

故事扮演 提交于 2019-12-02 09:44:43
I'm going to create another question here because this is the only way I've been able to get meaningful responses from the Microsoft Office support team. Please see this question for the last question on this subject I asked, the response, and my questions in response to the response (which have yet to be answered.) I'm trying to upload an existing Word add-in project to App Source. There is currently a submission for an app which we've created, existing here: When I click 'continue submission' I see the following: When I click into 'Packages' I see the following: At no point am I prompted to,

How to insert document page number in a header with word addin?

时光毁灭记忆、已成空白 提交于 2019-12-02 09:18:09
I know how to insert footer and header, but I wonder how can I insert page number with with my word addin? 'Word.run(function (context) { var mySections = context.document.sections; context.load(mySections, 'body/style'); return context.sync().then(function () {var myFooter = mySections.items[0].getFooter("primary"); myFooter.insertParagraph(footerText.value, "End"); return context.sync().then(function () { console.log("Added a footer to the first section."); }); }); ' I finally found time to research and put this together. This code is written ScriptLab. Since ScriptLab complains about XML

Catch WindowTurnedToPage Event in a Visio AddIn project

倖福魔咒の 提交于 2019-12-02 08:27:50
I'm trying to execute some code when the user swap between the pages of a visio window. So i tried to catch the WindowTurnedToPage event, but it simply don't work. Other events from his family can be catched, and they respond when they should. But WindowTurnedToPage and BeforeWindowPageTurn don't respond. private void InternalStartup() { this.Startup += new System.EventHandler(ThisAddIn_Startup); this.Shutdown += new System.EventHandler(ThisAddIn_Shutdown); Application.Window.WindowTurnedToPage += new Visio.EWindow_WindowTurnedToPageEventHandler(Window_WindowTurnedToPage); } private void

Office add-in for Word desktop only

梦想的初衷 提交于 2019-12-02 07:59:17
I'm working on Word add-in and I use editing of content controls which is still not suported in Word online, I also use Binding.bindingDataChanged event which is also not supported in Word online. Without features that uses these capabilities the add-in is is not usefull at all for the users. I would like to submit the add-in to the Office store, but to make it available only in Word desktop version. For this purpose i have tried to use Requirement sets specification in the manifest xml file. I have ckecked requirement sets documentation page https://dev.office.com/reference/add-ins

(JavaScript API 1.3 for Office) Custom Properties GetItemOrNull

走远了吗. 提交于 2019-12-02 06:19:57
I've created this a couple days ago in which i needed help regarding how to add custom properties to a said document. First of all, I'm running Word 1701(7766.2047). Let's say I have a method In which I return a said custom property. First I'd check if the custom property has been created already. I would do this with a simple getItemOrNullObject(key) and.. If returns null Then simply create it AND return it Else return it It is of my understanding that I need to do a return context.sync().then for the object get actually loaded with data? Am I doing too much return context.sync() calls for

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

喜夏-厌秋 提交于 2019-12-01 13:55:29
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.microsoft.com/office/mailappversionoverrides/1.0" xsi:type="MailApp"> <!-- Begin Basic Settings: Add-in