Extend More than 10000 records Export to Excel through Advanced Find

Through Advanced find in CRM ,maximum we are able to export the records 10000 only. If we want to export morethan 10000 records then there is no OOB way. Below is the soloution to export the records more than 10000. By default in crm for organisation entity have field "maxrecordsforexporttoexcel" value will be 10000. If … Continue reading Extend More than 10000 records Export to Excel through Advanced Find

GetOptionValues of Multiselect Option set Field in C# CRM

Day to Day Dynamics CRM going very interestingly with lot of exciting features. One of the interesting features is Multiselect Optionset Field. In my previous post contains Get / Set Value to MultiSelect Option set Field   and Limitations of Multiselect. Here posting the Get Value of multilselect Optionset Field in C#. Create optionsetCollection. Guid contactid = Guid.Parse("3C79AC20-45BA-E811-A96D-000D3A1CA7D6"); Entity … Continue reading GetOptionValues of Multiselect Option set Field in C# CRM

Read Local Text file and Insert in to Data Table.

For the below method pass the file path and it will returns the data-table which contains text data. #region Load Data into Data Table public DataTable GetDataSourceFromFile(string fileName) { DataTable dt = new DataTable("opportunity"); string[] columns = null; var lines = File.ReadAllLines(fileName); // assuming the first row contains the columns information if (lines.Count() > 0) … Continue reading Read Local Text file and Insert in to Data Table.

Read Text File data and Insert in to CRM

Reading the Local text file data and inserting the data into CRM. Here we have created console application by adding all the references. Step 1: Create Console Application  Vs > File > New project > Console Application (ExampleFileReader). Replace program.cs class name with LoadData.cs Add below References to the project. References : Step 2 : … Continue reading Read Text File data and Insert in to CRM

Metadata contains a reference that cannot be resolved : ‘https://disco.crm8.dynamics.com/ XRMServices/2011/Discovery.svc?wsdl&sdkversion=9’.

This error is facing while connecting to dynamics CRM from console application because this problem occurs when the client computer cannot send an HTTP request. The client computer cannot send the HTTP request because the connection has been closed or is unavailable. And Today I realize that My DB server was using TLS1.2 not SSL as a protocol to … Continue reading Metadata contains a reference that cannot be resolved : ‘https://disco.crm8.dynamics.com/ XRMServices/2011/Discovery.svc?wsdl&sdkversion=9’.