Get a single piece of data from the database in Template Editor
Before you get started ensure you have defined the global attributes file path in the File Locations preferences dialog.
Use value fields to get data from your product's database. The available database objects and properties are listed in the global attributes definition file. Apply attribute functions in value fields.
Do the following:
See also
Creating a value field in Template Editor
Creating and saving a formula in Template Editor