The Number field contains only numbers. If you are unsure if the expected values may contain text, then use a text field. Otherwise, use the Number field. The benefit is that you can calculate with numbers, but not with text e.g., 2+2=4, but "Content" + "tent" is nothing.
Only input of numbers supported. Values with numbers and characters are not supported.
You might think number fields are best suited for GTN or EAN numbers. Picturepark NumberFilter, however, does only allow numbers in ranges, which is not suitable for GTN/EAN numbers. We recommended using text fields.
Number Value Handling
Picturepark Setup Example
Layer: Corporate Information (ID: CorporateInformation)
Advanced search for the field value
Use in Display Pattern
Returned field value
Returns the number as a whole number or decimal, depending on the field setting "Decimal".
Number Field Settings
No special considerations.
No special considerations.
Enabled: Users can input decimal numbers.
Once set and saved, this cannot be changed!
The input check for the number value e.g., checks for the correct phone number format.
Use a JSON Schema regex for the pattern. See here for valid examples:
The minimum value when editing this field, greater or equal the "min. value" setting.
Example: numberFieldValue >= Minimum Value
Define a value up to a trillion (minus or plus).
The minimum value when editing this field, less or equal the "max. value" setting.
Example: numberFieldValue <= Maximum Value
Define a value up to a trillion (minus or plus), which must be higher than the min value.
The field setting "required" determines whether an editor must provide a field value before being able to save the Content Item. If a field is required and the user has not provided a value or has deleted an existing value, Picturepark does not permit saving the item. This value can be changed at any time. You cannot set a field required on a Layer that has XMP mappings defined for any field.
The field setting "sortable" for a field defines if Picturepark uses the values of those fields for sorting of List Items (in Lists). Sorting of contents based on fields in a Layer is possible via the channel configuration, which only considers fields marked as sortable. All fields except for Geo Point and Relationship fields are sortable. This can be changed after field creation.
Sort items based on the number entered to find the smallest or largest number.
Include in filters
Enable to use the numbers in filters. It is required to define ranges for numbers, like for the Product Price define ranges like:
When working with product numbers, ranges are not sufficient, but the configuration of filters in the Content Browser does not allow number filters without ranges. We recommend using text fields for product numbers.
Include in search
The field setting "Include in Search" determines whether the field's values should be considered in content browser simple search operations. If this option is not enabled, the search does not consider the values of the field in search operations. This can be useful, for example, if the field is used for internal discussions or work directives that you don't want to affect the search results. Picturepark checks those settings against the allowed number of Search-indexed fields in your subscription plan. While it may be tempting to include all fields in filters and simple search also boosting them, you may revisit this idea based on your subscription plan limit.
The field setting "Boost" will boost the values in the search and helps you define the relevance of the content for your users. The boost parameter increases the relative weight of a term (with higher boost values) or decreases the relative weight (with lower boost values), but the increase or decrease is not linear. In other words, a boost of 2 does not result in double the score. You can select between 1, 10, 25, 50, 100, or 500.
Picturepark checks this setting against the allowed number of Search-indexed fields in your subscription plan. While it may be tempting to include all fields in filters and simple search also boosting them, you may revisit this idea based on your subscription plan limit.