Skip to main content

Create Custom Properties

Add custom properties to your project

Holly Conrad Smith avatar
Written by Holly Conrad Smith
Updated over 2 months ago

Add custom properties to your project to track metrics and values that are not included in the Giraffe defaults.

Add a Custom property

Click the + add property in the properties palette or usage editor.

Start typing the name of the property you want.

If the property does not exist, you will be prompted to create it.

Click "create" to start.

Custom Property Settings

All custom properties share a few of the same settings.

Name & Label

Each property has a "name" and a "label."

Name = the hardcoded key. It is recommended to create this in camelCase.

Label = the text that is shown in the UI. Use any case for this.

The name cannot be edited after the property is saved. The label can be updated any time.

Description

The description is text that helps others understand the purpose of the property.

It displays as a tooltip (mouseover text) in the properties palette form, and also as subtext in the + add property search menu.

Default Value

The default value is the property value that is applied automatically when the property is added to a geometry or usage.

You must select a default value for your custom properties. The default value cannot be null.

Custom Property Types

Select which type of property you would like to create:

Number

  • Enter a property name, label, and description.

  • Select a default value.

  • Set the minimum and maximum range

    • This sets a cap on what number values are accepted in the property value.

    • Leave either or both fields blank for unlimited range

  • Set the step value

    • this is how much the number will increase or decrease when users scrub or use the + / - buttons on the number property.

  • Set the precision

    • this is the number of decimal places the number should round to.

  • Set a prefix

    • this is alphanumeric text that helps define the value. IE $ for currency.

  • Set a suffix

    • this is alphanumeric text that helps define the value. IE for an area measure.

Text

  • Enter a property name, label, and description.

  • Select a default value.

    • If no default value is desired, you can use n/a

Toggle

  • Enter a property name, label, and description.

  • Select the default value - off or on.

Select

  • Enter a property name, label, and description.

  • Click "add option" to add another value to the dropdown

  • Input a name and label for each option

  • Click the up/down arrows to move the order of options in the dropdown list

  • Click the bin to delete an option from the list

  • Select a default value, if desired

Using Custom Properties

Custom Properties will appear at the end of the list in the Analytics category.

You can edit the property values just as you would for built-in properties.

Once a property is added to the project, it will appear in the list whenever you click + add property.

If the property is part of a template project, it will be included in any new projects created from that template.

Did this answer your question?