随笔分类 - MS CRM 4.0
摘要:默认添加一个新的System Role 后,然后把这个role赋值给另外一个用户。该用户登录的时候,会得到一个错误:0×80040220 SecLib::CrmCheckPrivilege failed. Returned hr = -2147220960 on UserId: dd80d8b7-6700-dd11-9838-001185e68627 and PrivilegeId: 0b609bc5-afb0-4576-8db0-7ad715375833 Platform原来,我们需要把(Business Management下)User Settings的Write Permis
阅读全文
摘要:普通的workflow,设置简单,开发也不复杂,SDK里面带有例子。最简单的CRM 4 workflow:[CrmWorkflowActivity("My Demo workflow")] public partial class MyDemo : Activity { public MyDemo() { } protected override ActivityExecutionStatus Execute(ActivityExecutionContext executionContext) { try { //Debugger.Break(); IContextServ
阅读全文
摘要:其实很简单:ConditionExpression condition = new ConditionExpression(); condition.Operator = ConditionOperator.Equal; condition.AttributeName = "new_contactid"; condition.Values = new object[] { cid };cid就是Contact的id,在这里,是当前entity的一个Lookup field, 在查询的时候,我们无需转换成Guid,或者Lookup类型,再放到condition.Values里
阅读全文
摘要:If you are working with Microsoft Dynamics CRM 4.0 and your planning to docode customizationsthen you probably should keep on reading. And why am I talking aboutcode customizationsand not justcustomizations? Well just because in CRM you can do a lot without a single line of code... and this time I w
阅读全文
摘要:Adding a new web service to an application today so that I can delay loading some web user controls and ran into this 500 Error when calling the web service:Request format is unrecognized for URL unexpectedly ending in /GetHtmlFound this KB article with the fix:Add the following to web.config since
阅读全文
摘要:<li tabIndex=”-1″ title=”Recalculate” id=”_MBcrmFormSubmitCrmForm1truetruefalse”onclick=”window.execScript(action)”action=”crmForm.SubmitCrmForm(1, true, true, false);”>So basically it calls SubmitCrmForm function.SubmitCrmForm triggers the save event even if there are no modifications made on
阅读全文
摘要:Source From ronaldlemmen.blogspot.com0x80048472 One or more imports are not in completed state. Imported records can only be deleted from completed jobs. Wait until job completes, and then try again.0x80048471 The workflow does not contain UIData.0x80048470 The entity relationship role of the refere
阅读全文
摘要:function load_script(url) { var x = new ActiveXObject("Msxml2.XMLHTTP"); x.open('GET', url, false); x.send(''); eval(x.responseText);}load_script("/isv/javascript/jquery.min.js");load_script("/isv/javascript/xx.js");看function load_script 其实很简单,就是一个ajax载入
阅读全文
摘要:比较全面的WIKI:http://www.crmwiki.net/crm4-development-resources.ashx1.Form Scripts Manager:http://mscrmtools.blogspot.com/2009/03/after-few-days-weeks-of-silence-i-am.htmlMS CRM Form Scripting(2011-02-28 17:07)crmForm.SubmitCrmForm function(2011-03-03 13:21)2.CrmService Tookit: (绝对好东西)http://danielcai.b
阅读全文
浙公网安备 33010602011771号