- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2024 10:20 AM
We attempted to publish our custom service catalog, but it only displays the default "Service Catalog" instead of the one we created. Is there a way to make our custom catalog the primary one or change the name "Service Catalog" through scripting?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2024 08:47 PM
To make your custom service catalog the primary one or change the default "Service Catalog" name:
1. Make Your Custom Catalog Primary:
- Service Portal: Edit the catalog_home page and change the default catalog to your custom one.
- UI Policy: Set the Service Catalog field to your custom catalog when creating records or requests.
2. Change the "Service Catalog" Name:
- UI Page: Modify the Title field in the catalog_home UI Page.
- Script: Rename the catalog entry in the cmn_catalog table:
var menu = new GlideRecord('cmn_catalog');
menu.get('name', 'Service Catalog');
menu.name = 'Your Custom Name';
menu.update();
- Translations: Use System Localization > Translations to update the name for multilingual environments.
This will set your custom catalog as the primary one and change the name where needed.
✔️ If this solves your issue, please mark it as Correct.
✔️ If you found it helpful, please mark it as Helpful.
—
Shubham Jain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2024 08:47 PM
To make your custom service catalog the primary one or change the default "Service Catalog" name:
1. Make Your Custom Catalog Primary:
- Service Portal: Edit the catalog_home page and change the default catalog to your custom one.
- UI Policy: Set the Service Catalog field to your custom catalog when creating records or requests.
2. Change the "Service Catalog" Name:
- UI Page: Modify the Title field in the catalog_home UI Page.
- Script: Rename the catalog entry in the cmn_catalog table:
var menu = new GlideRecord('cmn_catalog');
menu.get('name', 'Service Catalog');
menu.name = 'Your Custom Name';
menu.update();
- Translations: Use System Localization > Translations to update the name for multilingual environments.
This will set your custom catalog as the primary one and change the name where needed.
✔️ If this solves your issue, please mark it as Correct.
✔️ If you found it helpful, please mark it as Helpful.
—
Shubham Jain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2024 10:39 AM
Thanks for your reply! Your advice was super helpful, and following your instructions worked perfectly.
Sofia