Configure catalog item script to display confirmation message and redirect the guest user

  • Freigeben Version: Australia
  • Aktualisiert 12. März 2026
  • 1 Minute Lesedauer
  • Configure the catalog item script to display a confirmation message and redirect the guest user to homepage or browse catalog page.

    Vorbereitungen

    Role required: catalog_admin

    Prozedur

    1. Find the catalog items.
      1. Navigate to All > Service Catalog > Catalog Definitions > Maintain Items.
      2. Search and select the required item.
    2. Make changes to the script.
      1. Select the What it will contain tab and scroll down to the Script section.
        showing Script section under what it will contain tab
      2. Paste the following code and update it as per your requirement
        gs.addInfoMessage("Your case has been submitted"); // Info message to be displayed  
        producer.portal_redirect = "csm?id=csm_sc_category&catalog_id=-1"; // portal page to redirect to
    3. Select Update.

    Ergebnisse

    The catalog item script is configured to display a confirmation message and redirect guest users.