dynamics-crm-2011

Update data in CRM 2011 using Execute - UpdateRequest + soap XML

最后都变了- 提交于 2019-12-11 12:31:19
问题 I want to update the data in DCRM-2011 by executing query like, update customers set customer_name='SUDHIL-2' where customer_id in('CU102','CU103') How can I achieve this via Execute-Request UpdateRequest? My SOAP request is as below, <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <Execute xmlns="http://schemas.microsoft.com/xrm/2011/Contracts/Services" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <request i:type="a:UpdateRequest" xmlns:a="http://schemas

CRM 2011 Ribbon bar Missing after applying update Rollup 14 in IE not the chrome or Firefox?

梦想与她 提交于 2019-12-11 11:23:07
问题 When reviewing issue further, I have found out below solution: Log in to CRM as an administrator. Go to Settings > Administration. Click System Settings. On the “Customizations” tab, uncheck Load pages in the most recent version of Internet Explorer. Even this one is not working for me. I am getting below error in page load event in IE not the chrome or Firefox SCRIPT5: Access is denied. PageLoader.js, line 1 character 1226 I am stuck with as my production release on Monday. Any help is

Dynamic CRM 2013 Plugin Event execution pipeline and the 2 Minutes Time out

前提是你 提交于 2019-12-11 10:53:31
问题 I have couple questions please. 1- When plugin A triggers on an event and caused another plugin B to trigger, does Plugin B executes in the same Event execution pipeline as plugin A ? 2- If the above is true and plugin A and Plugin B executes in the same Event execution pipeline do they both have 2 minutes to complete (since the maximum execution time of a plugin in dynamic CRM is 2 minutes) or each one of them has 2 minutes to complete which makes the total execution time allowed for both of

How add items to a list in foreach loop using c#

岁酱吖の 提交于 2019-12-11 10:29:16
问题 I am using following snippet to some items to a list of strings. But it is throwing an exception. List<string> guids = null; QueryExpression qExp = new QueryExpression { EntityName = "account", ColumnSet = col1, Criteria = new FilterExpression { Conditions = { new ConditionExpression("statecode",ConditionOperator.Equal,0) } } }; sp.CallerId = g1; EntityCollection ec1 = sp.RetrieveMultiple(qExp); foreach (Entity item in ec1.Entities) { guids.Add(Convert.ToString(item.Attributes["accountid"]));

InvalidPluginExecutionException dialog does not show up - CRM 2011

风流意气都作罢 提交于 2019-12-11 09:45:00
问题 I have a Plugin on the Creation, Updating, and Deletion of the OpportunityProduct entity in the CRM 2011. I want to through exception on the success of some operations, means want to display dialog. It is working fine for Update and Delete. But it is not working fine for the Creation of OpportunityProduct , it is not throwing exception in the dialog. It is showing Exception: “ An error has occurred, Try this action again. If the problem continues, check the Microsoft Dynamics CRM Community

Understanding the different ways to connect to CRM 2011

怎甘沉沦 提交于 2019-12-11 09:21:54
问题 I'm a beginner CRM developer and I'm quite confused about the connection methods to CRM. What's the difference between creating a SOAP service reference to connect to CRM 2011 from a windows form application VS using connection string VS creating a web service? Are they the same and I can use them interchangeably ? Or it depends on the task I want to do? Thanks 回答1: Out of the 3 links that you have provided, one contains the best approach. this - CRM SDK says to use this approach when you

how to expand a text field in order to remove scrolling by using javascript

∥☆過路亽.° 提交于 2019-12-11 08:33:19
问题 I deal with dynamics CRM 2011 online and I faced some troubles with printing documents there. If there is a scroll into a form so in print window it'll too and I can't do anything with that coz there is any editing function there. I'm interested could I resize/expand a text field in order to make a text visible for user without any scrolling? Is there any method in JavaScript that can remove scroll by resizing field? In dynamics CRM I may use such functios on an onload event. thanks in

Date Showing Up Different in MS Dynamics CRM than that of SQL-Server

时光毁灭记忆、已成空白 提交于 2019-12-11 08:29:42
问题 My string dates are as follows in YYYYMM format: 201008 201009 201010 201011 201012 ... The following is my CONVERT statement in my stored procedure: CONVERT (datetime, @FileName + '01', 112) my results are showing up fine in SQL-Server as follows 2010-10-01 2010-11-01 2010-12-01 ... However, in MS Dynamics CRM they are showing up as the last day a month earlier (corresponding with the previous SQL-Server results) as follows: 9/30/2010 10/31/2010 11/30/2010 ... What the heck is going on here?

Can I use Dynamics CRM as a Shopping Website?

 ̄綄美尐妖づ 提交于 2019-12-11 07:09:45
问题 I have couple of questions related to the usage of Dynamics CRM: Can it be used like a shopping website? If I am using it like a Shopping website, will I have to buy a license for every registered user on my website? Or do you think Dynamics CRM is not made to behave like a shopping website? 回答1: 1) Absolutely, with some development, Microsoft CRM can be used as the database for your shopping website. You can use the built-in product catalog and price lists for your sales. Microsoft CRM has

How do I refresh the list on the homepage view of an entity

纵饮孤独 提交于 2019-12-11 06:49:27
问题 I have a custom ribbon button on one of my CRM 2011 entities that will effectively disable that entity. I then would like to refresh the current view on the homepage of that entity. I would like this triggered by JS. Currently I'm able to refresh the whole parent window which will put me back at the dashboard and not the home page of that entity. Thanks! 回答1: Good question. Here are two ways you can do it: //refreshes the entire element in the parent window that contains the view window