Metafields

Metafields are dynamic fields that can be adjusted based on the resource they are connected to.


Metafields and their use

Metafields are dynamic fields that can be used through the guest journey. In example, do you have a doorlock with a changing door code? A metafield would come in handy. Set a door code metafield on the reservation and adjust this on the reservation to show the correct code.

Connected objects

A metafield is always connected to a object / resource. Our metafields are connected to:

  • Listings - Are you in need for specific data that varies per listing? Metafields come into play. Example use cases:

    • Different weather URL's per listing

    • Different Whatsapp URL's per listing

  • Reservations - Are you in need for reservation sepcific data? Metafields come into play. Example use cases for reservations are:

    • CheckIn codes

    • External Checkin URL

    • Booking URL's on external platforms.

The above-mentioned use cases are examples, ofcourse the HolidayHero application supports more use-cases.

Metafields usage

Metafields can be used throughout the application in all guest facing communcation. From touchpoints to the guest application itself. When creating guest-facing content you can insert metafieds by using the Insert field code button. From here you can select a manual created metafield or a default metafield.

Insert field code button:

Insert Field code Modal:

Default Metafields

By default we offer a few metafields that can help you personalize the stay. Below an overview of the default metafields and their availability.

Field
Field Code
Availability

Reservation Number

{{ reservation.number }}

Private stages only

Reservation Check-in Date

{{ reservation.checkInDate }}

Private stages only

Reservation Check-Out Date

{{ reservation.checkOutDate }}

Private stages only

Reservation Check-in Time

{{ reservation.checkInTime }}

Private stages only

Reservation Check-Out Time

{{ reservation.checkOutTime }}

Private stages only

Listing name

{{ listing.name }}

Private / Public stages

Listing Address Line 1

{{ listing.address.line1 }}

Private / Public stages

Listing Address Line 2

{{ listing.address.line2 }}

Private / Public stages

Listing Address Zipcode

{{ listing.address.zipcode }}

Private / Public stages

Listing Address City

{{ listing.address.city }}

Private / Public stages

Listing Address Region

{{ listing.address.region }}

Private / Public stages

Listing Address Country

{{ listing.address.country }}

Private / Public stages

Listing Address Latitude

{{ listing.address.latitude }}

Private / Public stages

Listing Address Longitude

{{ listing.address.longitude }}

Private / Public stages

Listing Wifi network

{{ listing.wifi.network }}

Private / Public stages

Listing Wifi password

{{ listing.wifi.password }}

Private / Public stages

User First name

{{ user.firstName }}

Private stages only

User Last name

{{ user.lastName }}

Private stages only

User Email

{{ user.email }}

Private stages only

User Phone

{{ user.phone }}

Private stages only

Brand name

{{ brand.name }}

Private / Public stages

Brand website

{{ brand.website }}

Private / Public stages

Custom Metafields

It is possible to add custom metafields. A metafield has a name, type and a default value. The type determines what kind of default value you would need. See an overview of default values below:

Type
Description

Boolean

A true/falsecomination.

Date

A date in time

Number

A numeric input

Text

A textual input

Time

A time input

See this FAQ on how to create metafields.


Frequently Asked questions:

How can I create a custom metafield?
  1. In the menu click on metafields

  2. Then click on Create Metafield

  3. Give the metafield a name, this name will be used as a shortcode

  4. Select the resource / object the metafield should be tied to

  5. Select the type of the metafield and the default value.

What appens to non filled metafields?

It can happend that a metafield value is not overwritten on a resource or listing, simply because you forgot to set it. If a guest access the app or receives communication with metafields in it. The text will default to the default value.

How to overwrite a metafield in reservations?

If you wish to overwrite a metafield in the reservation, follow the following steps:

  1. In the menu click on reservations

  2. Then click on the desired reservation

  3. Click on the metafields tab.

    1. If no metafields are listed, the metafields default values will be used .

    2. If not, existing metafields will be displayed there.

  4. Click on the Add metafield button.

    1. A modal will be displayed to select an existing metafield, select one

  5. The metafield is added to the reservation, now you need to adjust it.

  6. Click edit in the reservation metafields overview.

  7. Provide a new value of this metafield.

  8. Save the value

How to overwrite a metafield in a listing?

If you wish to overwrite a metafield in the reservation, follow the following steps:

  1. In the menu click on listings

  2. Then click on the desired lsiting

  3. Click on the metafields tab.

    1. If no metafields are listed, the metafields default values will be used .

    2. If not, existing metafields will be displayed there.

  4. Click on the Add metafield button.

    1. A modal will be displayed to select an existing metafield, select one

  5. The metafield is added to the reservation, now you need to adjust it.

  6. Click edit in the reservation metafields overview.

  7. Provide a new value of this metafield.

  8. Save the value

Last updated