dynamics-crm-2011

How to change the default ExecuteMultipleRequest batch size limit in CRM 2011 on premise?

和自甴很熟 提交于 2019-12-04 20:53:01
I encountered many errors like below in CRM 2011. I know there's a way to override the default value 1000. But how to? Error in workflow: ExecuteMultiple Request batch size exceeds the maximum batch size allowed! You can change the setting via PoweShell using UpdateAdvancedSettingsRequest - examples see MSDN . Further details about settings can be found here and here . Marion For CRM On Premise, you could execute the following SQL Command directly at the MSCRM_CONFIG database (at your own risk): update deploymentproperties set IntColumn = *"your value here"* where columnname =

Grey ribbon on Account form in IE “SCRIPT5: Access is denied.” in PageLoader.js

旧城冷巷雨未停 提交于 2019-12-04 20:19:01
MS CRM 2011 on premise. No problems if accessed via internal address: crm:5555 Go to crm.ourcompany.co.uk:5555 in IE and load account page and the ribbon is totally grey. (Not disabled - every pixel is the colour grey.) In Chrome and Firefox the ribbon is loaded fine. Browser console in IE, Chrome and FF all say access errors. I can see they are trying to access crm:5555. IE says: SCRIPT5: Access is denied. PageLoader.js, line 1 character 1226 The second line above is presented as a link. Clicking it shows me this: http://pastebin.com/bBadk9HS The full path is http://crm.ourcompany.co.uk:5555/

crm 2011 xrm.page.getattribute returns null when there is value

浪子不回头ぞ 提交于 2019-12-04 19:18:30
I'm not really skillful with JScript but I've written the following code within a function webResource that is supposed to run when the form loads (OnLoad) var creationDateName = "createdon"; var today = new Date(); var creationDateAttr = Xrm.Page.getAttribute(creationDateName); if(creationDateAttr!=null) { /* Some more code */ } The problem is that Xrm.Page.getAttribute(creationDateName) returns null when there is a value on the field (the field is not being displayed in form but when looking up it has a value). Funky thing about it is that in my test organization the same code worked like a

microsoft dynamics crm 2011 and php [closed]

徘徊边缘 提交于 2019-12-04 19:18:09
I was assigned to a totally new task and I dont know where to start (well I started here and google of course) Basically I need to send contact information from my website (web form) and insert the data into the leads contacts information in microsoft dynamics crm 2011. Does anyone know how to connect using PHP? I heard is possible with nusoap PHP library but first I want to heart suggestions from all of you, any ideas, links help!!! Your best bet is to create a really light .net web service to interact with. This will allow you the most flexibility in the long run if you want to use more PHP

CRM 2011 GROUP and COUNT

烈酒焚心 提交于 2019-12-04 18:43:14
I am trying to GROUP the CRM records that have the same "Owner" name and also get a count of the records for each GROUP. So I have a DLL that runs on a schedule and pulls the info down from CRM 2011. But I can't seem to get it to group and do a count of the records for each group. For example all the records with the Owner of "Bob" will say Bob you have X records. And any records with the Owner of "Ted" would say Ted you have X records, etc. For every owner there is. Any idea how to do this? This is what I have so far: var linqQuery = (from r in orgServiceContext.CreateQuery("opportunity")

Multilingual solution

时光毁灭记忆、已成空白 提交于 2019-12-04 18:33:41
Two questions, hopefully with similar answers. I'll be releasing a JavaScript package in my solution where the error messages are to be displayed. The problems is that I'll be targeting German, English and French. Possibly, also a fourth language TBD. What would be the nicest way to resolve this? The label names should definitely be localized. Is there a built-in approach to that in CRM 2011? Like a resource table or something like that? My current solution for (1) is to keep an extra web resource with the strings and distributing a different file for each language. I may rebuild it and

How to get all entity's fields CRM 2011?

心已入冬 提交于 2019-12-04 16:43:11
I'm trying to get all entity's fields schema names without query to existing record. I haven't got any idea. Also, How can I get it with QueryExpression, cause it retrieve all fields, which contain some info? Andrii, I'm trying to do something like this var query = new QueryExpression {EntityName = "", ColumnSet = new ColumnSet(true)}; var retrieve = service.RetrieveMultiple(query); If you have the CRM SDK ( http://www.microsoft.com/en-us/download/details.aspx?id=24004 ), you will find a utility called "Crmsvcutil.exe" in the SDK\Bin folder. This executable will generate classes that represent

Where does Microsoft Dynamics CRM store OptionSet values in SQL Server?

你离开我真会死。 提交于 2019-12-04 16:31:18
问题 I'm doing a data migration in to Microsoft Dynamics CRM 2011 and need to perform reconciliations against the source to ensure that everything loaded successfully. To do this I am querying the SQL directly in SQL Server, but I can't seem to find where the OptionSet data is stored. Does anyone know what table(s) it's stored in? 回答1: These are all stored in the StringMapBase table. You'll query via object type code of the entity, attribute name, option set value and language and that'll give you

How to link two records with JavaScript and a n:m relationship

对着背影说爱祢 提交于 2019-12-04 14:31:35
I have a many-to-many relationship between two entities. I know Dynamics CRM creates an intersect table for that in the database. And I know how I can retrieve records with a fetch command from that auto created entity. But now I want to dynamically add new records to that table using JavaScript. Is this possible? I've tried to create a new record for this type, but then I got the following error. The create method does not support entities of type ["relationship_entity_name"]. The JavaScript SDK is not the clearest on this point, but the basics of it is that the SDK does not allow direct

CRM 2011 - Intercepting the Quick search, Fetch xml and query expression don't return the same things?

Deadly 提交于 2019-12-04 13:51:19
问题 I'm creating search shortcuts from the quick search box for certain entities. This is to avoid multiple returns especially when a name could contain a city name. (City searches are relevant, so it has to stay) I'm accomplishing this via a plugin. So a user enters /name Todd Richardson In the search box on the contact entity view. Update This intercepts ( pre-operation stage:20 prevalidation stage:10) the Retrievemultiple request for a contact. End Update Update As requested here is the