Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sage CRM ASP Customizations

Status
Not open for further replies.

kenaruj

Programmer
Jun 2, 2006
16
US
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..

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top