Experience the difference of "Elite".

Getting Started

Core Concepts

Overview

Bookings & Quotes

Damage Protection

Data Management

Deposits

Email Template Library

Fields

Guests

Integrations

Listing Site Integration

Messaging

My Account

Payment Processing

Privacy & Security

Properties

Property Management

Quotes

Rates

Renter Agreements

Reporting

Reviews

Rules

Security Deposits

Suppressed Email Addresses

Tags

Taxes

Team Access

Technical Stuff

Travel Insurance

Triggers

Verified Email Domains

Channel Management

Channel Management

API Integrations

Calendar Import/Export

Channel Bridge

Integrations

OwnerRez APIs

Payment Processing

Testing

Websites

Change Log

2024

2023

2022

2021

2020

2019

Staff Reference

Fields - Field Codes Common Issues and Questions

The OwnerRez field codes system is extremely powerful and offers a great deal of flexibility - but, it can be complicated, with unexpected results. Here's a list of issues and questions we have encountered that may be helpful as you use our field codes to set up intelligent, dynamic automatic messaging.

I used a field code inside another field, and it didn't work

Right - it doesn't, and for a good reason: what if you put the code for Field A inside Field B, and then put the code for Field B inside Field A?  Since both field codes reference each other, neither would work.

It's hard for a computer to detect what you want in situations like this.  The meaning tends to get lost, so we simply don't allow this.  At present, field codes should only be used in messages, not other fields.

I used field codes that sometimes are filled in, and other times aren't

There are some field codes that are available only sometimes.  For instance, consider {BPREVARR} which is "The previous date (before being changed) that the guest was supposed to arrive."  If you use this in any message other than the message that is sent when you just changed a date for a booking, there won't be any relevant data to replace the field code with.

My field code is getting ignored and isn't being filled in

The message template editor can be a bit wonky at times, especially if you are trying to do complicated formatting (bold, italic, font colors, etc.)  These are applied by inserting hidden codes where you can't see them.  But, if it inserts these codes in the middle of a field code, the field code will not be recognized, even though it looks fine to you.

A first step in fixing this, is to select the entire field code and any adjacent spaces in the editor, and then click the "Clear formatting" button:

Save changes, and try the message again - if that was the problem, you've likely fixed it.

The booking Previous Arrival and Previous Departure fields ({BPREVARR} and {BPREVDEP}) aren't filling in and are sometimes empty

The "previous" fields are only populated with dates values if there was an actual change in arrival or departure date on the booking. If a booking has never changed stay dates, the "previous" fields won't be filled in when the email is sent.

If you are sending a "booking changed" email, and you want it to cover all scenarios (eg. when the departure changed but not the arrival, or vice versa) you should use it with strike-through tags, like this:

Arriving: <del style=""text-decoration:line-through"">{BPREVARR}</del> <strong>{BARR}</strong>

The above piece of code is HTML and needs to be entered using the "View Source Code" button on the editor.

Using this method, the recipient will always see the current arrival date and the strike-through part is only rendered if the date actually changed.