Outlook JS Add-In - handling object save - outlook

I'm developing an Outlook Add-In using the new JavaScript API.
All is nice and works, but now I have a use case, that I want to save some custom data from my add-in side-pane when the user clicks "Save/Send" on an Calendar Event. I don't see any way to achieve that in the documentation, is it possible at all?

This is not possible with Office.js API. You may vote up this feature for upcoming release at Office Developers User Voice. Still nobody knows if it will be implemented any time soon. For now review the logic of your app to make it independent from Outlook events.

Related

Outlook add-in with global scope (inbox level)

Is there a way to have an outlook add-in that uses a global scope? I want to be able to launch the add-in at any time, but not necessarily relate it to a specific e-mail. According to the documentation I found, the closest thing would be to have it appear as a Module, but then it only works on the desktop version (not the web), and doesn't allow you to view it alongside e-mails. It would be ideal if this could run on the side of the screen, similar to how Skype works on the web version of Outlook, on both the desktop and web versions. Is Skype a special case, or is it possible to build an add-in like that?
Web-based add-ins work in the context of the current item only.
Instead, you may consider developing a browser plug-in which modifies a web page dynamically. And for the desktop editions of Outlook you may consider creating a COM based add-in which allows to customize the UI in the way you need. See Walkthrough: Creating Your First VSTO Add-In for Outlook to get started quickly.

Make Outlook add-ins working with Office 365 shared mailboxes

I am building apps with the new technology of Office add-ins (formerly app for Office).
The add-ins activate well when registered globally for the Office 365 tenant or individually by user (mechanical gear > manage add-ins).
I would like my add-in to work with Office365's shared mailboxes. The add-ins do not load in Outlook desktop or in OWA when the shared mailbox is open alone.
However, I managed to make it work when setting the shared mailbox as a shared folder displayed under my primary mailbox, as explained here (see picture below). It is better than nothing but not an acceptable solution, I would like my add-ins to be displayed when consulting my mailbox in Desktop client and in OWA when using the "Open another mailbox" (see link above).
My question is then: how to make add-ins working with shared mailboxes? A possible solution is: a shared mailbox seems to be related with a special kind of user. Would it be possible to install the add-in for this special user in order to have the add-ins always working with shared mailboxes?
Edited:
Not supported for now. I created a feature request in Office365 User Voice. Consider bringing your vote to it.
There is a new feature request to cover this functionality.
This feature request has theoretically been implemented and is in public preview.
Theoretically if you add the following under <DesktopFormFactor> it enables this feature:
<SupportsSharedFolders>true</SupportsSharedFolders>
However, people are having issues with this throwing Schema errors. See GitHub or StackOverflow. (NOTE: StackOverflow has a solution, but I didn't find it actually worked).
It maybe there is some undocumented magic so it could work now.
Outlook add-ins are not supposed to activate outside of your primary mailbox. This is intentionally disabled. What you're seeing with it displaying when opened under your primary mailbox there Benoit is likely a bug.
The office add-in can be configured to show on a mail item. it does not matter the type of mailbox, if the item you are viewing is a mail message, your add-in should show.
The simple test you can do, does your add-in show in your mailbox mail messages? if yes, this means it should show in mail messages from the shared mailbox. It is divide and conquer issue we need to resolve.
Let me know if you have more questions or need clarifications.

New Outlook API (2015) mail add-in send event

Does the new Microsoft Outlook API, which enables development of Outlook addins for cross platform, have the ability to trigger an event off the user clicking the send button?
I currently have an Outlook VSTO addin that uses the Application.ItemSend event to check an email for specific content and present the user with a popup asking them if they still want to send or not. This is only compatible with Outlook 2007-16 on Windows though, and I was hoping the new API might enable me to build something similar for Outlook on Mac/mobile/web, but I haven't found any examples or documentation on this particular event trigger yet.
Link to Outlook API
Some support for handling a "send" event was recently added for Outlook Add-ins.
There are several limitations, so be sure to read all the documentation. In particular, this is currently only supported in the Web version of Outlook, and the send event feature cannot be used in any add-ins that will be published in the Office Store.
No, there is no such event. It will most likely be added in the future from what I hear...

Opening a Dynamics CRM 2013 form in Outlook instead of CRM

thank you for taking the time to read this. I have a client who wants a button to be placed on the Appointment form that, when clicked, opens a copy of the Appointment form inside of Outlook as opposed to CRM. I've been looking at Microsoft.Crm.Outlook.SDK and Microsoft.Office.Interop.Outlook but neither of of them seems to have any methods that jump out as being able to accomplish this. Has anyone run into this that could possibly point me towards an example or a decent tutorial? I've been checking google and the msdn as well but I'm not having any luck. Thank you.
The CRM client can be accessed through a browser or through outlook. If a user is accessing CRM through the outlook client and he opens a link to an appointment - then that appointment will open within outlook. If the user is accessing CRM through a web browser I do not think it is possible to launch an appointment though the web browser directly.
What you could do is generate an outlook appointment (.ics) file - through code - when the user opens this file it will open in Outlook by default. There is a format for creating iCalendar or outlook appointment (.ics) files - just google it - plenty of examples of creating them though code.

sharepoint calendar solution

I need some directions developing something in Sharepoint.
i know c# , asp.net but never worked on sharepoint before, what i would like to do is to have a visual component ( a calendar) in which i would like to place events i pull from a database, or without placing events in that calendar, i would like the user to click a day on the calendar and get details.
my question is does anyone know about a tutorial, step by step, to develop a solution in sharepoint 2007 ? i have visual studio 2010 installed in my machine, and we do have a sharepoint installed in a remote server.
please help.
I would not recommend you develop a calendar solution inside of SharePoint.
Instead, I would recommend you develop a web service that serves the calendar data to the Outlook clients from the data source. Most users of Outlook have it open most of the day to do email and calendar, and so you can feed this event data to their outlook calendar, via a subscription and they can overlay and view the data directly. You dont have to write any Outlook plug ins, just write a web service in C# and asp.net and you are good to go.
There is a protocol, called stssync - that was developed to do just this. The following blog post is a great introduction, step-by-step, and has sample source code to help you get started.
http://msdn.microsoft.com/en-us/library/Aa168130(office.11).aspx
His design allows you to easily add your own data source type to get the event data into outlook.
The post is rather old, but trust me it works with the new clients (2007 and 2010). Most of the users appreciate that the data they want to see is inside the outlook client and they don't have to go to SharePoint to get the data.
Hope this helps.

Resources