Monday, September 23, 2013

What is Queue definition in Microsoft CRM?

Queues are places in organizing, prioritizing, and monitoring the progress of your working items in CRM.

In CRM following entities are enabled for Queues by default:
Appointment
Campaignactivity
CampaignResponse
Email
Fax
Incident
Letter
PhoneCall
RecurringAppointmentMaster
ServiceAppointment
Task


Reference:
http://msdn.microsoft.com/en-us/library/gg328459.aspx

Wednesday, September 18, 2013

How to solve problem "Metadata contains a reference that cannot be resolved" while try to create connection with CRM server?

First of all, check the url if correct. If wrong url, will get this error.(http://{}/{orgName}/XRMServices/2011/Organization.svc)
If cannot find the problem, run CrmSvcUtil with enabled tracing information by
CrmSvcUtil.exe.config













Will get detailed error information

How to implement paging by LINQ

            int numberOfObjectsPerPage = 5001;
            int pageNumber = 1;
            var queryResultPage = acountlist
              .Skip(numberOfObjectsPerPage * pageNumber)
              .Take(numberOfObjectsPerPage).ToList();