{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":2355,"path":"application-development/service-creator/r_InstalledWithServiceCreator.md","title":"Installed with Service Creator","bundle":null,"doc_type":null,"release":"australia","body":"\n# Installed with Service Creator\n\nSeveral types of components are installed with Service Creator.\n\nDemo data is available with Service Creator. The demo data provides the Departmental Services service catalog category.\n\nCreating a new service category also creates [components for that service category](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/service-creator/r_CompsCreatedWithNewSvcCategs.md).\n\nThe following components are added with [Service Creator](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/service-creator/c_ServiceCreator.md):\n\n## Tables\n\n|Table|Description|\n|-----|-----------|\n|Service Category \\[catalog\\_category\\_request\\]|Stores all [service categories](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/application-development/service-creator/t_ManagingServices.md).|\n|Service Category Request User \\[catalog\\_category\\_request\\_user\\]|Tracks fulfillers for a service category. Use these records to grant or remove roles as needed.|\n|Service \\[sc\\_cat\\_item\\_producer\\_service\\]|Stores all services.|\n|Service Category App Menu \\[service\\_category\\_app\\_menu\\]|Stores the application menus for each service category.|\n|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.|\n\n## UI actions\n\n|UI action|Description|\n|---------|-----------|\n|Create Category and Table|Approves a requested service category and creates system components for that category.|\n|Request Category Publication|Lets a service creator request their category be published.|\n|Create New Service|Creates a new service within the service category.|\n|View Table Definition|Opens the task table definition \\[sys\\_db\\_object\\] for a service category.|\n|View Task List|Opens the list of tasks associated with the service category.|\n\n## UI policies\n\n|UI policy|Description|\n|---------|-----------|\n|Hide Due Date|Hides the Due date field on the Service Category form if State is Requested or Due date is empty.|\n|Hide Category If Empty|Hides the Category field, if empty, on the Service Category form.|\n|Show Published|Shows the Published check box on the Service Category form if State is Created but Unpublished or Ready for Publication.|\n|Hide Table name|Shows Table and hides Table name on the Service Category form if Table has a value.|\n|Hide Category Name|Hides Name on the Service Category form if State is Requested or Rejected.|\n|Table name read only|Makes Department and Table name read only on the Service Category form if State is not Requested.|\n|Hide Editors|Hides the Editors field on the Service Category form if State is Requested or Rejected.|\n\n## Properties\n\n<table id=\"table_wy2_flx_3q\"><thead><tr><th>\n\nProperty\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nglide.citizen\\_developer.category.auto\\_publish\n\n</td><td>\n\nAutomatically adds new service categories to the service catalog as subcategories of the Departmental Services category.-   Type: true\\|false\n-   Default value: true\n-   Location: System Properties \\[sys\\_properties\\] table\n\n</td></tr><tr><td>\n\nglide.citizen\\_developer.set\\_category\\_roles\n\n</td><td>\n\nComma-separated list of roles that can set the category for a new service.-   Type: String\n-   Default value: admin, catalog\\_admin\n-   Location: System Properties \\[sys\\_properties\\] table\n\n</td></tr><tr><td>\n\nglide.service\\_creator.auto\\_add\\_to\\_category\n\n</td><td>\n\nAutomatically adds new services to the Departmental Services service catalog category, in addition to the department-specific category.-   Type: true\\|false\n-   Default value: true\n-   Location: System Properties \\[sys\\_properties\\] table\n\n</td></tr></tbody>\n</table>## Script includes\n\n|Script include|Description|\n|--------------|-----------|\n|serviceCategoryIsUnpublished|Global function that returns true if the service category is unpublished.|\n|getMyCatalogCategories|Global function that returns a list of categories for which the current user is the manager or an editor.|\n\n## Client scripts\n\n|Client script|Description|\n|-------------|-----------|\n|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.|\n|Fix Table Name|Ensures a valid table name on the Service Category Request form.|\n|Hide Draft Services|Hides the Draft Services related list on the Service Category Request form when appropriate.|\n|Propose Table Name|Proposes a valid table name on the Service Category Request form for new service category requests.|\n|Category Published|Displays a help message when Published is selected on the Service Category Request form.|\n|Hide Fulfillers|Hides the Fulfillers related list on the Service Category Request form when appropriate.|\n|Editors Message|Displays a help message for the Editors field when appropriate.|\n|Other Tables Message|Provides information about existing service category tables for the selected Department.|\n|State Message|Displays a help message for the State field.|\n\n## Business rules\n\n|Business rule|Description|\n|-------------|-----------|\n|Service Query|Restricts users without the catalog\\_admin role to viewing service records within service categories they are the manager or editor of.|\n|New Service|Provides a message when a new sc\\_cat\\_item\\_producer\\_service record is created.|\n|Table Name Required|Ensures a service category request has a valid table name before approval.|\n|Remove Fulfiller Role|Removes relevant role from service fulfillers when they are removed from a category.|\n|Category Request query|Restricts users without the catalog\\_admin role to viewing service category records they are a manager or editor of.|\n|Editor Role|Adds and removes relevant roles from service category editors.|\n|Delete User Role|Removes the relevant role from service category editors when appropriate.|\n|Category Published|Sets State to Published to Catalog when the Published check box is selected on the Service Category Request form.|\n|Populate Service Name if Empty|Populates a service name if none is provided.|\n|Add Departmental Services Category|Adds a new service to the Departmental Services service catalog category.|\n|Default Fulfillment User|Makes a category manager the assignee of service tasks if no assignee is specified.|\n|Scratchpad Draft Services Count|Generates field help messages.|\n|Catalog Category Request Approved|Creates components necessary to use of a new service category.|\n|Manager Role|Grants relevant roles to category managers.|\n|New Service Script|Populates the script of a new Service to set assignment group or user.|\n|getDepartmentUsers|Returns the users of a department.|\n|Draft Item Query|Restricts users without the catalog\\_admin role to viewing draft service records they are a manager or editor of.|\n|Grant Fulfiller Role|Grants relevant role to service fulfillers.|\n|Scratchpad Department Name|Generates field help messages.|\n|Scratchpad|Generates field help messages.|\n|Other Tables For Department|Generates field help messages.|\n|Set Single Catalog from Single Category|Populates a default Catalog for a new service.|\n\n## Email notifications\n\n|Name|Description|\n|----|-----------|\n|Service Category Published|Notifies the manager of a service category when the category request is approved.|\n|Service Category Rejected|Notifies the manager of a service category when the category request is rejected.|\n|Service Category Request Inserted|Notifies catalog administrators when a new category request is created.|\n|Service Category Created|Notifies the manager of a service category when the category is created.|\n|Service Category Publication Requested|Notifies catalog administrators when publication of a category has been requested.|\n|Service Category Request Opened|Notifies the manager of a service category when a new category request is created on their behalf.|\n\n"}}