The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Faceted Search Widget links to ?id=form instead of ?id=sc_cat_item

Paul Kunze
Tera Guru

Hello community,

 

I am experiencing a strange behavior in the links of the "Faceted Search" widget and want to ask if someone knows a solution.

When I search for a Catalog Item (for example "Create Service Offering") in the OOTB Portal /esc then I can see the correct item in the search results.

PaulKunze_1-1684238311657.png

And when I click the button "Request" then it redirects to the correct page ?id=sc_cat_item.

PaulKunze_0-1684238164129.png

 

Now I cloned this Portal, named it /custom (instead of /esc), but configured it the same way as the OOTB Portal.

The search returns the same results as the /esc Portal.

PaulKunze_2-1684238433689.png

But when I click the button "Request" then it redirects to the wrong page ?id=form&table=sc_cat_item.

PaulKunze_3-1684238534657.png

 

How can I correct this routing so that it shows the right Catalog Item page?

2 ACCEPTED SOLUTIONS

Community Alums
Not applicable

@Paul Kunze , Oh! If not, then create one as per your needs. Try this workaround; maybe it helps.

Thanks.

View solution in original post

Paul Kunze
Tera Guru

I finally found the reason (the root cause) for the behavior and want to share it.

It occurred because we have a custom Portal and activated AI search but with some wrong configurations.

The entries in table "AI Search Results Action Configurations" (sp_ai_search_results_action_config) need to be set up so that the correct Service Portals, Search Sources and Portal pages are connected.

 

PaulKunze_1-1702379278604.png

 

View solution in original post

9 REPLIES 9

Community Alums
Not applicable

Hello @Paul Kunze ,

 

Pls check in Page Route Maps, if any record is present for your custom portal:

 

Khushbookabra_0-1684261655504.png

Thanks.

Thanks for your reply!

In my instance there is no Page Route Map defined that routes to "form".

PaulKunze_0-1684307047220.png

Only 4 standard definitions exist for sc_cat_item:

PaulKunze_1-1684307439349.png

 

Community Alums
Not applicable

@Paul Kunze , Oh! If not, then create one as per your needs. Try this workaround; maybe it helps.

Thanks.

That's an idea... Yes that actually works.

The downside is that the URL still displays ?id=form but at least the users will see the correct page. Also when a requirement comes in the future to show a form of any other table then this cannot be used anymore.

 

Thanks for the help, I'll go with this workaround for now.