Dynamics 365 marketing中默认的渠道只有Marketing Email和Marketing Activity,想要添加其他渠道必须自定义磁贴,自定义磁贴的步骤如下:

1、创建实体

我创建了短信模板和短信消息实体

2、创建磁贴

新建一个解决方案,往里面添加一个.css文件和一个.xml文件,定义磁贴相关的属性和样式

<?xml version="1.0" encoding="utf-8"?>
<!-- file name should only contain alpha-numeric characters and underscore -->
<!-- format: <fileNamePrefix>CustomerJourneyDesignerTileConfig.xml> -->
<LibraryTile>
<!-- mandatory -->
<!-- icon: CSS class defining your tile icon-->
<!-- fontFamily: CSS class defining font-family for your icon-->
<!-- cssFileName: your CSS file name in CRM-->
<Definition icon="wsdyn_SMSTextTile" fontFamily="wsdyn_SMSTextSymbolFont" cssFileName="wsdyn_SMSTextCustomerJourneyDesignerTileConfig.css" />
<!-- mandatory -->
<ChannelProperties>
<!-- mandatory -->
<EntityType>wsdyn_smstext</EntityType>
<EntitySetName>wsdyn_smstext</EntitySetName>
<TitleFieldName>subject</TitleFieldName>
<ComplianceField>wsdyn_donetsmstext</ComplianceField>
<!-- optional -->
<!-- Lookup view id for your entity-->
<LookupViewId>6AC84005-DB4A-47B0-B8F8-1E3824FA15A4</LookupViewId>
<!--Insights form id for your entity -->
<InsightsMainFormId>A59C997D-45CF-47FE-BB8D-F8D169617747</InsightsMainFormId>
<!--Quick view form id for your entity -->
<QuickViewFormId>A59C997D-45CF-47FE-BB8D-F8D169617747</QuickViewFormId>
</ChannelProperties>
<!-- optional -->
<ResponseTypes>
<ResponseType id="sent">
<Labels>
<!-- Labels should always have a Label for 1033 -->
<Label locId="1033">Sent</Label>
</Labels>
</ResponseType>
<ResponseType id="delivered">
<Labels>
<!-- Labels should always have a Label for 1033 -->
<Label locId="1033">Delivered</Label>
</Labels>
</ResponseType>
<ResponseType id="keyword" custom="True">
<!-- there should be only one response type with attribute custom=true -->
<Labels>
<!-- Labels should always have a Label for 1033 -->
<Label locId="1033">Keyword match</Label>
</Labels>
</ResponseType>
</ResponseTypes>
<!-- mandatory -->
<Labels>
<!-- Labels should always have a Label for 1033 -->
<Label locId="1033">SMS Text</Label>
<Label locId="2052">短信</Label>
</Labels>
<!-- mandatory -->
<Tooltips>
<!-- Tooltips should always have a tooltip for 1033 -->
<!-- mandatory -->
<Tooltip locId="1033">Create a SMS Text Message</Tooltip>
<Tooltip locId="2052">创建短信记录</Tooltip>
<!-- optional -->
</Tooltips>
</LibraryTile>
@font-face {
/* The font-family name should be unique. Recommendation: use the config (XML) file name generated without the file extension */
/* Assuming the config file name is
sample_SpecialTileCustomerJourneyDesignerTileConfig.xml so the example uses 'sample_SpecialTileCustomerJourneyDesignerTileConfig' below*/
/* format: font-family: '<config xml file name generated by CRM>' */ font-family: 'wsdyn_SMSTextCustomerJourneyDesignerTileConfig';
src: url('data:font/opentype;base64, <fontInBase64String=>') format('woff');
} /* The fileNamePrefix is determined from the configuration (XML) file name:
<YourConfigFilenamePrefix>CustomerJourneyDesignerTileConfig.xml */
/* Example: config file 'sample_SpecialTileCustomerJourneyDesignerTileConfig.xml' */ /* Then the prefix is 'sample_SpecialTile'*/ /* format: <fileNamePrefix>SymbolFont */
.wsdyn_SMSTextSymbolFont {
/* font-family value defined in the font-face directive */ font-family: 'wsdyn_SMSTextCustomerJourneyDesignerTileConfig';
} /* format: <fileNamePrefix>::before */
.wsdyn_SMSTextTile::before { /* your tile icon code */
content: "\EFF4";
} /* format: #libraryElementCustom_<fileNamePrefix> > span.lib-iconContainer */
#libraryElementCustom_wsdyn_SMSText > span.lib-iconContainer { /*background color for your tile icon in the library panel*/
background-color: #005C62;
} /* format: .Custom_<fileNamePrefix> span.tileImageWrapper */
.Custom_wsdyn_SMSText span.tileImageWrapper {
/*background color for your tile icon in the library panel*/ background-color: #005C62;
} /* format: .Custom_<fileNamePrefix>.tileOutline.selected */
.Custom_wsdyn_SMSText.tileOutline.selected {
/*Color for border; Rendered when your tile is selected*/ border-color: #0072c6;
} /* format: .Custom_<fileNamePrefix>.tileLeftBorder */
.Custom_wsdyn_SMSText.tileLeftBorder {
/*Color for left border rendered on the tile when drawn on canvas*/ border-left-color: #0072c6;
}

3、创建插件(基于msdyncrm_CustomChannelActivity的创建插件)调用接口,并在接口中调用msdyncrm_CustomChannelActivityCreateInteraction更新状态,使得Customer Journey的Trigger能捕获到状态的更新

