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. 学_汇编语言_王爽版 要点采集笔记(未完待续&hellip;)

    第一章 基础知识 存储器(内存)存放CPU工作的指令和数据(CPU可以直接使用的信息在内存中存放):指令和数据都是二进制数没有任何区别,由CPU决定是数据还是指令 内存单元:存储器被分为若干个存储单元 ...

  2. COCOAPI for windows error!

    refer this https://github.com/philferriere/cocoapi However, you may encounter a bug where you cannot ...

  3. win10系统下自由切换桌面

    说明: win10系统下自由切换桌面,确认在win10系统下操作进行. 方法: 1.快捷键:ctrl+win键(开始键)+方向键(左/右) 2.桌面最下面的状态栏,点击红框

  4. orm 锁 和 事务

    一 锁 锁的语句 select_for_update() 原生sql语句select * from t1 for update django 语句models.T1.objects.select_fo ...

  5. Spring实战:第一个spring mvc项目

    我自己看的pdf书中有几个小错误导致项目一直起不来,具体错误是: 此处的名称不一致导致的,此外对于映射@RequestMapping("/"),需要删除创建框架时自带的index. ...

  6. JSP-导入taglib 出现classNotFound异常

    案例 前端登录跳转到指定jsp,报classNoFoundException,原因是页面导入 <%@ taglib uri="http://java.sun.com/jsp/jstl/ ...

  7. P4语言环境安装(一)前端编译器p4c、后端编译器p4c-bm2-ss

    这个P4安装环境是在2020-2-8安装的,安装环境卡了我好几天,把遇到的问题记录下来,有需要的同学可以参考一下,要是说错了或者有问题的话,评论或mail:guidoahead@163.com联系我都 ...

  8. 【WPF学习】第三十六章 样式基础

    前面三章介绍了WPF资源系统,使用资源可在一个地方定义对象而在整个标记中重用他们.尽管可使用资源存储各种对象,但使用资源最常见的原因之一是通过他们的保存样式. 样式是可应用于元素的属性值集合.WPF样 ...

  9. Python黑客编程知识点整理

    Python转义字符 转义字符 意义 ASCII码值(十进制) \a 响铃(BEL) 007 \b 退格(BS) ,将当前位置移到前一列 008 \f 换页(FF),将当前位置移到下页开头 012 \ ...

  10. 编写一个函数,输入n为偶数时,调用方法求1/2+1/4+...+1/n,当输入n为奇数时,调用函数1/1+1/3+...+1/n

    需求:编写一个函数,输入n为偶数时,调用方法求1/2+1/4+...+1/n,当输入n为奇数时,调用函数1/1+1/3+...+1/n package com.Summer_0511.cn; impo ...