The CreatorCon Call for Content is officially open! Get started here.

How to dynamically redirect users to Requested Item page instead of SC Order Status page?

Kevin4
Tera Contributor

My goal is the following: When a user requests one item from the Portal (just one). OOB the user is being send to the widget SC Order Status to follow the state of the Request. The user has the opportunity to click on the requested item to see more details about the request.

What I am trying to reach is, when the user only has one requested item, I don't want to fully load the SC Order Status widget. But instead load the the page where the user sees hers Requested Item (sc req item widget). So if there is only one requested item according the request, don't load the SC Order Status widget.

Why I want this? I don't want to change to many OOB widgets and pages. So I tried to redirect the user when the request only contains one requested item. And came up with several solutions on the Client Script side, but I really need a solutions on the Server Script side. So the preload time for the browser is at the minimum. Also the suggestion to use a Processor, but that one is deprecated. Also the Page Route Maps doesn't have the proper solution to fulfill my wish.

Does someone experience the same issue and does have a simple solution for it?

5 REPLIES 5

Kevin4
Tera Contributor

Thanks for your reply! Well it is hard to get this done. So I do think that your solution fits best in our environment at the moment. Thanks for that! Hopefully there is someone in the community who did experienced it before and know how to deal with this.