Hi All-
We're using Sage CRM 6.1 (which now includes the Extensibility Module) and I am creating a new Company tab that shows all persons with either a primary or secondary relationship to the Company. The new tab uses the ASP code below..
However, the "New" button that is generated on the tab does not work ("SQL Error") and does not look like the one on the regular People tab, "New Person" button.
Does anyone know how to add the "New Person" button to a custom ASP page?
Thanks
We're using Sage CRM 6.1 (which now includes the Extensibility Module) and I am creating a new Company tab that shows all persons with either a primary or secondary relationship to the Company. The new tab uses the ASP code below..
Code:
<!-- #include file = "accpaccrm.js" -->
<%
ThisCompanyId = eWare.GetContextInfo('Company','Comp_CompanyId');
PeopleList = eWare.GetBlock("PersonListBlock2");
SearchSql = "Pers_CompanyId=" + ThisCompanyId + " OR Pers_altcompany=" + ThisCompanyId;
eWare.AddContent(PeopleList.Execute(SearchSql));
Response.Write(eWare.GetPage());
%>
However, the "New" button that is generated on the tab does not work ("SQL Error") and does not look like the one on the regular People tab, "New Person" button.
Does anyone know how to add the "New Person" button to a custom ASP page?
Thanks