...
- Click [Add Property]. A new entry is added to the list of properties.
- Enter a string in the Name field to identify the property.
Enter a string in the Identifier field that will be used to uniquely identify the property within XperienCentral.
Note Once you have entered a string and saved the template, the identifier can no longer be modified, therefore be sure to plan out carefully beforehand what your scheme is for template identifiers.
Select the property type from the drop-down list. The options are:
Type Description String A field that accepts any string of characters. The input field can be either a single line or a multiple line field. Which kind is determined by the Subtype field defined in the next step. Boolean A checkbox that can either be selected or cleared. A Boolean cannot be defined as "Multiple". Integer A single line field that accepts a positive or negative integer (no decimal points). An Integer cannot be defined as "Multiple". Date A date picker which can be used to select a date. The Subtype field defined in the next step determines whether the field selects a date or a combination of date and time. Image A Browse button which you can use to select an image. Select the subtype of the property from the drop-down list. The options are:
Property Type Subtypes String StringSingleLine - A single line field.
StringMultiLine - A field that accepts multiple lines of strings.Boolean BooleanCheckbox - A checkbox that can be either selected or cleared. Integer IntegerInputField - A field that accepts any positive or negative integer (no decimal points). Date DateDateOnly - A date picker that you can use to select a day, month and year.
DateDateTime - A date picker that you can use to select a day, month and year and a field that accepts any valid time (24 hour notation).Image ImageUploadOrSelect - a [Browse] button that you can use to select an image file from disk. - Select whether the property can contain multiple values. Property types Boolean and Integer cannot contain multiple values.
- Define the search facet settings.
Enter one or more CSS class(es) in the Context Classes field in a whitespace separated list.
- Enter text in the Help text field. The help text you define appears under the field in the Modular Content element. For best results, make sure the help text provides sufficient guidance for the user filling in the field.
- Click [Save].
...
- Expand the "Search index" drop-down list under the template property.
Select lect the facet definition for the property. The options are:
Option Description Disabled The property is not used as a search facet and no Solr document field is created. Unique without facet Creates a Solr document field for the property but no facet. Unique with facet Creates an Advanced Search facet and a Solr document field for the property. Values of this property will always be shown as a unique facet in Advanced Search and it will not contain values of other properties from other templates, Combined without facet Creates a Solr document field for the property but no facet. If another property in another template has the same identifier and its search facet is also set to "Combined without facet". the values of these properties will be shown in a single, combined, facet when the above circumstance is met. Combined with facet Creates an Advanced Search facet and a Solr document field for the property. If another property in another template has the same identifier and its search facet is also set to "Combined with facet", the values of these properties will be searchable as a single, combined term when the above circumstance is met. - Select "Multiple" if you want to allow multiple values for the facet to be searchable.
- Click [Save].
...