May 13, 2013

"On or Before" and "On or After" conditions inside FetchXML Reports

Using the Advanced Find function in CRM 2011 is a common way for developers to generate FetchXML to be used inside reports, specially for CRM Online environments where FetchXML is the only way to query the data.
In this example our goal is to create a report that will show all the appointments with start Date on or after the report execution date.

April 30, 2013

April 18, 2013

April 16, 2013

April 8, 2013

Disable CRM 2011 Form Assistant for selected fields

the Form Assistant is a useful feature that allows to populate some lookup fields by providing a list on the right side of the form.



It's possible to disable completely the Form Assistant, but there is a way to disable the functionality only for some fields of the form?

To achieve this result we need to manipulate the DOM with JavaScript,

March 21, 2013

Retrieve fault entity IDs when performing ExecuteMultiple

One of the new features introduced inside CRM 2011 Update Rollup 12 is the ExecuteMultipleRequest message in order to perform bulk data operations. More information can be found at this address:

Use ExecuteMultiple to Improve Performance for Bulk Data Load

When the ContinueOnError property is set to true the service will not stop if there are faults, but how we can retrieve the fault entity IDs?

We need to rely on the RequestIndex property inside ExecuteMultipleResponseItem object, the RequestIndex indicates the corresponding request.

March 15, 2013

Dynamic navigation links using supported customizations

Consider for example the following scenario:
We need to add a link inside the left navigation panel to display an HTML Web Resource or an external URL, with CRM 2011 can easily done using the form editor as shown in the following figure



but is possible to build a dynamic URL? Yes, it is possible and more important can be done in a supported way.