I was just given an assiment to create a custom pd...
# advancedpdf
k
I was just given an assiment to create a custom pdf template and I have never used Freemarker code before. Are there any methods out there to learn how to reference sublist or fields. Where do I begin?
r
@michoel’s field explorer extension for chrome would be a good start. https://chrome.google.com/webstore/detail/netsuite-field-explorer/cekalaapeajnlhphgdpmngmollojdfnd
d
also have a look at some of the standard templates and compare the WYSIWYG editor to the code to see how sublists and fields are referenced
💯 1
a
t
Something that helped me was Pretty Diff using the Beautify feature. It helps arrange the tables in a easier to read format if you aren't using the WYSIWYG editor in NS. https://prettydiff.com/tool.xhtml
n
These are reference / guides for Freemarker and BFO which may also prove useful for you generally with Adv PDF editing https://freemarker.apache.org/docs/ref_directive_assign.html https://bfo.com/products/report/docs/userguide.pdf Also see the help section titled "Syntax for Advanced Template Fields" for useful NS specific methods.