Redirect to Request Item instead of Order Status

MentZ
Kilo Expert

After the creation of a Request Item in the Portal, the user is redirected to the Order Status of the REQ, according to this:
find_real_file.png

 

What I want to achieve, its that the user should be redirected to the Request Item-page: sp?id=ticket&table=sc_req_item&sys_id=xxxxxxxxx

If I select 'ticket' in the Page Route Map, the user is redirected to the REQ-ticket and not the RITM-ticket.

I see there are various ways to achieve this, one of the alternatives is to clone the SC Catalog Item-widget, and change the client script as described here: How to dynamically redirect users to Requested Item page instead of SC Order Status page? - Customer...

But I'm not sure if this is the right way?

Any step by step instructions to do this would be highly appreciated.

1 ACCEPTED SOLUTION

1.) Enter sp_page.list in the Filter Navigator and hit Enter
find_real_file.png

2.) Enter sc_cat_item in the ID column and hit Enter
find_real_file.png

3.) Open the record shown in the screenshot

4.) Scroll down and click the column that holds the SC Catalog Item-Widget
find_real_file.png

5.) Copy the Sys ID of the Column Page
find_real_file.png

6.) Enter sp_instance.do in the Filter Navigator

7.) Continue on step 2 of my previous post where it explains to set the column with the help of the sys_id you just copied.

Hope this helps you 🙂

View solution in original post

10 REPLIES 10

Hello Markus,

Thank you for your answer. Can you please describe the steps as it was meant to be read by a newbie. I'm not really sure where to find the SysID of the Column. And what column.

Thank you in advance!

1.) Enter sp_page.list in the Filter Navigator and hit Enter
find_real_file.png

2.) Enter sc_cat_item in the ID column and hit Enter
find_real_file.png

3.) Open the record shown in the screenshot

4.) Scroll down and click the column that holds the SC Catalog Item-Widget
find_real_file.png

5.) Copy the Sys ID of the Column Page
find_real_file.png

6.) Enter sp_instance.do in the Filter Navigator

7.) Continue on step 2 of my previous post where it explains to set the column with the help of the sys_id you just copied.

Hope this helps you 🙂

Hi Markus,

After I marked this as 'Correct Asnwer', I noticed that this doesnt work for Incidents, because you create the URL only for REQ or RITM. The Incidents keep getting this redirect URL:
find_real_file.png

 

Any way to get the table and page dynamically?

Thanks for letting me know, i've updated the client controller code in my previous response. This should now also work with record producers (as long as they set a portal redirect url in the record producer's script).

Thank you Markus,

Now I have another issue with HR cases:
find_real_file.png

The Redirect URL leads to nowhere, because it's getting an additional '%3F'.

The record producer is as follow:

find_real_file.png