Display a BarCode on a Saved Search

I had seen an article in LinkedIn.

I do not remember the source but then I have copied that for personal use.

You can try this out, It works for me.

What you will need:

Downloadable font uploaded to NetSuite file cabinet.

Formula (HTML) in saved search column.

Steps to use Google Fonts

Navigate to https://fonts.google.com

-Pick a font and configure size etc by moving the slider on the right side of the page.

-After picking a font, click + Select this style.

-Download the font family.

-Find the file and unzip the file and then upload the font file (.ttf extension) to the NetSuite File Cabinet in the Fonts folder. Or create a New Folder.

-Once it’s uploaded, click Edit on the file.

-Check the Available Without Login checkbox.

Copy the URL field (not the URL on the browser!) that’s on the left side of the form under Description.

I have used LibreBarcode39Text-Regular.

Open your saved search and add a Formula (HTML) column.

Copy and paste this formula changing the font-family and URL and reference the File Name of the font you uploaded (minus the .ttf)

‘<style> @font-face { font-family: LibreBarcode39Text-Regular; src: url(THE_URL_FROM_STEP)}</style><div style=”font-family:LibreBarcode39Text-Regular;font-size:30pt;”>‘ || UPPER({upccode}) || ‘</div>’

In the above case {upccode} This is the field id used, you can use any.

Save your saved search.

image.png

Leave a comment

Your email address will not be published. Required fields are marked *