How can i get all the Advance PDF/HTML records or ...
# suitescript
d
How can i get all the Advance PDF/HTML records or values in my env and put them in a select field in suitlet? Thats not work. also with 'advancepdftemplate'
Copy code
const templateField = form.addField({
                id: 'custpage_pdf_template',
                type: serverWidget.FieldType.SELECT,
                label: 'Advanced PDF/HTML Template',
                source: 'pdftemplate',
            });
a
Copy code
...
source: 'advancedpdftemplate'
...
b
create a custom field with List/Record set as its type and its List/Record field set to the source that you wish to use. Then, in the browser console, get the List/Record field with suitescript to see the internal id number of the source
2
s
hi @David Na
did you resolve the problem?