Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • When coupled with a modular content type, the modular template's properties become custom properties on the "Basic" tab of the Properties Widget for that content type.
  • They can be added to a content item using the Modular Content Element. This makes it possible to reuse the set of properties defined for a template throughout your channel instead of having to create it over and over.

...

  1. Click [Add Property]. A new entry is added to the list of properties.
  2. Enter a string in the Name field to identify the property.
  3. 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.


  4. Select the property type from the drop-down list. The options are:

    TypeDescription
    StringA 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.
    BooleanA checkbox that can either be selected or cleared. A Boolean cannot be defined as "Multiple".
    IntegerA single line field that accepts a positive or negative integer (no decimal points). An Integer cannot be defined as "Multiple".
    DateA 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.
    ImageA Browse button which you can use to select an image.

     


  5. Select the subtype of the property from the drop-down list. The options are:

    Property TypeSubtypes
    StringStringSingleLine - A single line field.
    StringMultiLine - A field that accepts multiple lines of strings.
    BooleanBooleanCheckbox - A checkbox that can be either selected or cleared.
    IntegerIntegerInputField - A field that accepts any positive or negative integer (no decimal points).
    DateDateDateOnly - 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).
    ImageImageUploadOrSelect - a [Browse] button that you can use to select an image file from disk.



  6. Select whether the property can contain multiple values. Property types Boolean and Integer cannot contain multiple values.
  7. Define the search facet settings.
  8. Enter one or more CSS class(es) in the Context Classes field in a whitespace separated list.

  9. 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.
  10. Click [Save].

...

  1. Click the "Modular Content Types" tab to select it.
  2. Click [Add Content Type].
  3. Define the following properties for the new modular content type:

    PropertyDescription
    Name en_USThe string that identifies the modular content type in the English user interface of XperienCentral.
    Name nl_NLThe string that identifies the modular content type in the Dutch user interface of XperienCentral.
    IdentifierA single word identifier used by Java to identify the modular content type.
    Used templateThe modular content template to use for this modular content type. The properties defined in the template will by default appear in the content type on the website frontend.
    Description en_USAn alphanumeric string of at least 3 characters to use for the description of the modular content type in the English user interface of XperienCentral.
    Description nl_NLAn alphanumeric string of at least 3 characters to use for the description of the modular content type in the Dutch user interface of XperienCentral.
    Extend content typeSelect the media item type this content type should extend.
    Icon set (small)Click [Browse] to select the file containing the set of small icons for the modular content type. The icon appears in the Create Content drop-down in the sidebar headers or in the Create Content Widget in XperienCentral versions R31 and lower.
    Icon set (large)Click [Browse] to select the file containing the set of large icons for the modular content type. The icon appears in Advanced Search.
    StateSpecifies the current state of the modular content type (active or inactive). You select the state of the modular content type in the "State" column of the list of modular content types.

     

  4. Click [Save].
  5. Click [Close]. The modular content type is created and appears in the list.

...

If a template property is defined as a search facet, it will appear in Advanced Search if/when a value is defined for it. See below.

Image Preview and Metadata

For the Modular Content "Image", an editor can upload an image in a Modular Content content element. Once an image has been uploaded, you will see a thumbnail preview as well as the following metadata for it:


MetadataDescription
File NameThe (operating system) name of the file containing the image. Click the file name to download the image.
File TypeThe image type.
SourceSpecifies the source of the image.
DimensionsThe height/width dimensions of the image in pixels.
File SizeThe size of the image file in kilobytes (KB).
Focus PointSpecifies whether a focus point has been defined for this image. To define a focus point, click [Select Focus Point]. If the image already has a focus point defined for it, click [Edit Focus Point]. See Defining the Focus Point for an Image for complete information on defining a focus point for an image.

To upload a different image from a file on a local disk, click [Browse]. To upload an image from the Content Repository, click [Select from Content Repository]. To delete an uploaded image from a Modular Content content element, select "Delete" and then click [Apply].


Back to top


...

Anchor
modular_content_template_properties_as_search_facets
modular_content_template_properties_as_search_facets
Modular Content Template Properties as Search Facets

...

Panel
borderColor#0081C0
titleColor#0081C0

The ability to add modular template properties as facets in Advanced Search was introduced in XperienCentral R30.

...

It is possible to register a modular content template property as a search facet. When you do so, the facet can be searched for in Advanced Search. There are two types of facet definitions:

...

  1. Expand the "Search index" drop-down list under the template property.
  2. Select lect the facet definition for the property. The options are:

    OptionDescription
    DisabledThe property is not used as a search facet and no Solr document field is created.
    Unique without facetCreates a Solr document field for the property but no facet.
    Unique with facetCreates 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 Search and it will not contain values of other properties from other templates,
    Combined without facetCreates 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 facetCreates 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.


  3. Select "Multiple" if you want to allow multiple values for the facet to be searchable.
  4. Click [Save].

...

Exporting Modular Content

See Exporting Modular Content.