Custom fields

How to add custom courses to our Golfmanager.

Updated over a week ago

Index

Introduction

In this article, we will see how we can create new fields in our Golfmanager. This utility is very useful if we are missing a field in a Golfmanager table. For example, if in the customer table we want to collect "allergies" of a customer. Or if when making a reservation we want to add the "channel" through which the customer has come to us. Infinite uses for a single tool.

General Section

To add a new field we will follow the following steps:

  • Entity: Select or search for the system table where you want to add a new field. If you do not find the correct table, please contact our support team.

  • Name. We will give the desired name to this new field. This name will be internal to the database so it can only contain alphanumeric characters, without spaces, without accents and without capital letters. Even if there is a custom field deleted, the name cannot be repeated, the same name cannot be used, since it is the internal system reference for the cell, you must always use another name or modify the name of the deleted one.

  • Visible label: This is the name that will be displayed in your Golfmanager. Here you can use capital letters, spaces, accents, etc.

  • Type: Select the format of the data to fill in this field (text type, numeric type, date type, currency...).

  • Size (optional): If we want to set a character limit.

  • Decimals (optional): In the case of being a numeric value, mark if we want it with decimals and how many.

  • Default value (optional): In the case of customizing a field with date format, fill this field with the word now to use the current date (today).

  • Help (not used)

  • Optionally we can select if we want this field to be:

    • Mandatory: force the user to fill in this field in order to continue.

    • Unique value: if the same value cannot be repeated in the database.

    • Read only: if it is a field that cannot be edited.

    • Public: if we want it to be accessible via API by third parties.

Important notice

Note that if you have created already a custom field in the system, you cannot edit the format type. You will need to delete that field and create a new one.

Also important, you can't copy a custom field from an existing one. You must create a new one always clicking the button "New".

Did this answer your question?