Tag: JavaScript

Howto

HowTo: HTML/JS WebResources

We (developers) have a great feature in CRM 2011 release. If you want to give your CRM application new client side features or controls not available OOB and you want your solution to remain supported, you have to use HTML/JS webresources. This article describes some approaches, tricks and code snippets I found or developed while …

Development, Howto

Dynamics CRM 2013: Step-by-step creating dialog windows

In my previous post, I shared with you how to use Microsoft CRM’s internal function to show a dialog window in Dynamics CRM 2013 inline style. In this post, I will provide a step-by-step guide on how to build your own dialogs in CRM 2013 style.

Development

Show your dialog in CRM 2013 modal style

With CRM 2013, we’ve got one working window without any pop-up windows (lookups, dialogs, e.t.c.). But… only for standard features. What do you do in case you want to use the same approach with the modal windows, as CRM does it? I went through the SDK and found the following article – http://msdn.microsoft.com/en-us/library/jj602956.aspx#BKMK_OpenWebResource. I tried …

Development, Howto

Microsoft Dynamics CRM 2013: Actions walkthrough for .Net and JavaScript developers

I believe that almost every developer for Dynamics CRM has faced a scenario where he/she had to invoke some complex logic on a server side, pass parameters and receive a response back. Before CRM 2013, we used workarounds similar to this one. When Dynamics CRM 2013 was released, we got a solution that would not …

Development

MS CRM 2011: Replacement of textbox with picklist with configurable values

While working with CRM 4.0, I used this trick to solve similar tasks. Today, I had to implement similar functionality and I decided to go the supported way – JavaScript + WebResources.

Development

MS CRM 2011: Open new activity form with ‘Regarding’ field prefilled

I had a task today to open a new task form with the Regarding field prefilled. Based on the SDK description, I tried to use following code to accomplish my task:

Unfortunately, this code failed. I looked for some explanation and found it in the SDK in the same article I mentioned before. The …

Development

MS CRM 2011: How to refresh Associated or SubGrid from Ribbon button

Today I have got requirement – create custom ribbon button placed to Associated View of entity, execute some logic and invoke refresh of grid. Last point was the trickiest one and that’s why I decided to share with approach how to do it.

Customization

MS CRM 2011: Embed context report to left navigation pane

Idea of this blog post is how to embed report to left navigation pane of Crm editing form. I have found this brilliant post which describes how to embed report into IFrame located on Crm editing form and I took this post as basis for current post.

Development

MS CRM 2011: Extended handling of Save events in Microsoft Dynamics CRM 2011

About 1.5 ago I wrote post which describes how to work with additional parameters during save of form. I decided to go through all available standard forms and create extended list of available parameters.