office-js

Powerpoint content add-in on Windows just show an image in slide show mode instead of a web app

只愿长相守 提交于 2019-12-03 20:39:36
I developed a powerpoint content addin and it works fine on Mac. Then I test it on Windows and found out that when I go to slide show mode, Powerpoint just show an image (a snapshot at the time entering to slide mode) instead of a web app. There is no interaction to the addin on slide show mode, clicking on it just make it move to the next slide. The addin works fine in edit mode though. Strangely, this behaviour is not the same for all Powerpoint (2016) on Windows. I tested on another Windows laptop and everything works just fine. So I wonder if there is a settings or something for this, but

`context.document.body.insertOoxml` breaks documents, crashes word

点点圈 提交于 2019-12-03 20:32:40
I know this is not a question, but I was sent here by Rick Kirkham from here , and apparently asking on SO is the way to file bugs for Microsoft products :-p When I use insertOoxml with the 'replace' parameter, Word will insert extra content at the end. For example, when using the following code in Script Lab , with a new, empty word document: $("#run").click(run); function run() { Word.run(function (context) { var ooxml = context.document.body.getOoxml(); return context.sync().then(function () { console.log(ooxml.value.length); context.document.body.insertOoxml(ooxml.value, Word

Word insertOoxml method returning Error: Unknown for all input

守給你的承諾、 提交于 2019-12-03 17:16:23
I have an existing Word Add-In solution that has been working well for a long time that now cannot insert OOXML content into Word documents. Trying to break this down I can't get the insertOoxml method to work under any circumstance. To reproduce: await Word.run(async (context) => { context.document.getSelection().insertOoxml(theOoxml, 'Start'); await context.sync(); }); Where theOoxml can be any valid Ooxml string. The reference example I have been using is: <pkg:package xmlns:pkg="http://schemas.microsoft.com/office/2006/xmlPackage"> <pkg:part pkg:name="/_rels/.rels" pkg:contentType=

How to send nested attachments?

心已入冬 提交于 2019-12-03 08:28:59
Stuck here writing JS code to send out an email via REST within a custom Outlook add-in. Scenario is following report \ \---- another message (item attachment) \ \------- attachment (file attachment) In words, I am sending a new report message which includes another message as an Item Attachment (that works fine). But now, the problem is that, when sending with another message that has attachments, then this fails. Opening the report which has the other message attached doesn't show the attachments. Query is POST https://outlook.office365.com/api/v2.0/me/sendmail Returns 202 Accepted Body is

How to test Office Add-ins in the online version of Word and excel?

强颜欢笑 提交于 2019-12-03 07:30:20
I am developing an Task Pane Office Add-in using the Office JavaScript APIs in Visual Studio. When you run the application it runs in the desktop client version of Office. The Office Store requirements states Your Add-in for Office must be fully functional with the supported operating systems, browsers, and devices for Office 2013 and Office Online. So I need to test it in the Office online versions too. The problem is I am unable to find a way to load the application in Word/Excel/Powerpoint Online and test it and I also dosen't have a SharePoint setup where I can publish the app test it and

Office add-in for Word desktop only

末鹿安然 提交于 2019-12-02 20:50:04
问题 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.

Publish Excel Add-in via FTP

你说的曾经没有我的故事 提交于 2019-12-02 19:01:04
问题 I'm playing with Excel Add-ins, and I'm not a specialist, so having read the documentation, I still find it complicated to publish and install it. Basically, all I did was the very basic Excel Add-in described in the documentation and now I'm trying to figure out how to install it in Excel. I see everywhere that this is vrey simple, all you have to do is to upload the XML manisfest file, etc. but using Visual Studio, I chose publish via FTP and I get 3 folders in my website: Content Functions

In Excel Online, the framework is not passing the “et” license token parameter for paid and trial Add-ins

こ雲淡風輕ζ 提交于 2019-12-02 18:23:04
问题 I don't know if this is related to recent Excel online query string param discussions so I'm starting a different thread. The et param is being passed by the Excel client but not in Excel online. I have tried both paid and trial (within trial period) Add-ins. It may be related to this thread also Word online not sending et parameter when user accesses add-in as trial 回答1: This is a bug of Addin Commands and has been fixed (validation with "Compare and Merge" and "Range Tracker"). Please try

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