Show all of the open Activities on the General page

by Bill Owens 22. May 2008 18:20
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";
}

Tags: ,

Page List

About the author

I work for a consulting firm in Dublin Ohio called Affiliated Resource Group. For the last five years I have been spearheading our Microsoft Dynamics CRM practice. I have a deep appreciation for the Microsoft CRM platform and I am very excited about it. You might even describe me as a Microsoft CRM Advocate. I have many battle scars from my experience with the product and I’m constantly being asked questions about CRM and how-to-do something in it. Hence, this BLOG is to help disseminate that knowledge and information to everyone. As of last year I was posting links to many other blogs to help spread the knowledge, but now with the community.dynamics.com doing that for me, I will be following that practice unless a really juicy article catches my eye. Many people have asked where my post are for the first half of 2010, my company had me posting to another blog and maintain two was near impossible. I am now down to just this blog. So good luck and I hope that this blog may help in some way. If you have suggestions or questions, please email me them.

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2012 BillOnCRM