Document generation using 1-Click PDF is possible via two approaches:
- Button in a ribbon on top of grid or form:
- Button from within the form
Approach 1: Button in a ribbon on top of the grid or form
1-Click PDF button displayed at top of a grid:
On clicking 1-Click PDF button from the top ribbon of the grid, a pop-up window will open up with the available reports. Please follow below steps to generate the PDF:
- Select Report
- Select Action (Download, Attach to email, Attach to notes)
- Select File format (PDF, Word, Excel)
- Select single or multiple records and click
- Enter the file name (optional)
Please note that in case of a grid, the data will be filtered by the record/’s selected in the grid. However, if no records are selected then no filter is applied.
In case of the form, the data will be filtered by the current record.
1-Click PDF displayed in form ribbon:
Approach 2: Custom button from within the form (requires 1 click only)
This approach requires just 1 click and the add-on will execute all the steps required for generating the pdf automatically. You can add as many buttons on the form as needed.
A configuration record is to be created which stores the report name, file format (PDF, word, excel), the action required (open, download, attach to email, attach to notes), file name. This configuration record is then linked to the button on the form.
So on click of the button, the add-on automatically gets the information from the configuration and directly executes all the steps (which earlier had to be done manually).