Is there a way to create/use bespoke global parame...
# advancedpdf
j
Is there a way to create/use bespoke global parameters that can be used in print templates, if we need more than the ones that are provided under Company Information ?
d
I had to put on my suit and tie to respond to this
bespoke
comment. @jen, there are Company level custom fields available, but they need to be associated with a script record. Not sure of your use case, but there's that
j
Dang, not going to work. It’s just for Transaction printing, nothing to do with scripting unfortunately.
I’ll
<#assign>
parameters in an
<#include>
I guess.
m
If you are oneworld you can add subsidiary custom fields
l
If you are referring to the Advanced PDF templates, I have created custom fields on Class and Location and populated those on the template based on the value on the transaction. I've not tried it with the Company Information though - give it a try and let us know how it goes.
s
We either use custom subsidiary fields, or static transaction body fields (not-stored, putting the display info in a formula) for this kind of use case. If it’s for specific transaction types only, you could also dynamically insert form fields with a user event script within the PRINT context