VectorLabel beta support

Fields and data sources

Where a text box or barcode gets its content: typed text, a data column, a formula or today's date, the built-in cable columns, and how each label is filled at print time.

Beta documentation

VectorLabel is in beta. These pages describe the current beta builds, which are pre-release software: what they say may change before the first production release, and parts marked Beta are new or still being tested. Downloading the beta needs an account with VectorLabel beta access (ask for it here). Tell us if something here is wrong.

Select a text box, a barcode or a table cell, and the properties panel shows four buttons for where its content comes from: Static, Field, Formula and Date/Time.

Static, Field and Formula

  • Static is a fixed value, the same on every label: a prefix, a company name, a test barcode. Type it in the box ("Type label text…", or "Barcode data…" for a barcode).
  • Field ties the object to one data column. Pick the column from the menu, and the object shows that column's value for each label. You can also drag a column header from the Records panel (Template Designer) or the Database pane (Custom Designer) onto the object; dropped on an empty part of the canvas, it makes a new text box tied to that column.
  • Formula works the value out with an Excel-style expression that starts with =: joining columns, adding separators, changing case, taking part of a value, or choosing with IF. Next to the formula box are Fields ▾, which shows buttons that put a field in, and Editor ⤢, which opens a larger editor with a live preview. See The formula language and Formula field chips.

Switching an object to Formula when it had none starts it at ="", which shows nothing until you write the formula.

Heads up

A formula must start with =. Without it, the whole thing prints as plain text.

With no data, as in a new Custom Designer label with no file bound, a Field box previews blank and a Formula box previews the formula's text without the =. Printing such a label works it out against an empty row.

Date/Time

Choose Date/Time to print the current date, time or both, then pick their formats. The value is worked out when the label prints, not when you design it, so a batch printed today shows today's date, and a reprint shows the day it is reprinted.

  • Date: MM/DD/YYYY, DD/MM/YYYY, YYYY-MM-DD, YYYYMMDD (20260704), MMDDYYYY (07042026), DDMMYYYY (04072026), Mon DD, YYYY, and DD Mon YYYY.
  • Time: HH:mm (24-hour), h:mm AM/PM, HH:mm:ss (24-hour) and h:mm:ss AM/PM.

The forms without separators are handy in a barcode. Date/Time uses the computer's clock when printing; for a fixed date, type it as Static text.

The built-in cable columns

The Template Designer's columns are those of a Vectorworks export. Menus and field buttons show a friendly name; the column key is in brackets. A formula can use either, in any case.

Number (Number)            Cable Name (Cable)       Signal (Signal)
Connector (Connector)      Device Name (Device_Name) Device Tag (Device_Tag)
Socket Name (Socket_Name)  Socket Tag (Socket_Tag)  Other Device (Other_Device)
Other Socket (Other_Socket) Other Connector (Other_Connector)
Rack (Rack)  Room (Room)  Rack U (RackU)  Side (_Side)
Cable Type (Cable Type)    Cable Length (CableLength)

Templates and data that use the old key Cable_Type still read the Cable Type column.

Before 1.20.0-beta.15 the Cable Type field looked for a Cable_Type column, which the export doesn't have, so it was blank in the preview and on the label. The fix is tested with automated tests but hasn't been tried with a real export on screen, or on a printer, yet.

In the Custom Designer, the columns are those of the file you bound, and each column's name is both its display name and its key.

Tips

=Cable Name and =Cable give the same value.

A column name that doesn't exist prints the name itself rather than nothing, so a typo shows up in the preview. The field chips also turn amber.

The export has more columns than this list, such as Socket_Signal or Cable Outside Diameter (see The columns). A formula can use any of them by name; write a name with spaces in square brackets, like [Cable Outside Diameter].

How each label is filled when printing

No label is a fixed picture of one row. When you print, each label is built from its own row: fields take that row's values, formulas are worked out again, and barcodes are encoded afresh at the printer's full resolution. The on-screen preview uses the same formula and barcode engines, so the preview of a row is what that label prints.

A field or formula that comes out empty for a row prints nothing on that label, with no placeholder; a barcode that can't encode a row's value prints blank on that label only. Step through rows in the preview, or in the formula editor's live preview, to check before a long run.