catalog item decommission from the service portal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2022 11:10 PM
Hi Community,
Our organization needs to decommission a few catalog items from the service portal as the services are not offered by the business owners anymore and I want a nice way to advise clients when they visit.
As they are fully functional items with workflows, SLA, Inbound Actions etc, I don't want to change the catalog items and definitely want to preserve them - I hope to make them inactive so they are removed from end users but still remain backend.
Can I use a Content Item to show a message notifying end users that this catalog item has been decommissioned. But the catch would be it needs to preserve the same sys_id etc incase end users are using a browser favourites to open the catalog item.
Troy
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2022 11:17 PM
Write onLoad client script on the catalogue item, that can show message that this catalogue items has been decommissioned. So you will be redirected to the catalog home screen" then redirect them to catalogue home screen or the page that you wanted to redirect.
Thanks & Regards,
Vasanth

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2022 11:24 PM
Hi
Firstly, Navigate to "Service Catalog > Catalog Definitions > Maintain Items". Search the Item you are after. Set active to false.
By this the catalog items are preserved in your instance and will not be shown to the Users!!
Secondly , To inform the users, you can create a Announcement on the Service Portal , follow these steps :
Procedure
- Navigate to Service Portal > Announcements.
The Announcements [announcement] table displays all announcements.
- Click New.
- On the form, fill in the fields.
Field Description Name Internal title that doesn't display in the announcement. Active Option to activate the announcement. To hide an announcement, clear the Active check box. Title Title to appear in the announcement. From Date and time that the announcement begins to appear. To Date and time that the announcement ends. If left empty, the announcement continues to appear until it's deactivated. Summary Text to appear in the announcement. Display style Defines the background color, text color, and text alignment of banner announcements. Base system styles include: - Normal: Blue background and left-aligned, white text.
- Urgent: Red background and left-aligned, white text.
Announcements that appear in a banner use the display style defined in the Announcement record, by default. To use the display style in an instance of the Announcements widget, you can select the Use Display Style instance option.
Type Defines where an announcement displays. By default, announcements appear in the following locations:
- Banner: Announcement banner above the banner frame in the Service Portal.
- Widget: Instance of the announcements widget.
You can create an announcement type to define other widget instances to display an announcement.
Glyph Glyph to display to the left of the title in banner announcements. Glyph alt text Alternative text for the glyph icon used with screen readers. Public Option to display the announcement to users before and after they've logged in. Display first If selected, the announcement displays before all other announcements. If there is a tie between two records set to Display first, the sort order defined in the glide.service_portal.announcement.default.sort_order system property is honored. See Service Portal properties.
Roles If Public is not selected, you can define the roles that the announcement is visible to. If left empty, the announcement is visible to all roles. Note: Alternatively, you can define user criteria for the announcement instead. To do so, set up User criteria for Service Portal and clear the Public check box. Announcements display to only the users who pass the access criteria.Unauthenticated only Option to display the announcement only to users who haven't logged in. This option appears only if Public is selected.
Click target Creates a link below the announcement body that opens to a target page or URL. - None: Announcement doesn't include a link.
- Page: Opens a Service Portal page in the current browser tab.
- URL in current browser tab: Opens a URL in the current browser tab.
- URL in new browser tab: Opens a URL in a new browser tab.
If the Details link text field is empty and a click target is defined, the title of the announcement is the link.
Details page The page that opens in the current browser tab. Available if the Click target is Page. Details URL The URL that opens in the current or new browser tab. Available if the Click target is URL in current browser tab or URL in new browser tab. Details link text Link text for the page or URL click target. If you leave this field empty and define a click target, the title of the announcement is the link. Dismiss options Determines whether the user can dismiss the announcement. Options include: - User can dismiss - no redisplay
- User can dismiss for current session only
- User cannot dismiss
Portals Portals that display the announcement. If this field is empty, the announcement displays in all portals. - Save or submit the record.
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep