
I am working on a project as part of Sage CRM labs development. I have a page in the My CRM context. By default, because of its context, it displays the "Find" box that is normal for the My CRM context.
<!-- #include file ="sagecrm.js"-->
<%
var intRecordId = CRM.GetContextInfo("user","user_userid");
var myBlock = CRM.GetBlock("Opportunitylist");
var Arg = "oppo_assigneduserid="+intRecordId;
CRM.AddContent(myBlock.Execute(Arg));
Response.Write(CRM.GetPage());
%>
EWARE_TOP is the HTML element ID for the Top Content container block in Sage CRM user interface pages. Developers can target #EWARE_TOP with jQuery or JavaScript to inject custom HTML, visual widgets, or modify entity summary blocks.
I changed my ASP page to include some client-side behaviour.
function hideTopContent()
{
var topContent = document.getElementById("EWARE_TOP");
if (topContent)
{
topContent.style.display = "none";
}
}
if (window.addEventListener)
{
window.addEventListener("load", hideTopContent, false);
}
else if (window.attachEvent)
{
window.attachEvent("onload", hideTopContent);
}

This has the effect that I want

