Adding Custom Icons and ToolTip to Dynamics 365 Columns in Views

With Dynamics 365 we can add custom icon and tool-tips to the fields in Views. We can add it using the JavaScript through Web resource. Here adding for the optionset field with option values are gold, silver , diamond. Below the steps below to achieve this: Step 1 : Create Web-resources Here for option-set values … Continue reading Adding Custom Icons and ToolTip to Dynamics 365 Columns in Views

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

Invalid Export Business Process Not Activated

While exporting the solution from our Dev environment its got failed with exception as "Failed to export Business Process definition because solution does not include corresponding Business Process entity. If this is a newly created Business Process in Draft state, activate it once to generate the Business Process entity and include it in the solution." … Continue reading Invalid Export Business Process Not Activated