Custom catalog item widget on service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2025 06:29 AM
Hello,
There is a requirement for displaying a record producer on service portal along with 2 layer of steppers, 1st for request life cycle and 2nd for different stages of a form with set of variables. I could configure the steppers but there are 2 issues currently,
1. No custom catalog item cloned widget is working for me. Giving Item Not Found error. Need steps for cloning an SC Catalog Item widget.
2. How to customize form variables so that they can be divided into set of questions and displayed at different stages of stepper.
For example- 1. 2 fields at stage 1 of parent stepper.
2. 5 fields at stage 1 of child stepper and 5 fields at stage 2 of child variable(under stage 2 of parent stepper).
3. All the fields at stage 3 of parent stepper.
Your help is highly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2025 11:05 AM
Hi,
One way I found to display a set of questions in a catalog item in that staged manner you are looking for was to create variable sets for each 'section' and put all the questions I want answered in that stage, or variable set. In regard to your summary section, I would recommend removing that entirely. Once an item is submitted (clicking that Submit button), if you have not changed the redirect in the SC Catalog Item OOTB widget, then you should be automatically brought to a new page, I believe it is called sc_request, and it will render for the users a summary of the Item they just submitted, kind of making your last 'stage' redundant. If you don't like the sc_request summary page, then you can Clone the SC Catalog Item OOTB widget and change the handleRedirect() function. Question about the other part of your inquiry: Is the Child Stepper intended to simply add more fields to the form if 'Advanced' is toggled? Or does every user have to input values in the 'Advanced' stage. If the former, I'd recommend a different approach than making it a stepper, since you already have one. You could make that Child Stepper a Boolean check box variable and simply hide variables that are intended to be answered when 'Advanced' is checked, with Catalog Client scripts, or configuration in the 'Advanced' variable forms. Lastly, how are you cloning the OOTB SC Catalog Item widget? It may be that you need to edit the page configuration to point or use your cloned SC Catalog Item, rather than the OOTB one, you can do that in SP Config under Pages, or the Designer within SP Config. For keeping it really simple, clone the SC Catalog Item Page, don't make any changes, go to the Page Designer in SP Config, and change the widget instance in that page to use your cloned widget.