Microsoft Dynamics CRM is a multilingual Customer Relationship Management software package developed by Microsoft. It has built in support for Sales, Marketing and Service. It can be used as an xRM platform.
Say I have the following code that inserts users into MS Dynamics in a MVC Application:
public bool CreateContact(string email)
{
if (crm.contacts.Count(x => x.Email == email) > 0)
return false; //Email already exist in the Crm. Skip
…
As I've learnt from my google searches, MSCRM 2011 retrieves maximum 5000 entities but I want all my entities from a marketing list. As written on the web creating "TurnOffFetchThrottling" field on HKLM\Software\Microsoft\MSCRM and set a value as 1…
I tried to generate Java code using 'Apache Axis2 Tools Code Generator Wizard plugin for Eclipse 1.6.2', and got an error below
A error occurred while completing process - java.lang.InterruptedException:…
Im getting a "The method 'Join' is not supported" error... Funny thing is that i simply converted the 1st LINQ into the 2nd version and it doesnt work...
What i wanted to have was LINQ version #3, but it also doesnt work...
This works
var…
I have been setting up some unit tests for a service which surfaces Dynamics CRM 2011 data via the SDK and using Mocks to simulate the transactions. This works ok for most of the simple transactions, however, now I need to test a method which…
In my CRM database, I have two entity groups, A and B, linked by an m:n-relationship. There are many instances of entity A each linked to several instances of entity B. For a particular entity, let's say an an instance of entity A, how do I get all…
I am using Microsoft Dynamics CRM 2011 and I need to create an Annotation and attach it to a Lead within JavaScript. At the moment I have an object similar to:
var note = new Object();
note.subject = "some text";
note.notetext = "some other…
I'm trying to use the OrgDBOrgSettings tool to access an online CRM 2011 Org. I downloaded it and modified the config, per instructions, using the sample online config provided as a guide. It's not clear what some settings should be and I ended up…
I wonder about that can I write native SQL to add or delete operations instead of using Query Expression or FetchXML etc. I know Query Expression is very useful but my real concern is performance and I've thought writing SQL can be faster than the…
I am opening a popup window from CRM 2011 for Outlook. The problem is I need the user to be able to print. If you do it from IE the browser print menu is available but from Outlook it is not. You just get a plain window. Hitting the Alt key does…
I'm trying to establish 2 left outer joins in fetchXML. Can I accomplish this sql statement...
select
a.new_campaignid
, a.new_ContactId
, b.new_campaigncontactstatusId
from
new_ContactCampaignNN AS a
left outer join new_campaigncontactstatus…
This is more of a general question on design approach rather than a specific programming challenge. We have a business need to schedule resources, but to reduce travel costs we need to be able to schedule resources for a customer's appointment that…
I use the following solution on CRM 4 in order to colorize the CRM grid, depending on the values of several fields. It works fine, except the rows are not highlighted with a different color anymore when they are selected.
This is the usual…
I have an Orders table that stores the Ordernumber as NVarChar. We manually increment the order number by querying for the biggest order number ordering in descending order and returning the top 1 and then adding 1. We have this implemented in…
How do I build a CRM SDK QueryExpression where the values of two columns are combined to a new one? In MySQL, my query would look like that:
SELECT *, (`latest_maintenance`+`maintenance_interval`) as `next_maintenance` FROM `servers` ORDER BY…