Loading...
Loading...
CSM Case Digest / Post Case Review does not honor font styles applied using the Tiny-MCE editor options.
Go to post case review(sn_csm_case_digest_pcr) record (PCR). Click on "Preview", it generates a PDF. Try to change the font style on PCR record on any field from tiny-mce options (e.g: Summary). Click on Preview, the font style is not honored. Same happens for Polish letters too. Workaround 1. Go to "sys_pdf_generation_font_family" 2. Create a record, give any name, add attachments for required font styles in ttf/otf formats, more than one font style is possible. 3. Go to sn_csm_doctemplate.CSPDFUtil, override the "_createPDF" method to pass the above created font family "sys_id" as a last param to the "PDFGenerationAPI().convertToPDFWithHeaderFooter" E.g: new sn_pdfgeneratorutils.PDFGenerationAPI()).convertToPDFWithHeaderFooter(docBody, tableName, sysId, fileName, map, this.fontFamilyID) 4. Click Preview, the font style selected on PCR field should get applied. Ref. PDF generation: https://docs.servicenow.com/bundle/tokyo-application-development/page/app-store/dev_portal/API_reference/PDFGenerationAPIBoth/concept/PDFGenerationAPIBothAPI.html
PRB1590567
Click on a version to see all relevant bugs
ServiceNow Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.