Wednesday, May 27, 2009

CRM: Easy IFrame

A client asked: Is there a way to show the contacts related to an account on the Account form?

Yes, this can be done using the IFrame functionality of CRM. See below for details:

* Create a new tab using Settings > Customizations > Account. This will be used to hold the IFrame with the related contacts. Add a section to the tab.

* Create an IFrame on the account form and name it "ContactFrame" (no quotes).

* Set the URL to "about:blank" (no quotes).

* Check "Pass record object-type code and unique identifier as parameters".

* Uncheck "Restrict cross frame scripting"

* Select the new Related Contacts tab / Contact List section to display the contacts.

* In the Form Properties > OnLoad event, add the following JavaScript:

var navContacts; navContacts = document.all.navContacts; if (navContacts != null) { navContacts.style.display = "none"; document.all.IFRAME_ContactFrame.src="/sfa/accts/areas.aspx?oId=" + crmForm.ObjectId + "&oType=2&security=852023&tabSet=areaContacts"; } else { alert("navContacts Not Found"); }

Save and publish this change. Go to the Workplace and open an account. Any related contacts should show in the Related Contacts tab.

2 comments:

lin liyi said...

Its real than a timeless search, when we will obtain replica watches sale that will discuss with a strong tool nobody can tell you toughness certificates of your products and solutions, could supply healthier sensation with basic safety in regards to this kind of choice. The advantage of web pages presenting set internet streaming is definitely that these are curated web pages to get loads of flicks, fake tag heuer and perhaps preferred courses. Considering getting it training video information is often time-consuming as well as serious iwc replica sale live on a lot of blank disc space or room, serie internet streaming is very much quite a sensible resolution. You may opt for precise bandwidths to get internet streaming in addition. Decide on a web-site that promises excellent hublot replica uk and it's pest absolutely free. Your convincing internet streaming web-site has your commentary sections. Finding your way through a assessments created by way of hublot replica uk ensure that you get a preview for the different watches you desire to get a hold of plus over-all company a higher standard the positioning.

hutobenlykadiny said...

This can be somewhat expensive. As well as the inclination anytime loving wristwatches will be to require an increasing number of of those mainly because every different embodies specific to it layout plus function. Very little check out aficionados an individual interact with definitely will take pleasure in how big is ones own arranged. You will discover generally various they really want. And that is not an proof of these deficit of need for ones own existing range, but instead just purpose to the fact that want art form replica breitling transocean, each individual arouses selected sentiment during the dress yourself in, or simply not less than, has a various functionality (dressy, pursuit, scuba dving, bling). For the also part, furthermore there ended up some certainly decent and additionally rare watches I got to put on. It could be the same sense I useful to get once reading van catalogues. You had learned about concept or maybe new brands all 365 days, and next, i show close to the watches and see them.