dynamics-crm-2011

Version Control for Visual Studio projects and MS Dynamics CRM (javascript)

雨燕双飞 提交于 2019-12-24 08:26:42
问题 I'm looking for Version Control that warns a use when opening a file if that file is being modified by another user. Is this possible? We also use Microsoft Dynamics CRM 2011 and are looking to use some kind of version control for the javascript files. Does someone has experience with using Dynamics CRM and version control? Thank you for any information! 回答1: You could implement this in Team Foundation Server (TFS) or other version control applications that support single checkout. You will

How to run ondemand workflow over all pages

假如想象 提交于 2019-12-24 05:54:09
问题 I have to run an ondemand workflow over my custom entity, lets say i have 1 million records, so how can i run this work flow over these records. since, as far as i know we can only select the record and from ribbon click run workflow and specify it. In this way for max in single try, i can only select one page records and hence limited access any idea? 回答1: You cannot do that with the UI. The simplest approach would be with a small program which selects all records and trigger the workflow

Select a percentage of records using CRM 2011 Dynamic Entity

江枫思渺然 提交于 2019-12-24 05:05:50
问题 I'm developing service which consumes CRM 2011 data via dynamic entities (as in, Microsoft.Xrm.Sdk.Entity, the late-binding method). I'm deliberately not using Xrm.cs method (early binding) in an attempt to keep my solution generic. Also, I want to avoid connecting to a CRM database directly (e.g. EDMX) as this would stop my solution being usable for a hosted CRM (e.g. with no direct DB access). I have the following (simplified) requirement, I'm really struggling with the selection criteria:

Select a percentage of records using CRM 2011 Dynamic Entity

别来无恙 提交于 2019-12-24 05:05:01
问题 I'm developing service which consumes CRM 2011 data via dynamic entities (as in, Microsoft.Xrm.Sdk.Entity, the late-binding method). I'm deliberately not using Xrm.cs method (early binding) in an attempt to keep my solution generic. Also, I want to avoid connecting to a CRM database directly (e.g. EDMX) as this would stop my solution being usable for a hosted CRM (e.g. with no direct DB access). I have the following (simplified) requirement, I'm really struggling with the selection criteria:

Hide Ribbon Button Crm 2011

我只是一个虾纸丫 提交于 2019-12-24 04:10:52
问题 I have to hide a ribbon button when the owner of the record isn't the current user. I'm using Visual Ribbon Editor for CRM 2011 however I didn't find out the solution yet. I tried to use Field rule ValueRule but it just allows me to put a bool value (1 or 0). Can anyone please tell me how can I do that? Thank you in advance! 回答1: Add a Enable Rule like this: <EnableRules> <EnableRule Id="YourEntity.Form.XXX.MainTab.XXXXXXXXXX.CustomRule" /> </EnableRules> Rule Definitions as below:

Loading associated entities in one query

守給你的承諾、 提交于 2019-12-24 03:07:53
问题 I have the following code which works but I believe it is performing multiple look ups just to get the "Account" entity that is associated with my custom "Project" entity. Is it possible to specify which associated entities you would like populated without having to loop through the initial result set? public IList<new_project> GetAssociatedProjectsByPostcode(string postcode) { FilterExpression filter = new FilterExpression(); filter.FilterOperator = LogicalOperator.And; filter.AddCondition

Access Dynamics CRM 4 SPLA (IFD) DiscoveryService from CRM 2011 IFD

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-24 03:07:28
问题 We have just upgraded from Microsoft Dynamics CRM 4 to Microsoft Dynamics CRM 2011. Most of the upgrade has gone smoothly, however I have some custom code (written for CRM 4) which uses the CrmDiscoveryService at the URL "https:///MSCRMServices/2007/SPLA/CrmDiscoverService.asmx" which worked fine on our Dynamics CRM 4 server but not with out Dynamics CRM 2011 server. Our Dynamics CRM 2011 server is set up On Premise, as an IFD deployment. On the actual Dynamics CRM 2011 server box I can

Using JS to get a particular entity

て烟熏妆下的殇ゞ 提交于 2019-12-24 02:06:12
问题 I have entities called RegisteredUser and RegisteredApplication. RegisteredUser has a required field called new_applicationid that is populated using a Lookup that targets the RegisteredApplication entity. So, when I'm creating a new user using the form in CRM I have to click on the lookup, find the relevant application and then Click on OK. My problem is: there is only one RegisteredApplication at the moment and I would like to have the Lookup prepopulated when the form loads. I guess I'm

Import Multiple Records Into CRM

我是研究僧i 提交于 2019-12-24 01:08:15
问题 How do you import thousands of records into CRM? I have a list with possible thousands of records and want to create the records in CRM. Currently I have a method that receives the list calls another method that creates the records in batches of 200 until the whole list is created. Originally it was 1000 at a time as this is the limit for ExecuteMultipleRequest, but that was timing out at times. Increasing the limit for ExecuteMultipleRequest is not an option. This method is passed the entire

early bound classes usage

丶灬走出姿态 提交于 2019-12-24 01:03:59
问题 Please excuse any irritation that may come through. So after using the early bound classes for a while now our team has noticed some cons that make early bound classes pretty useless. Issues: Slow, since it has to connect to a ws and get over http, even thought it's running in the same process as the rest of the system. Causes sql deadlocks when attaching to CREATE message in a plugin. Any slight change to the system and the classes need to be regenerated and things break. So when are they