简体   繁体   English

在Dynamics 365 CRM中,如何在“联系人详细信息”页面上放置一个电子邮件按钮?

[英]In Dynamics 365 CRM , how to put an email button on Contact details page?

Currently, in the Dynamics 365, to send an email we have go to activities --> email and then search for the contact to populate the address and then send the email. 当前,在Dynamics 365中,要发送电子邮件,我们要进入活动->电子邮件,然后搜索联系人以填充地址,然后发送电子邮件。

I would like to put an email button on contact details page that takes me to this email form page. 我想在联系人详细信息页面上放置一个电子邮件按钮,该按钮会将我带到此电子邮件表单页面。 And I would like to suppress the cc and bcc fields on this form while automatically populating the To field based on the contact email. 我想在此表单中隐藏“抄送”和“密件抄送”字段,同时根据联系人电子邮件自动填充“收件人”字段。

Approach 1: 方法1:

  1. Start with ribbon workbench to add a button in contact form [Ribbon/Command bar customization] 从功能区工作台开始,以联系表形式添加按钮[功能区/命令栏自定义]
  2. Add a JS command to open customized email form (cc, bcc removed) [Form customization + web resource] 添加JS命令以打开自定义的电子邮件表单(已删除抄送,密件抄送)[表单定制+网络资源]
  3. You may need to pass Params while opening form like contact Id to prepopulate the regarding & to fields [Client side coding] 在打开联系ID之类的表格时,您可能需要传递Params来预先填写关于&字段[客户端编码]

Approach 2: 方法二:

  1. Add a Subgrid of Emails in contact form [Form customization] 在联系表单[表单定制]中添加电子邮件的子网格
  2. By Out-of-Box functionality, on click of (+) in subgrid menu bar - customized Email form will open with the regarding field preset as current contact [Form customization + OOB] 通过开箱即用功能,单击子网格菜单栏中的(+)-定制的电子邮件表单将打开,其中“有关”字段预设为当前联系人[表单定制+ OOB]
  3. On form load of email, do some JS to set the To field based on Regarding contact 在电子邮件的表单负载上,执行一些JS来根据与联系人有关来设置“ 收件人”字段

If you install ClickDimensions , you'll gain the option to Send Email on the default contact form, straight from the ribbon: 如果安装ClickDimensions ,您将直接从功能区上获得默认联系人表单上的“ Send Email ”选项:

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM