office-addins

Office.context.mailbox.item.body.getAsync() method does not work in outlook mac 2016

做~自己de王妃 提交于 2021-01-27 04:41:19
问题 In office 365 outlook add-in, Office.context.mailbox.item.body.getAsync() method does not work in outlook Mac . But it works fine in safari and chrome . office js reference is "https://appsforoffice.microsoft.com/lib/1/hosted/office.js" here is the code of add-in read app var _item = Office.context.mailbox.item; var body = _item.body; // Get the body asynchronous as text body.getAsync(Office.CoercionType.Text, function (asyncResult) { if (asyncResult.status !== Office.AsyncResultStatus

How to copy url to windows clipboard in office add-in?

陌路散爱 提交于 2021-01-07 01:06:07
问题 I am building an Office add-in to copy the URL of the opened Office document to the Windows clipboard. But it doesn't work. Please let me know what my code is wrong. Here's my FunctionFile.html for UI-less Office add-in. <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!--During development turn off caching--> <meta http-equiv="cache-control" content="max-age=0" /> <meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="expires" content="0" /> <meta http

How to copy url to windows clipboard in office add-in?

亡梦爱人 提交于 2021-01-07 01:06:01
问题 I am building an Office add-in to copy the URL of the opened Office document to the Windows clipboard. But it doesn't work. Please let me know what my code is wrong. Here's my FunctionFile.html for UI-less Office add-in. <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <!--During development turn off caching--> <meta http-equiv="cache-control" content="max-age=0" /> <meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="expires" content="0" /> <meta http

Office.js | implement single sign in excel add-in

非 Y 不嫁゛ 提交于 2021-01-04 06:43:12
问题 I am using Office.js, javascript and react to create excel add-ins. Wants to implement single sign-in flow using ribbon button. Once user successfully sign in then only wants to show task pane to user. I have configured add-in using shared runtime(manifest.xml) I have added Login command in ribbon and executing action from manifest file by using below code. Below is the Action from manifest file. 'btnlogin' function gets executed on click of login icon from ribbon <Action xsi:type=

Office.js | implement single sign in excel add-in

懵懂的女人 提交于 2021-01-04 06:42:27
问题 I am using Office.js, javascript and react to create excel add-ins. Wants to implement single sign-in flow using ribbon button. Once user successfully sign in then only wants to show task pane to user. I have configured add-in using shared runtime(manifest.xml) I have added Login command in ribbon and executing action from manifest file by using below code. Below is the Action from manifest file. 'btnlogin' function gets executed on click of login icon from ribbon <Action xsi:type=

Office.js | implement single sign in excel add-in

余生颓废 提交于 2021-01-04 06:42:27
问题 I am using Office.js, javascript and react to create excel add-ins. Wants to implement single sign-in flow using ribbon button. Once user successfully sign in then only wants to show task pane to user. I have configured add-in using shared runtime(manifest.xml) I have added Login command in ribbon and executing action from manifest file by using below code. Below is the Action from manifest file. 'btnlogin' function gets executed on click of login icon from ribbon <Action xsi:type=

Uploading a file crashes Desktop App Web Viewer

馋奶兔 提交于 2020-12-30 04:19:45
问题 We are facing problems while uploading files via our o365 addin on Windows. In the compose mode, we launch a iframed app via a ribbon button. This iframed app which launches in a Desktop App Web Viewer allows users to upload files. The problem is that as soon as the users are done selecting the files they want to upload, the Desktop App Web Viewer crashes and we are back to the compose view. This happens intermittently but is frequent enough to be problematic. I looked at some Office JS

Uploading a file crashes Desktop App Web Viewer

痞子三分冷 提交于 2020-12-30 04:19:31
问题 We are facing problems while uploading files via our o365 addin on Windows. In the compose mode, we launch a iframed app via a ribbon button. This iframed app which launches in a Desktop App Web Viewer allows users to upload files. The problem is that as soon as the users are done selecting the files they want to upload, the Desktop App Web Viewer crashes and we are back to the compose view. This happens intermittently but is frequent enough to be problematic. I looked at some Office JS