Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,155 of 9,155 pages
About the help in other languages
All help pages

Modeling services

How to create a Service content class in Exponential's class editor, with the attributes, datatypes, required flags and translation settings that make every service page consistent, and how to test it.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/building/service-catalog/modeling-services.md

On this page

Modeling services

This page is for website creators and project managers who create the content class for service pages. One class for all services keeps the pages consistent, makes lists and search predictable, and lets editors fill a form instead of designing a page. The class editor is described in Content classes for websites; the datatypes named are those of kernel/classes/datatypes/ and the eztags extension.

Contents

  1. The attributes
  2. Creating the class
  3. Settings worth deciding
  4. Testing the class
  5. Variations

The attributes

AttributeIdentifierDatatype (class editor name)RequiredTranslatable
Service nametitleText line (ezstring)yesyes
In shortsummaryText block (eztext)yesyes
Who can use iteligibilityXML block (ezxmltext)noyes
What you needrequirementsXML blocknoyes
What it costscostXML blocknoyes
How to applyhow_to_applyXML blockyesyes
Apply onlineonline_linkURL (ezurl)noyes
How long it takesprocessing_timeText linenoyes
What happens nextnext_stepsXML blocknoyes
ContactcontactObject relation (ezobjectrelation)nono
Related documentsdocumentsObject relations (ezobjectrelationlist)nono
Topics and life eventstagsTags (eztags)nono (tags have their own translations)
Next reviewreview_dateDate (ezdate)yesno
Meta datametadataMetadata (xrowmetadata)noyes

Object name pattern <title>. The xrowmetadata and eztags datatypes come from extensions that the default installation activates (Extensions it activates).

Creating the class

  1. Setup > Classes, group Content, New class.
  2. Name Service, identifier service, object name pattern <title>.
  3. For each attribute: choose the datatype in Add attribute, press Add, fill name and identifier, tick Required and Translatable as in the table, Searchable for text attributes.
  4. For Contact, set the relation's allowed class to your Contact point class (see Contact points and offices); for Related documents, allow File.
  5. For Next review, the Date datatype can default to empty; keep it required so editors must set it.
  6. Press OK. Check: the class appears in the list; create a test service.

Settings worth deciding

SettingRecommendationWhy
Containernoservices do not hold other content; documents are related, not children
Default object availabilityas your language policy says"always available" shows the main language where a translation is missing
Attribute orderthe reading order of the pagethe edit form follows it
Category (tabs) of attributes"Content" and "Management" (contact, tags, review)a shorter first tab for writers
Text line Trim the stored valueon for Service namestray spaces break sorting (Content model and editing, 9)

Testing the class

  • To do: Create a service with only the required fields: it publishes.
  • To do: Leave How to apply empty: the form refuses with a message at the field.
  • To do: Translate it: dates, tags and relations are shared; texts are per language.
  • To do: The full view shows the fields in the right order (see The service page and plain language).
  • To do: Search finds the service by a word from In short.

Variations

NeedChange
Fees that change every year in one placea separate Fee object related from services, edited once
Services in several languages with different legal textskeep legal texts in related File objects per language
Services for businesses and for residentsone class; an Audience selection (ezselection) or tags
Very simple servicesthe same class; optional fields left empty, templates hide empty fields

Move the class to other installations as a package, never by recreating it by hand (Packages).

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x