- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2025 06:03 AM
Hi everyone,
I'm working on enhancing the user experience in the Service Catalog by creating a wizard-style form where users can navigate through questions step-by-step using Next and Previous buttons.
To achieve this, I created a custom widget in the Service Portal and tried embedding it into the catalog item using a variable of type "Custom" and "Custom with Label". However, the widget is not rendering or functioning as expected within the catalog item.
Any guidance, examples, or best practices would be greatly appreciated!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2025 01:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2025 09:45 AM - edited 07-25-2025 09:47 AM
Hello @HarikaNakhate ,
You can try using UI macro.
Add Widget to a catalog item using a Macro variable.
Below is sample script which you can write in UI macro
<g:ui_macro name="wizard_form_macro">
<div id="wizard-form">
<div ng-show="step === 1">
<button ng-click="nextStep()">Next</button>
</div>
<div ng-show="step === 2">
<h3>Step 2</h3>
<button ng-click="prevStep()">Previous</button>
<button ng-click="submitForm()">Submit</button>
</div>
</div>
<script>
var c = $scope;
c.step = 1;
c.formData = {};
c.nextStep = function() {
c.step++;
};
c.prevStep = function() {
c.step--;
};
c.submitForm = function() {
alert("Submitted: " + JSON.stringify(c.formData));
};
</script>
</g:ui_macro>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2025 11:57 PM
Thank you for your guidance on using a UI Macro with a catalog item. I followed the steps and created a variable of type Custom, added the macro name, and tested it in the Service Portal. However, I'm still not able to get it working as expected.
I might be missing something in the setup or the macro configuration. Could you please help me understand what I might be doing wrong or guide me through the correct steps?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2025 12:02 AM
Try Playbook model
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2025 01:13 AM
Can you provide me more details.
