导航

随笔分类 -  CRM

摘要: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 阅读(722) 评论(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)

摘要:PS: 1 如果直接使用document.getElementById(''); 会一直返回NULL值. 要使用 parent.document.getElementById(''); 2 子列表加载比较晚,所以多个地方使用了循环调用函数的方式 setTimeout("hide_add_btn(); 阅读全文

posted @ 2016-11-27 12:48 yiyishuitian 阅读(604) 评论(0) 推荐(0)

摘要: 阅读全文

posted @ 2016-11-25 16:27 yiyishuitian 阅读(192) 评论(0) 推荐(0)

摘要:问题描述: 1 userA用户 为 区域经理; 2 区域经理(角色) 为 分派给userA的安全角色; 3 区域经理(角色) 设置了对实体 客户 的读权限为 业务部门级; 按正常来说userA 应该只看到自己办事处的客户信息,但是问题来了,他还看到了不属于自己办事处的信息. 问题排除: 1 user 阅读全文

posted @ 2016-11-24 16:22 yiyishuitian 阅读(195) 评论(0) 推荐(0)

摘要:共享后, pincipalobjectaccess会添加一条记录, 共享的权限由AccessRightsMask这个数值决定(Read = 1, Write = 2, Append = 4, AppendTo = 16, Create = 16,Delete = 65536,Share = 2621 阅读全文

posted @ 2016-11-09 15:39 yiyishuitian 阅读(258) 评论(0) 推荐(0)

摘要:只是插入的任务,邮件,约会之类的没有研究,以下是官方文档:https://msdn.microsoft.com/zh-cn/library/gg334533.aspx/* 1 实体名 new_xxxxxx 2 实体ID new_xxxxxxid 3 创建者ID 4 责任人ID 5 主题 6 内容 */ CREATE PROC p_create_active @entityname V... 阅读全文

posted @ 2016-09-21 22:53 yiyishuitian 阅读(562) 评论(0) 推荐(0)

摘要:Save event arguments (client-side reference) Applies To: Dynamics CRM 2016, Dynamics CRM Online In the save event you can use the execution context ob 阅读全文

posted @ 2016-09-18 09:40 yiyishuitian 阅读(427) 评论(0) 推荐(0)

摘要:删除路径下的文件 C:\Windows\Downloaded Program Files\rsclientprint.dll路径下的这个dll文件,重新登录crm选择一个面单点击打印按钮重新安装插件 阅读全文

posted @ 2016-09-12 18:01 yiyishuitian 阅读(219) 评论(0) 推荐(0)

摘要:需要注册 SetState 和 SetStateDynamecEntity 阅读全文

posted @ 2016-09-05 17:32 yiyishuitian 阅读(258) 评论(0) 推荐(0)

摘要:plugin运行出错. 1 plugin文件如果是 注册到disk,应该是注册到 C:\Program Files\Microsoft Dynamics CRM\Server\bin\assembly ,所以如果项目中引用了其它的 dll文件也应该拷到这个文件夹. 2 plugin文件如果是 注册到 阅读全文

posted @ 2016-09-05 15:28 yiyishuitian 阅读(666) 评论(1) 推荐(0)

摘要:Intellisense for Xrm.Page in CRM 2011 In CRM 2011 javascripts for crm forms can be stored externally as web resources and those are no longer embedded 阅读全文

posted @ 2016-09-01 00:20 yiyishuitian 阅读(163) 评论(0) 推荐(0)

摘要:Intellisense in Visual Studio for Microsoft Dynamics CRM 2016 Intellisense in Visual Studio for Microsoft Dynamics CRM 2016 posted by dynamicsnick on 阅读全文

posted @ 2016-09-01 00:18 yiyishuitian 阅读(321) 评论(0) 推荐(0)

摘要:共四步 1 create table #CascadeCollect(id INT IDENTITY(1,1) PRIMARY KEY CLUSTERED, objectid UNIQUEIDENTIFIER NOT NULL, objecttype INT NOT NULL) 2 exec dbo.p_CascadeCollect 'CascadeShare',10000,'C9... 阅读全文

posted @ 2016-08-30 02:42 yiyishuitian 阅读(520) 评论(0) 推荐(0)

摘要:PrincipalObjectAccess (POA) table is an important table which holds all grants share on CRM objects. This is just for understanding purpose. SELECT TO 阅读全文

posted @ 2016-08-29 23:16 yiyishuitian 阅读(668) 评论(0) 推荐(0)

摘要:其中函数功能及各参数意思. SubmitCRMForm( Mode, Validate, ForceSubmit, closeWindow) // we could use this function but it is unsupported Different Mode could be -1, 阅读全文

posted @ 2016-08-17 13:47 yiyishuitian 阅读(205) 评论(0) 推荐(0)