Question: I would like to create a button that will create a Crystal Report for
the ‘current entity’ in SalesLogix v7.5.2 Web instead of having to go to
the Reports menu. Is there already code for this that you could share?
Answer: There is a Reporting API that you may find helpful. As an example, you
can use this API to add a button to a quickform and JavaScript code in
the OnClientProperty:
ShowReportByName(‘Contact:
More example API Usage:
/* Display the ‘Contact:Contacts By Lead Source – Sample’ using the current entity. */
javascript:ShowReportByName(‘
/* Display the default report associated with the current entity. */
javascript:ShowDefaultReport()
/* Set the current default Contact report to ‘Contact:Contact Summary – Sample’ and then display it. */
javascript:SetContactReport(‘
/* Display the report associated with the ID ‘p6UJ9A0004SD’ (i.e. Contact:Contacts By Account – Sample). */
javascript:ShowReportById(‘
/* Display the ‘Contact:Contact Address Book – Sample’ report for the Contact John Abbott. */
javascript:ShowReport(‘



