Wednesday, May 21, 2008

Displaying CRM 4.0 form field and tab

Here is the blog post if you want to hide the fields

To display a CRM form field, the below scripts must be used:
crmForm.all.new_field_c.style.display = "inline";
displays the label and

crmForm.all.new_field_d.style.display = "inline";
displays the TextBox.

Similarly to display a tab use
crmForm.all.tab1Tab.style.display = "inline";

Note: These are unsupported customizations.

Hiding CRM form fields and tabs

If you're looking for Display a hidden field or tab - Direct Here.
These apply to Microsoft Dynamics CRM 4.0. Note - These are unsupported customizations and may not work on CRM Upgrades.

Avoiding Scenarios where you can apply this functionality, I am just getting down to it. Depending on your requirement you may want to do one of these.

Let me take one at a time:

Hiding CRM form field:
Suppose that field's schema name is "new_field".

This is used to hide the textbox
crmForm.all.new_field_d.style.display = "none";

Use this to hide the Label
crmForm.all.new_field_c.style.display = "none";
Note '_d' and '_c', they are important.

Hiding CRM tabs:
The General tab is common to all and you may never want to hide this tab. The custom tab(s), the one right next to the general tab takes the value "tab1Tab", next to this on the right takes the value "tab2Tab" and so on.

Apply this nugget to hide the 1st tab next to the general tab.
crmForm.all.tab1Tab.style.display = "none";

This is about hiding them, just in case you want to seek them.

Note: These are unsupported customizations.

Wednesday, May 7, 2008

URL Addressable forms and views

My personal favourite Dynamics CRM feature is the Addressable Forms and Views. CRM Forms and Views are URL Adressable. In simple words, the Forms and Views (Grid Views) have their unique URL. They can be directly referred using their URLs. This flexibility is provided so that customizers can embed these Forms and Views in other applications in case of any integration.

You can simply achieve this by clicking

More Actions -> Copy Shortcut -> Of Current View
in case of CRM Views


and
Actions -> Copy Shortcut
in case of CRM Forms.

Monday, May 5, 2008

On April 08

Ah! About a week late on updating about Novice events this April. That should make you understand that I had been a little busy, both on and off work.

The Sun is shining bright, the humidity is unbearable already and is expected to rise. Summer fall was late this year. Thank God.

April was fantastic month. Attended the MOSS Conference and the Microsoft Dynamics CRM 4.0 (Titan) launch event. A two day long conference was enough to gel along with a bunch of IT geeks at the MOSS Conference in Middle East. Joel Oleson, Todd Klindt, Patrick Beeharry, Eray Chou are few to name. They were all amazing. Any hitch in Sharepoint? Contact them. You owe me for marketting you. hehehe. I am sorry, but I just had to write about you guys.

Another short and sweet event was the Microsoft Dynamics CRM 4.0 launch. Short and sweet as it lasted 5 hours. Between these events were the satisfying part. The nourishment and refreshments provided via snack grabs and lunch.

Looking forward for more snack grabbing events, oh! I mean conferences, trainings and launch events. Damn! I must get over being foodie crazie!!!!!!!