I'm trying to create an outlook web add-in using Node.js in which I am trying to do the following things:
make an API call on receiving email
label emails
move emails to spam
get all emails of a specific folder
Is this possible? If Yes then how? Please give me the links to any documentation or tutorials for the same.
These things, I am able to do in the desktop VSTO COM add-in for the desktop application.
For developing an add-in for outlook please refer to https://learn.microsoft.com/en-us/outlook/add-ins/
Make an API call on receiving email: Using the current add-in api set available this is not possible.
label emails: Categories API is available in the preview version: https://learn.microsoft.com/en-us/javascript/api/outlook/office.categories?view=office-js
Move emails to spam: You can use MS Graph API in the add-in https://learn.microsoft.com/en-us/graph/api/message-move?view=graph-rest-1.0&tabs=cs
Get all emails of a specific folder: Please refer to MS Graph API for this https://learn.microsoft.com/en-us/graph/api/message-get?view=graph-rest-1.0&tabs=cs
Related
I am developing an Excel Add-In to list, select, and retrieve an OData source. I'd like to be able to call a macro that opens excels Data / Get Data / From Other Sources / From OData Feed and fills in the URL field according to the user's previous selection.
I've searched microsft documentation and google but find no mention of executing a macro from the Office javascript library.
The Office JavaScript API doesn't provide anything for that.
You can post or vote for an existing feature request on Tech Community where they are considered when the Office dev team goes through the planning process.
Currently, I have the Excel VBA code that will construct and send an Outlook email from Excel. However, I need to be able to use this VBA to open an Outlook form template that contains a command button and update the body of the message. I have been searching non-stop and cant find any good resources for accomplishing this, any good pointers, links, or supporting code would be greatly appreciated. Thanks.
You can save the form as a Microsoft Outlook template file (.oft), and then e-mail that file to users. If the form contains code or custom fields, the recipient will not be able to simply open the .oft file and publish it. The recipient will need to save the .oft file to the local drive, run it with the Tools | Forms | Choose Form command, and then publish the form to the Personal Forms Library.
Alternatively, you can use an .fdm file to install a form manually, see OL2000: How to Move a Custom Form to Another Computer.
Read more about Outlook forms in the To distribute Microsoft Outlook forms to other users article.
As a workaround you may consider creating a COM add-in with rich UI options which can be installed on the recipient's side and do whatever you need for users. See Walkthrough: Create your first VSTO Add-in for Outlook for more information.
I am working with outlook Web-Addins. Addin type is "ItemRead". Now I want some thing unrelated to mails as in i want to have button on header as i see the skype button on the top.
Also we can create Addin on mail compose. I am not sure if this is possible to have separate buttons on header separate from mail section
example in the image of skype button.
I have also tried with Outlook Add-in ModuleExtension but cannot seems to be work as expected in outlook web app.
The command controls for invoking add-on are described in manifest part of the add-in. Those controls will be displayed in predefined place of the UI depend on particular client design (Outlook online, Outlook desktop, etc.). As the developer you are able to set control's setting, such as title, icon and so on, but not the place where control will be displayed. This would be up to Microsoft dev/design team.
Bottom line: You are not able to place your control in the specific place of the client interface.
Module extension add-in currently available for Outlook 2016 desktop. There is request to make it available for Outlook online which you can upvote if you like.
Additional Questions:
So is it is not possible right right now?
Module extension add-in for Outlook online is not currently available. To place your control into the place you want is not available, either and never will be. This is because of obvious reasons ... can you imagine what's happen with user interface if every extension will be able to modify the UI as it needs? Total disaster.
Or can you help me with other option ?
Outlook add-in works with single item, as of the controls will appear when item (e-mail, appointment, etc.) selected or compose window invoked, there is nothing you can do.
Also one more thing that is it possible to store a custom global setting value for the outlook organization using addin or any other way?
To store the settings for particular mailbox, user inside organization, there is Office.context.roamingSettings object. If you need some global settings for your app for entire organization, you would set them inside JS part for this particular organization and make the deployment just withing this organization. In case you want to distribute the app via Office store and customize it per organization you may want to write some service which delivers custom settings for add-on on start-up. For example you have rest service which returns custom configuration depend on domain; in this case when add-on invoked you may request custom configuration by sending rest call with user domain and after cache it in mailbox.
Is there any way to export/send a vcard of the contact from MS dynamics CRM 2011?
I met some builts for CRM 3 and 4, but there hasn't said anything about CRM 2011.
thanks in advance
This was mentioned in a comment, but you can do this using the Microsoft Dynamics CRM for Outlook client. This will allow you to synchronize the contact records that a user owns and once they are synched to Microsoft Dynamics CRM for Outlook, you can export them out as a vCard using the steps below, noting that these steps come from this KB article, https://support.microsoft.com/en-us/kb/290840 . Although this KB article was written for older versions of Microsoft Outlook, the steps will still work in newer versions of Outlook.
How to create a vCard
Use the following steps to create a vCard:
1.In a Contact folder, click to select the contact for which you want a vCard.
2.On the File menu, click Save As.
3.In the Save file as type box, click to select VCARD Files (*.vcf).
4.In the Save In box, select the folder where you want to save the vCard file, and then click Save.
This creates a vCard file with the same name as that of the Contact.
Another good reference with videos of creating and exporting vCards is in this support article - https://support.office.com/en-us/article/Import-and-export-vCards-to-Outlook-contacts-9af7e16e-61e3-45f4-8c19-a3842333005a . There are ways to add buttons and commands to create and export out vCards from Microsoft Dynamics CRM directly, but I'd just use the built in functionality that comes with Outlook (which is the base of the Microsoft Dynamics CRM Outlook client) as it is quick, easy, and something users are likely to adopt without needing to spend extra for development time.
There is nothing out of the box that I am aware of. When you say builds I assume you mean code. If so, you might consider writing a Plugin which integrates code from the these two links:
Sample: Send an Email
http://msdn.microsoft.com/en-us/library/hh210217.aspx
.NET vCard API for creating and parsing vCards
http://www.codeproject.com/Articles/16030/NET-vCard-API-for-creating-and-parsing-vCards
I am currently engaged in developing a add-in for MS outlook 2007. I need to open a new Live meeting(conferencing request) window programmatically. This is exactly same as the action performed when the new-> Live meeting button is clicked. Is there any possibility to fire the click event of the "Live Meeting" command bar button? Please help as I am new to office programming.
Thanks in advance.
I've found the solution for this question and learnt a lot about office programming as the project goes on. Actually we cant execute the live meeting button directly. There is no api for conferencing add in for outlook. Live meeting corresponds to the AppoinmentItem in outlook programming. So we have to use com object model to open a new AppoinmentItem and fill the body of it with appropriate details about the live meeting(actually a conference on microsoft office communications server).
We have to use the microsoft UCMA sdk to create a new confernce on OCS. Although there are many sdks available to program for ocs, ucma is the best sdk.
Refer this to create new appoinment on outlook
Study about UCMA 2.0