A new version has been released today.
Revision details
Added support for environments with Lightning Web Security enabled.
When Lightning Web Security is enabled in an organization, it can now be used with OFC.
Enable Lightning Web Security in an Org
Changed test output on the OFC_Template record screen so that it no longer navigates away from the page.
- The screen transition that used to occur during test output from the OFC_Template record screen has been changed so that the screen transition does not occur. This eliminates the need to re-enter the record Id entered for testing.
- A PDF preview button has been added to the OFC_Template record screen when the output format is PDF. In addition to file output, PDF preview is available in the browser.
Added PDF preview support for PDF output from a custom button.
PDF preview is supported for PDF output from custom buttons. You can preview the button by changing the "save=file" option to "save=preview" in the "Custom Button URL (Save to File)" in the OFC_Template record.
Custom button URL (save to file)
/apex/genofc__OFCOut?ns=genofc&template=test4&id={!Opportunity.id}&save=file
URL for PDF preview
/apex/genofc__OFCOut?ns=genofc&template=test4&id={!Opportunity.id}&save=preview
*Preview is only available for PDF output, not for Excel, Word, or PowerPoint.
*Preview is only available from custom buttons, not from Lightning Component buttons or flows.
Added support for the LF newline code in PDF output, in addition to the existing CRLF.
- In addition to the current line feed code CRLF, LF line feed code is now supported for PDF output.
Improved the output of error details for some error messages.
- When an error occurs, the error details of some error messages are now output.
Bug Fixes
- Fixed a bug in Excel output where output failed with an error when a child record had no merge fields.
- Fixed a bug where some ruled lines were not output in PDF output.
Version
Paid version Ver1.23
Free version Ver1.26
Version Upgrade (for existing users)
Existing users' organizations have been automatically upgraded to the latest version.
*In rare cases, the automatic version upgrade may fail. If you cannot use the new functions, the version is still out of date, so please upgrade manually. Click the "Get It Now" button on the product page to install the new version.
Demo
PDF preview on OFC_Template record screen
PDF preview from custom buttons on Opportunity record screen

