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

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.
Munavvar Husein ShaikhAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rikin ShahMicrosoft Dynamics CRM ConsultantCommented:
Hi,

Please check this link from MSDN-
https://msdn.microsoft.com/en-us/library/jj602956.aspx#BKMK_OpenEntityForm

I'm afraid if you're working on a CRM web application, you won't be able to open an Outlook Email activity, however if you're working within outlook with CRM Outlook addin, this could be possible. I am not sure about this... but why don't you give it a try!!
0
Rikin ShahMicrosoft Dynamics CRM ConsultantCommented:
Hi,

Also check this link-
https://msdn.microsoft.com/en-us/library/gg328483.aspx

You will be able to add QueryString parameters in case you need to pre populate the opening form...
0
Munavvar Husein ShaikhAuthor Commented:
Hi Rikin,
Thank for reply
I need to open outlook email window, instead of CRM email activity window.
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Rikin ShahMicrosoft Dynamics CRM ConsultantCommented:
Hi,

This is not possible through JavaScript. CRM and Outlook both are separate application and Client Side JavaScript is not that powerful which gives you control to handle windows application behaviors.

Makes sense?!?
0
Munavvar Husein ShaikhAuthor Commented:
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.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Munavvar Husein ShaikhAuthor Commented:
Yes, It seems correct
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Dynamics

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.