Print As PDF - 7.10.7

I am trying to follow the instruction from https://suitecrm.com/suitecrm/media/kunena/attachments/50755/AddingPrintPDFtocustomModule.pdf but I can’t find the following in /custom/modules//metadata/detailviewdefs.php, ids it because of the file structure has change for 7.10.7? Please guide me if possibe, thanks so much.

array (
‘buttons’ =>
array (
0 => ‘EDIT’,
1 => ‘DUPLICATE’,
2 => ‘DELETE’,
3 => ‘FIND_DUPLICATES’,

No, I don’t think the directory structure has changed.

Does your custom module have a Detail view? Is it working?

You should have a metadata file somewhere under “custom”…

find custom -name detailviewdefs.php

Hi, git it done in few custom modules, thanks for your reply.