导航

12 2016 档案

摘要:使用表值参数(数据库引擎) SQL Server 2016 and later 其他版本 SQL Server 2016 and later 其他版本 其他版本 其他版本 本主题适用于:SQL Server(从 2016 开始)Azure SQL 数据仓库Azure SQL 数据仓库并行数据仓库 表 阅读全文

posted @ 2016-12-30 04:42 yiyishuitian 阅读(1101) 评论(0) 推荐(0)

摘要:http://www.powerobjects.com/2015/09/23/dynamics-crm-alert-and-notification-javascript-methods/ Before CRM 2013, if you wanted to alert a user on a for 阅读全文

posted @ 2016-12-22 16:41 yiyishuitian 阅读(335) 评论(0) 推荐(0)

摘要:项目背景: CRM表单在操作时会有一些提示,或者交互的对话框. 直接 使用js的alert 和 confirm,网格上有些不协调. 以前在项目中使用过jquery 的,但是CRM官方不建议使用jquery.折腾了两天.终于还是在 codeplex找到一个解决方案.效果还错. 1 下载解决方案: ht 阅读全文

posted @ 2016-12-22 15:56 yiyishuitian 阅读(200) 评论(0) 推荐(0)

摘要:父表单在新建子表单项时弹出的窗口和 子表单的N:1关系是有关系的.说白了就是子表单窗体上的父表单字段是不是必填项. 关系如下: 1 非必填项 点击子表单的"+"号时,会出现lookup查找框,可以选择现有项.如果新建,还需要再点击下面的"+新建"按钮. 2 必填项, 点击子表单的"+"号时,会直接出 阅读全文

posted @ 2016-12-19 01:27 yiyishuitian 阅读(733) 评论(0) 推荐(0)

摘要:1 使用工具 XrmToolbox http://xrmtoolbox.codeplex.com/releases/view/611881 2 连接:可以使用网络连接,也可以使用本地连接 3 使用 Assembly Recovery Tool 4 使用反编译工具进行反编译 ILSpy 结尾: Xrm 阅读全文

posted @ 2016-12-19 00:26 yiyishuitian 阅读(402) 评论(0) 推荐(0)

摘要:http://xxx.xxxxxx.xxx/Organization/tools/diagnostics/diag.aspx 阅读全文

posted @ 2016-12-19 00:10 yiyishuitian 阅读(180) 评论(0) 推荐(0)

摘要:以上代码可以启用或者禁止 plugin 的注册 阅读全文

posted @ 2016-12-18 13:14 yiyishuitian 阅读(272) 评论(0) 推荐(0)

摘要:pre 事件 throw new InvalidPluginExecutionException("pre-StateCode:" + StateCode + ",pre-statuscode:" + StatusCode); 结果: pre-StateCode:0,pre-statuscode:- 阅读全文

posted @ 2016-12-08 09:56 yiyishuitian 阅读(133) 评论(0) 推荐(0)

摘要://added by bgx on 20160616 //隐藏指定title按钮 function hideISVButton(buttonTitle) { var comps = document.getElementsByTagName('li'); for (var i = 0; i < comps.length; i++) { if (comps[i].title =... 阅读全文

posted @ 2016-12-08 01:03 yiyishuitian 阅读(216) 评论(0) 推荐(0)

摘要:1 IIS 正常 2 CRM 各项服务正常. 3 应该程序池--CRMAppPool 停止 阅读全文

posted @ 2016-12-07 17:02 yiyishuitian 阅读(157) 评论(0) 推荐(0)

摘要:假如 js 中如果定义了 两个字段的onchage 事件. 如果一个字段的onchange事件,改变了另一个字段的值,那么也会触发另一个字段的onchange事件!!!!???? 阅读全文

posted @ 2016-12-04 02:24 yiyishuitian 阅读(111) 评论(0) 推荐(0)

摘要://当前日期 var now = new Date(); //换算为毫秒数 var now_ms = Date.UTC( now.getFullYear(), now.getMonth(),now.getDate());//getMonth 从0-11 所以真实月份要+1, getDate 注意与 getDay的区别,getDate为日, getDay 为周 //计算开始日期 var _fo... 阅读全文

posted @ 2016-12-03 21:25 yiyishuitian 阅读(413) 评论(0) 推荐(0)

摘要:function setSimpleLookupValue(LookupId, Type, Id, Name) { /// /// Sets the value for lookup attributes that accept only a single entity reference. /// Use of this function to set lookups... 阅读全文

posted @ 2016-12-03 20:36 yiyishuitian 阅读(721) 评论(0) 推荐(0)

摘要:以下以省市为例: function preFilterLookup() { //要进行过滤的lookup按钮加入addPresearch事件 Xrm.Page.getControl("shi").addPreSearch(function () { addLookupFilter(); }); } function ad... 阅读全文

posted @ 2016-12-03 15:24 yiyishuitian 阅读(275) 评论(0) 推荐(0)

摘要:1 Only account, contact, lead, incident entities are supported for merge 2 Merging Custom Entity Records with Dynamics CRM 2011 Dialog https://communi 阅读全文

posted @ 2016-12-02 18:37 yiyishuitian 阅读(287) 评论(0) 推荐(0)