Virtual fields and encrypted fields
Before you start
Most fields keep their value in a column of the module, exactly as typed. Two switches under Storage in the field editor change that. Virtual field keeps nothing and works the value out when it is needed. Encrypt values keeps the value, but encrypted.
What is a virtual field?
Section titled “What is a virtual field?”A virtual fieldVirtual fieldA field computed at display time and not stored.Open glossary ↗ has no stored column. Use it with a Smart field: when records load, Beezr runs the Smart Script and puts the result in the record. See Calculate a value with a smart field.
An insight field is a virtual smart field. Beezr turns the switch on for you when you save one.
Choose virtual when the value comes from a script and should reflect other records each time it is shown. Choose a normal smart field when you report on the value, because analytics queries read the stored value. Decide when you create the field, and switch Virtual field on in the new-field editor.
A virtual smart field runs for every record that loads, so keep its script short.
What is an encrypted field?
Section titled “What is an encrypted field?”An encrypted field keeps its value in the module, encrypted with a key you choose. It suits values people read on the record, such as an ID number or a bank detail.
To use it you need three things:
- A workspace set up for field-level encryption. Contact support or your success manager to set it up.
- An encryption key with the status ACTIVE. Create keys under Account settings › Users & Security › Encryption Keys, then pick one in the Encryption key list.
- A decision at creation. Switch Encrypt values on in the new-field editor and pick the key there.
Keep the key active for as long as the field is in use. Plan a data migration before you change encryption keys on a field that already holds data.
Which should I choose?
Section titled “Which should I choose?”| Normal field | Virtual field | Encrypted field | |
|---|---|---|---|
| What Beezr stores | The value | Nothing | The value, encrypted |
| Works with | Every type | Smart fields | An ACTIVE encryption key |
| Choose it when | Most of the time | The value comes from a script and reflects other records | The value is sensitive and people read it on a record |
| Decide it | Any time | When you create the field | When you create the field |
Check yourself
What's next
Last checked