4、可以在Customer Journey中使用自定义渠道磁铁了

Dynamics 365 marketing中添加自定义渠道磁贴的更多相关文章

  1. Dynamics 365 CE中AsyncOperationBase表记录太多,影响系统性能怎么办?

    微软动态CRM专家罗勇 ,回复311或者20190311可方便获取本文,同时可以在第一间得到我发布的最新博文信息,follow me!我的网站是 www.luoyong.me . 本文主要是根据微软官 ...

  2. Dynamics 365 CE中使用FetchXML进行聚合运算

    微软动态CRM专家罗勇 ,回复328或者20190429可方便获取本文,同时可以在第一间得到我发布的最新博文信息,follow me! Dynamics 365 Customer Engagement ...

  3. 在 Microsoft Dynamics 365 Online中如何调试Plugins in

    How to debug plugins in Microsoft Dynamics 365 Online 调试方式请查阅https://www.linkedin.com/pulse/how-debu ...

  4. Dynamics 365 CRM 开发架构简介

    Dynamics 365 CRM提供了多种编程模型,你可以灵活地按需选用最佳模式. 本文是对Dynamics 365 CRM编程模型的综述. 概览 下图表明了Dynamics 365 CRM的主要可编 ...

  5. 初次接触Dynamics 365

    最近项目上需要用到微软的Dynamics 365 这个产品,Bing上搜索了一下,看了很多大佬在博客上分享了使用Dynamics 365的经验,简单了解了Dynamics 365 是什么,也有很多大企 ...

  6. 将Dynamics 365中的用户及其角色、角色导出到Excel中

    关注本人微信和易信公众号: 微软动态CRM专家罗勇 ,回复240或者20161204可方便获取本文,同时可以在第一间得到我发布的最新的博文信息,follow me!我的网站是 www.luoyong. ...

  7. 不借助工具在浏览器中通过Web API执行Dynamics 365操作(Action)实例

    摘要: 本人微信和易信公众号: 微软动态CRM专家罗勇 ,回复262或者20170727可方便获取本文,同时可以在第一间得到我发布的最新的博文信息,follow me!我的网站是 www.luoyon ...

  8. Dynamics 365中部分账号使用系统明显缓慢怎么办?先这么干!

    摘要: 本人微信和易信公众号: 微软动态CRM专家罗勇 ,回复263或者20170828可方便获取本文,同时可以在第一间得到我发布的最新的博文信息,follow me!我的网站是 www.luoyon ...

  9. 自定义工作流活动报错:您无法登陆系统。原因可能是您的用户记录或您所属的业务部门在Microsoft Dynamics 365中已被禁用。

    本人微信和易信公众号: 微软动态CRM专家罗勇 ,回复265或者20170926可方便获取本文,同时可以在第一间得到我发布的最新的博文信息,follow me!我的网站是 www.luoyong.me ...

随机推荐

  1. 个人任务day7

    今日计划: 整合程序,排除错误. 昨日成果: 写注册界面.

  2. IDEA工具java开发之 常用窗口

    ◆project窗口  ◆structure窗口  ◆todo窗口  ◆favorites窗口  ◆termimal窗口 此窗口默认打开的时cmd,所以才这里可以操作任何cmd可以操作的内容, 一般次 ...

  3. Qt下Armadillo矩阵函数库的添加

    其实本文严格说只能算VS2013添加Armadillo教程,因为为了省事,用的是VS2013编译器版本的Qt,Armadillo也直接用了自带例子中的blas_win64_MT.dll.blas_wi ...

  4. 深入Node.js的进程与子进程:从文档到实践

    欢迎关注Github仓库,这是一个自2018年起持续更新的前端&算法开源博客.目前已有node学习.js面试笔记.css3动画设计.webpack4系列教程.设计模式.剑指offer·js版等 ...

  5. Python学习,第七课 - 文件操作

    Python中对文件的相关操作详解 文件的操作在今后的Python开发中也是使用非常频繁的. 先说下对文件操作的流程 打开文件,得到文件的一个句柄,赋值给一个变量 然后通过句柄对文件进行操作(内容的增 ...

  6. ios--->instrument的leaks来检查内存泄漏

    instrument来检查内存泄漏 1.第一步打开 或者: 然后选择leaks 2.若此时编译出现如下问题,可能是非debug版本造成的,切换成debug版本即可 打开工程的Edit Scheme选项 ...

  7. 浅谈synchronized

    目录 浅谈synchronized 前言 是什么 格式 同步代码块 同步方法 注意 最后 浅谈synchronized 前言 看多线程的相关书籍的时候,会经常阅读到一个使用前景,就是银行的取钱存钱操作 ...

  8. 如何使用jmeter做一个功能的性能测试

    一.为什么又再次写类似的文章? 在博客园和公号写文章,已经快两年了,所以自然在公号和博客园都能联系到我的. 也就是几天前,有个人加我微信,对于总有人加我好友,我已经觉得不奇怪了,为什么呢? 加我好友的 ...

  9. vscode 调试 react 项目

    主要分为以下三个步骤 安装 debug for chrome 配置 launch.json 文件 配置内容如下 { "version": "0.2.0", &q ...

  10. JAVA&&JAVA WEB开发包U盘封装版

    难以忍受机房的开发环境,就简单实现了将所有的开发文件封装进了U盘. 基于wmic的强大功能,实现了机房变态环境下的设置环境变量OS不用重新启动OS! install.bat @echo off mod ...