CRM 2011 – Show Time Field Only

Posted by on May 6, 2014 in CRM 2011, Customizations, JavaScript |

I had a requirement to Show only Time portion of the date field in CRM as we had to schedule classes and the dates weren’t relevant just the times.

Here’s the function I’ve setup to hide the date portion of the field. unfortunately we’ve had to hide it using DOM manipulation as there is no way using the CRM SDK.

It’s a bit of a hack but it works. Tested with UR16.


Read More

CRM 2011 – Notes Aggregator. Get notes from Account, Leads and Opportunities

Posted by on Nov 7, 2013 in CRM 2011, JavaScript |

We have developed a notes aggregator control that gets all the associated notes and Activities against the Account, Opportunity and Originating Lead. This was developed in AngularJS framework along with the datatables jQuery plugin.  Contact me for more information or details.



Filtering notes only for the related Lead and Opportunities against the account.


Filtering only against the Originating Lead from the Opportunity.


Read More

SharePoint 2013 – Open a Modal Dialog using Javascript

Posted by on Oct 18, 2013 in JavaScript, SharePoint 2013 |

Here’s the JavaScript function I use to open SharePoint dialogues:


Read More

CRM 2011 – Set IFRAME Loading screen

Posted by on Oct 17, 2013 in CRM 2011, Customizations, JavaScript |

So we needed to set an IFRAME loading screen before loading our custom webpage from Sharepoint instead of the blank white page while the sharepoint app pool is starting up.

iframe loading

These are the javascript functions I used:


Read More

CRM 2011 – Get Entity Type Code using Javascript

Posted by on Oct 16, 2013 in CRM 2011, Customizations, JavaScript |

So while developing a solution for a customer I had hard-coded the etc codes for each entity not realising that once deployed on the new system the entity/object type codes for each entity may change on the destination system.

Real life saver!



Read More

Mini Preview Window for Contact Lookup Field

Posted by on Mar 9, 2010 in CRM 4.0, JavaScript |

Preview Field

Looks cool doesn’t it. well here goes nothing..

to achieve the above you will need the following (click read more link..)

OK, this is what needs to be edited if you need custom attributes listed in the preview window.

you may edit the following code block:

“Business Phone” represents the label on the preview form
“telephone1″ is the attribute on the contact entity

I have uploaded a text file with all the code at:

This code is pretty self explanatory.. however if you need some help, email me or post a comment :)

Read More
%d bloggers like this: