Handle back and forward buttons.

Whenever we make use of large number of custom pages in our customization it is very usual to see the crashing issues on back and forward buttons. Normally what happens is, whenever we make use of custom pages we need to create our custom URL’s for the same. Due to this sometimes we may face… Read More »

Error in Lead Upload

CRM provides the standard way of uploading leads from excel sheet. Sometimes you may face the problem with the leads not getting uploaded properly. Thinking from all the direction you may come to the conclusion that this is the issue with the CRM, but it is not. It is related with Security rights to Microsoft… Read More »

EOleException error while executing Procedure

You must have seen this irritating error while executing Stored Procedure from Workflow Action. EOleException: Procedure or function TESTSP has too many arguments specified. Solution: The point is that, when Stored Procedure gets executed from the Workflow action, CRM appends default parameters to the Execute Procedure statement. So we have to declare these parameters at… Read More »

Interesting fact about Values () collection:

Let’s consider the case of creating new opportunity as an example. Consider that you want to set value of oppo_description field based on oppo_type field i.e. say you want to set description field to “Hello World” if oppo_type is set to parts. Now normally what comes in our head to incorporate this is something like,… Read More »

Create Same Company in another Database

When you create a company in your CRM database and at the same time looking to create the same company in another CRM database, then you can do this by defining below trigger for your source database: CREATE TRIGGER trig_insert_CompanyON [CRMSOURCEDB].[dbo].[Company]FOR INSERTAS DECLARE @Company_Id AS INTEXEC @Company_Id = [CRMDESTDB].dbo.eware_get_identity_id ‘Company’ INSERT [CRMDESTDB].dbo.Company (comp_companyid,comp_name,comp_type)SELECT @Company_Id,comp_name,comp_typeFROM inserted