Adding a Print button to a page
This example adds a Print button to the Lead Summary screen.
- Click <My Profile> | Administration | Customization | Primary Entities | Lead | Screens.
- Click the pencil icon beside Lead Custom Screen.
- Add the following script to Custom Content:
<script>
crm.ready(function()
{
crm.addButton('print');
});
</script>
- Click Save.
This script prints the contents of the HTML <div> element whose ID is EWARE_MID. All other elements of the HTML page are not printed.