I have modified the PROCESS_CHILI_PDF so that it can generate previews of CHILI_TEMPLATES now. In order to generate a CHILI PDF of a CHILI_TEMPLATE record you can take an existing PROCESS CHILI PDF job and then modify it

- Set the YBID to 612 – this is an Old Entourage Template account used as a placeholder yearbook id.
- Set “type” to CHILI_TEMPLATE
- Set the “chili_template_id” to the template you want to generate a template for
After you set up the job you can run the script and it will set an “upload_id” for the new PDFs and JPGs created for the template.
This script is useful if we want to take some load off the CHILI server and store the previews of the CHILI templates in the cloud. Might be a good idea to improve the rendering of the chili template in the future.