Widget on task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 12:10 AM
Can we display widget like variables on a particular catalog task?
If yes, what is the way to achieve it?
Thanks,
Vaishali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 04:34 AM
Then you'll have to follow the steps I listed
- Create two variables - one for storing the user, other for serial number - on the Catalog Item. Make those variables hidden.
- Write a catalog client script or UI policy to display those variables only on Catalog Task view.
- In the portal widget of Additional information, write a script on click of the button Submit. Here, fill in those variables with the user's information that they have input. Through the setValue method.
Try those steps, and if stuck, post your progress and we can work it out if needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 04:37 AM
Could you please share the snippets of the script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 04:55 AM
That's difficult as we'd need to consider the structure of the widget and the catalog item. I'd suggest you try out the steps one by one and if you run into any objective problem, the community can help you out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 03:11 AM - edited 12-16-2022 03:15 AM
Hi Vaishali,
You could define a new variable and have macro tagged to it and then make it visible on the catalog task through catalog UI policy.
Hope this helps.
Thanks,
Dhruv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 03:13 AM
The question wasn't mine Dhruv😂