In the UE script: ``` form.clien...
# suitescript
j
In the UE script:
Copy code
form.clientScriptModulePath = 'SuiteScripts/SuiteScript Repo/SS2/Client/sh_cs_Quote.js';
                form.addButton({
                    id: 'custpage_genpdf',
                    label: 'Generate PDF',
                    functionName: 'renderPdf'
                });
In the CS
Copy code
return {
            renderPdf: renderPdf,
            pageInit: pageInit
        }