Itâs a bit of a workaround unfortunately, but itâs working smoothly.
There is most likely a (probably undocumented currently) way to use SuiteCRM 8 UI for that. Maybe youâll find some hints here: Front-end :: SuiteCRM Documentation - if not, the âdocumentationâ is the current code, so itâll take some time to figure things out.
This would go in your cases detailviewdefs.php file so copy the detailviewdefs.php file to the appropriate location in custom and then add this section of code. Ensure you have a case template set up (youâve done that).
Thats obviously two different ways to do the same thing (just in case that wasnt clear), basically you need to add the menu item to the recordActions section to get it to appear for cases.
I tried the method you suggested by adding the ârecordActionâ section to the custom details view, and it worked, the âPrint as PDFâ option now appears in the Cases module. I just need to resolve a few issues with some values not displaying.