show all of the open Activities on the General page as well. That was as simple as adding an iframe and building a Url to point to the Activities;
//Only use on the edit form
if (crmForm.FormType == 2)
{
//Set the dropdown to Follow Up
document.getElementById("followup_context").selected = true;
//Call the onchange event of the dropdown
RelatedInformationPane.LoadContextData();
//Get the current Account's Id
var objectId = crmForm.ObjectId;
//Get the Security Token
var securityId = crmFormSubmit.crmFormSubmitSecurity.value;
//Load the iframe
document.getElementById("IFRAME_Activities").src = "/sfa/accts/areas.aspx?oId="
+ objectId + "&oType=1&security="+ securityId +"&tabSet=areaActivities";
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment