CRM 2013 SP1 - how to open an outlook email activity from a custom command button from a list view page? - dynamics-crm-2013

CRM 2013 SP1 - how to open an outlook email activity from a custom command button from a list view page. I've a custom command button on landing page for a lead entity, I would like to open outlook email activity from there and populate one of the lookup field of a lead as regarding for this newly opened email activity (should be opened in create mode). Please advise.

Yes,
I found a solution
We can use "document.location.href = "mailto:";"
this will open a new outlook window if outlook is installed on your machine.

Related

Outlook Addin (AppointmentOrganizerCommandSurface): First time user loads addin saves the open appointment item to calendar

I have written an Outlook web addin that uses a manifest which includes an AppointmentOrganizerCommandSurface extension point. So the addin shows in the ribbon for a new meeting/appointment item created by the user in desktop Outlook 2016.
The initial page loaded in the Outlook pane for the addin simply uses a javascript function (Office.onReady) to pull the email address of the user with loadItemProps(userProfile).
It seems that when a user runs the addin for the very first time the open appointment item is automatically saved to the calendar as soon as the manifest is loaded by Outlook. This does not happen after the first time use of the addin.
There is nothing else happening on the initial page other than the Office.onReady. So it looks like Outlook is doing this when the AppointmentOrganizerCommandSurface is initiated the first time.
Is there a way to prevent this from happening?

Extend the Attachment Tools Tab with custom button in Outlook Web Add-in

Is it possible to add custom ribbon button in Attachment Tools Tab , which becomes active only when you select an attachment within a mail?
My objective is to create a functionality where the custom buttons in Attachment tools which can be used to send one or all attachment of the current mail item to a SP site configured.
I am guessing it is part of MessageReadCommandSurface extension point. How do i specify the tab information?

Office JS Outlook and update email body when composing a form

I would like to know if with Office JS Outlook addin, is it possible to set email body automatically when opening and composing an email.
I have already succeed to do it using addin commands and MessageComposeCommandSurface extension point element in the manifest.
However, my code is execution only after a click on a button in the ribbon.
Is it possible to execute my code automatically when the compose form is loading instead of having to click in a button to execute it?
Thanks a lot
This isn't a supported scenario.

Outlook office.js add-in task pane closing issue on Outlook for Mac

We have a Outlook add-in using add-in commands. We have a task pane with user info that includes a simple hyperlink with target set to "_blank". When the user clicks on this link a web page pops up. If the user subsequently closes Outlook, everything closes down fine on PC Desktop Outlook and OWA.
On Outlook for Mac however there is a problem. In that case when you close Outlook everything goes away, but our task pane stays on the screen like it is stuck. If you click on this task pane Outlook reappears but the inbox is blank, and only the task pane and the current email is showing. You must manually close the task pane and then Outlook for everything to close properly.
A few observations:
This only occurs for the main mail read command surface. If you pop open an email and open the task pane from the email's Ribbon, and click the link from there, the email closes fine.
If you open the task pane from the main mail read command surface but you do not click on the link on the task pane, then Outlook closes without issue.
It is like the task pane is holding on to a reference to the child window pop up, so Outlook for Mac cannot properly close the task pane.
Can anyone else reproduce this issue? Is opening a child window from a task pane not allowed, or is there something extra you must do to make this work?
Thanks.
Not seen this issue, it would be helpful if you can share some more info on this
- OS version
- Outlook version
- Manifest file used

How to load windows form on custom folder click using outlook add-in

I have added a solution module having a custom folder in MS outlook 2010. I need to open a windows form on folder click event. The form should display in main central region of outlook window (I think it is called an inspector).
How can I achieve this?
You can monitor the Explorer.FolderSwitch event and display your form if the desired folder is current.