- Showing entities in an iFrame
- Posted by Chaitanya on July 11th, 2006
var navActivityHistory;
navActivityHistory =
document.all.navActivityHistory;
if (navActivityHistory != null)
{
navActivityHistory.style.display = "none";
document.all.IFRAME_HistoryFrame.src="/sfa/conts/areas.aspx?oId=" +
crmForm.ObjectId +
"&oType=2&security=852023&tabSet=areaActivityHisto ry";
}
else
{
alert("navHistory Not Found");
}
The above code is used to retrieve specific information into an iFrame.Can
anyone tell me what the variable "navActivityHistory" is used for?? Is it a
pre-defined variable in CRM?? why r we using it in "document.all.*".
And,what is tabset...can u give a brief description about this!!!
Thank You
Chaitanya.
- Posted by Jo Savidge on July 11th, 2006
The navActivityHistory hides the Activity History navigation bar - this code
will add the activity history screen to the contacts general screen when
added to an onload event.
"Chaitanya" wrote:
- Posted by Chaitanya on July 11th, 2006
Hi Savidge,
Thanks for the reply...!!!
I would also like to know how to use a variable in other
circumstances.Like...if i want to display contacts...i used "navContacts" and
it worked.But,when i used "navOpportunityProducts" to display products in an
iFrame in the "Opportunity" window...it failed.So,plzz give me the exact way
of using that variable.And,also tell us something about "tabset".
"Jo Savidge" wrote: