Thursday, November 20, 2008

Control the Form Assistant Pane in CRM 3.0

One of the tasks that our guys had to do was to check how to get the form assistance expanded when a crm Form is loading. We searched the net and found some links. but some of them didn't work.

However Dmitri's blog contained a different was and when we incorporated it we got what we were looking for.

Simple we had to put the following java script to onload event of the form.

// to make sure it loads lookup data, if you want it expanded
if (document.all.RelatedInformationPane != null)
document.all.RelatedInformationPane.LoadContextData();

if (document.all.RelatedInformationPane != null)
document.all.RelatedInformationPane.ToggleInformationPane();

Thanks Dmitri. Following is his link.
http://devsturgeon.blogspot.com/2008/04/controlling-form-assistant-pane-on-crm.html

No comments:

Post a Comment

Retrieving Calendar of a Bookable Resource in Dynamics

There are occasions where we need to retrieve working days and working times of a resource in Dynamics grammatically. This is quite possible...