outlook-addin

Outlook for Mac add-in with the newly released office.js API

泄露秘密 提交于 2021-02-07 11:05:59
问题 We have an add-in for Office Apps - using the compose form on Outlook appointments in the calendar. Because finally the office.js add-ins support for Outlook for Mac is out as written here, I have some questions: How can I debug the JS in the add-in side pane in Outlook for Mac? Since the behavior is sometimes different to Outlook Web Office.context.mailbox.item.body.setAsync(newBody, { coercionType: Office.CoercionType.Html }, callback) seems to do nothing, only for Office.CoercionType.Text

How do I select a range and change font color of specific words in Outlook web add-ins

房东的猫 提交于 2021-02-07 11:00:11
问题 In Outlook web add-in, I want to select text from email body, keep it as tracked object and then apply styling on it like we do in Word web add-in. In the Word, I do it the following way: //used to store current selected range var selection=null; $scope.getSelectedText = function () { Word.run(function (context) { if (selection) { context.trackedObjects.remove(selection); } selection = context.document.getSelection(); context.trackedObjects.add(selection); context.load(selection, 'text');

How do I select a range and change font color of specific words in Outlook web add-ins

99封情书 提交于 2021-02-07 11:00:03
问题 In Outlook web add-in, I want to select text from email body, keep it as tracked object and then apply styling on it like we do in Word web add-in. In the Word, I do it the following way: //used to store current selected range var selection=null; $scope.getSelectedText = function () { Word.run(function (context) { if (selection) { context.trackedObjects.remove(selection); } selection = context.document.getSelection(); context.trackedObjects.add(selection); context.load(selection, 'text');

Running out of memory looping through mail items

て烟熏妆下的殇ゞ 提交于 2021-02-07 08:51:41
问题 Hi I have a Outlook com addin that is doing some simple searching tricks for me. I am part way through putting it together but I am having issues with it running out of memory. The process is very simple and basically loops through an outlook folder checking each mailItem for a match. given the loop reinitialize the variables each time I would have expected the garbage collector to keep up but when I watch the memory it loses ~10m/sec until the system is out of memory and I get unhandled

Running out of memory looping through mail items

蓝咒 提交于 2021-02-07 08:48:02
问题 Hi I have a Outlook com addin that is doing some simple searching tricks for me. I am part way through putting it together but I am having issues with it running out of memory. The process is very simple and basically loops through an outlook folder checking each mailItem for a match. given the loop reinitialize the variables each time I would have expected the garbage collector to keep up but when I watch the memory it loses ~10m/sec until the system is out of memory and I get unhandled

Running out of memory looping through mail items

旧巷老猫 提交于 2021-02-07 08:47:33
问题 Hi I have a Outlook com addin that is doing some simple searching tricks for me. I am part way through putting it together but I am having issues with it running out of memory. The process is very simple and basically loops through an outlook folder checking each mailItem for a match. given the loop reinitialize the variables each time I would have expected the garbage collector to keep up but when I watch the memory it loses ~10m/sec until the system is out of memory and I get unhandled

Unable to sideload the Office Add-in when running 'npm start'

独自空忆成欢 提交于 2021-02-07 03:22:45
问题 I'm trying to run Outlook-add-in using npm start . But it gives me an error that Sideloading the Office Add-in... Error: Unable to start debugging. Error: Unable to sideload the Office Add-in. Error: Sideload is not supported. I'm running direct demo project which Microsoft provided for Outlook-add-in. Also rund npm run dev-server before npm start as i'm running in mac. https://docs.microsoft.com/en-us/outlook/add-ins/quick-start?tabs=yeomangenerator I have done some research to find the

Unable to sideload the Office Add-in when running 'npm start'

北慕城南 提交于 2021-02-07 03:21:55
问题 I'm trying to run Outlook-add-in using npm start . But it gives me an error that Sideloading the Office Add-in... Error: Unable to start debugging. Error: Unable to sideload the Office Add-in. Error: Sideload is not supported. I'm running direct demo project which Microsoft provided for Outlook-add-in. Also rund npm run dev-server before npm start as i'm running in mac. https://docs.microsoft.com/en-us/outlook/add-ins/quick-start?tabs=yeomangenerator I have done some research to find the

Outlook VSTO Explorer.Selection_Change doesn not get called

馋奶兔 提交于 2021-01-29 14:40:21
问题 In my VSTO plugin I use the following class members to store pointers to currentExplorer, currentAppointmentItem and currentExplorers. In Startup I try to setup all necessary event handlers like this: currentExplorers = this.Application.Explorers; foreach (Outlook.Explorer explorer in currentExplorers) { ((Outlook.ExplorerEvents_10_Event)explorer).Activate += new Outlook.ExplorerEvents_10_ActivateEventHandler( Explorer_Activate); explorer.Deactivate += new Outlook.ExplorerEvents_10

Using ActiveInlineResponse in vsto Add-In. Send MailItem after modifying header

前提是你 提交于 2021-01-29 12:12:02
问题 So when the message is "popped out" and I use the inspector this works fine. HOwever, with the ActiveInlineResponse the .Send() method is not available. FYI I am a bit of a novice when it comes to this but this is really important for an application we are rolling out. I have the same Add-IN in earlier version of Office that work great. I can't describe how much a little assistance would make my day here. I have spent multiple hours reading forum posts to try and work this out on my own and I