Missing Activities and Closed Activities navigation bar item on Form during customization.


Hi,

Recently we had to reorder the navigation link that appears for one of our entities form. Basically we wanted Activities and Closed Activities to be the last one there in the left navigation pane.

However while opening our form for customization, the links for the activities were missing.

This blog post came to our rescue

http://blog.customereffective.com/blog/2011/09/how-to-get-the-microsoft-crm-closed-activities-nav-bar-link-back-if-you-delete-it.html

Hope it helps.

System.Exception: Action Microsoft.Crm.Setup.Server.InstallConfigDatabaseAction failed. —> System.Data.SqlClient.SqlException: Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement.


 

Got this error while installing CRM 2013.

Following post helped in fixing the issue.

http://stackoverflow.com/questions/15488922/connection-to-sql-server-works-sometimes

https://community.dynamics.com/crm/f/117/t/115384.aspx

Hope it helps.

“Save and New” button in CRM 2013.


After upgrading the existing CRM 2011 solution to CRM 2013 we found out that Save and New button is missing while creating related child records.

The way we got it back was to open the solution in Ribbon Workbench and Customizing the command for Save and New button.

 

And removing the Mscrm.HideOnCommandBar rule.

 

 

Hope it helps.

Unable to get property ‘get_element’ of undefined or null reference in CRM 2013.


Hi,

We were getting this error, while trying to add a new related child record through sub grid.

Only for few users with a specific role, we were getting this error. Installing the update rollup 2 fixed the issue.

http://cupofdev.com/crm2013-rollup2-fixlist/

http://www.microsoft.com/en-in/download/details.aspx

Hope it helps.

An item with the same key has already been added error while importing solution in CRM 2013


Hi,

Recently while importing a solution from dev environment to test environment we were getting this error.

This error occurs when we have some kind of mismatch among the attribute in both the environment for e.g. same attribute is created in both the environment with different datatype.

After comparing the dev and test environment, we realized that the Schema Name for one of the field was different in dev environment.

i.e. lss_Client_agress_to_LSSContract in test and lss_client_agress_to_lsscontract in dev

So we removed the field from form and deleted it in our dev environment.

After that import worked properly.

Hope this helps

Refreshing the Web Resource in CRM 2013.


In one of our Entity’s Form we were using HTML Web Resource and this HTML web resource was showing values of the attributes in that form.

Now in CRM 2011, after we save the record the form reloads and so our web resource was picking up the new values saved.

However in CRM 2013, on save, as the form doesn’t reload, the values were not getting updated in the HTML Web Resource.

So the solution was to refresh the Web Resource using Jscript on the On Save event of the form.


function refreshWebResArea() {

var webResArea = Xrm.Page.ui.controls.get("WebResource_Name");

webResArea.setSrc(webResArea.getSrc());
}

Hope it helps.