Installed with Service Creator
Several types of components are installed with Service Creator.
Demo data is available with Service Creator. The demo data provides the Departmental Services service catalog category.
Creating a new service category also creates components for that service category.
The following components are added with Service Creator:
Tables
| Table | Description |
|---|---|
| Service Category [catalog_category_request] | Stores all service categories. |
| Service Category Request User [catalog_category_request_user] | Tracks fulfillers for a service category. Use these records to grant or remove roles as needed. |
| Service [sc_cat_item_producer_service] | Stores all services. |
| Service Category App Menu [service_category_app_menu] | Stores the application menus for each service category. |
| Service Category User Role [service_category_user_role] | Tracks users who have been granted a role due to being an editor of a service category. |
UI actions
| UI action | Description |
|---|---|
| Create Category and Table | Approves a requested service category and creates system components for that category. |
| Request Category Publication | Lets a service creator request their category be published. |
| Create New Service | Creates a new service within the service category. |
| View Table Definition | Opens the task table definition [sys_db_object] for a service category. |
| View Task List | Opens the list of tasks associated with the service category. |
UI policies
| UI policy | Description |
|---|---|
| Hide Due Date | Hides the Due date field on the Service Category form if State is Requested or Due date is empty. |
| Hide Category If Empty | Hides the Category field, if empty, on the Service Category form. |
| Show Published | Shows the Published check box on the Service Category form if State is Created but Unpublished or Ready for Publication. |
| Hide Table name | Shows Table and hides Table name on the Service Category form if Table has a value. |
| Hide Category Name | Hides Name on the Service Category form if State is Requested or Rejected. |
| Table name read only | Makes Department and Table name read only on the Service Category form if State is not Requested. |
| Hide Editors | Hides the Editors field on the Service Category form if State is Requested or Rejected. |
Properties
| Property | Description |
|---|---|
| glide.citizen_developer.category.auto_publish | Automatically adds new service categories to the service catalog as
subcategories of the Departmental Services category.
|
| glide.citizen_developer.set_category_roles | Comma-separated list of roles that can set the category for a new service.
|
| glide.service_creator.auto_add_to_category | Automatically adds new services to the Departmental Services service catalog
category, in addition to the department-specific category.
|
Script includes
| Script include | Description |
|---|---|
| serviceCategoryIsUnpublished | Global function that returns true if the service category is unpublished. |
| getMyCatalogCategories | Global function that returns a list of categories for which the current user is the manager or an editor. |
Client scripts
| Client script | Description |
|---|---|
| Duplicate Category Name Check | Displays a warning on the Service Category Request form when the requested service category has the same name as an existing service category. |
| Fix Table Name | Ensures a valid table name on the Service Category Request form. |
| Hide Draft Services | Hides the Draft Services related list on the Service Category Request form when appropriate. |
| Propose Table Name | Proposes a valid table name on the Service Category Request form for new service category requests. |
| Category Published | Displays a help message when Published is selected on the Service Category Request form. |
| Hide Fulfillers | Hides the Fulfillers related list on the Service Category Request form when appropriate. |
| Editors Message | Displays a help message for the Editors field when appropriate. |
| Other Tables Message | Provides information about existing service category tables for the selected Department. |
| State Message | Displays a help message for the State field. |
Business rules
| Business rule | Description |
|---|---|
| Service Query | Restricts users without the catalog_admin role to viewing service records within service categories they are the manager or editor of. |
| New Service | Provides a message when a new sc_cat_item_producer_service record is created. |
| Table Name Required | Ensures a service category request has a valid table name before approval. |
| Remove Fulfiller Role | Removes relevant role from service fulfillers when they are removed from a category. |
| Category Request query | Restricts users without the catalog_admin role to viewing service category records they are a manager or editor of. |
| Editor Role | Adds and removes relevant roles from service category editors. |
| Delete User Role | Removes the relevant role from service category editors when appropriate. |
| Category Published | Sets State to Published to Catalog when the Published check box is selected on the Service Category Request form. |
| Populate Service Name if Empty | Populates a service name if none is provided. |
| Add Departmental Services Category | Adds a new service to the Departmental Services service catalog category. |
| Default Fulfillment User | Makes a category manager the assignee of service tasks if no assignee is specified. |
| Scratchpad Draft Services Count | Generates field help messages. |
| Catalog Category Request Approved | Creates components necessary to use of a new service category. |
| Manager Role | Grants relevant roles to category managers. |
| New Service Script | Populates the script of a new Service to set assignment group or user. |
| getDepartmentUsers | Returns the users of a department. |
| Draft Item Query | Restricts users without the catalog_admin role to viewing draft service records they are a manager or editor of. |
| Grant Fulfiller Role | Grants relevant role to service fulfillers. |
| Scratchpad Department Name | Generates field help messages. |
| Scratchpad | Generates field help messages. |
| Other Tables For Department | Generates field help messages. |
| Set Single Catalog from Single Category | Populates a default Catalog for a new service. |
Email notifications
| Name | Description |
|---|---|
| Service Category Published | Notifies the manager of a service category when the category request is approved. |
| Service Category Rejected | Notifies the manager of a service category when the category request is rejected. |
| Service Category Request Inserted | Notifies catalog administrators when a new category request is created. |
| Service Category Created | Notifies the manager of a service category when the category is created. |
| Service Category Publication Requested | Notifies catalog administrators when publication of a category has been requested. |
| Service Category Request Opened | Notifies the manager of a service category when a new category request is created on their behalf. |