Widget on task

Vaishali 11
Tera Guru

Can we display widget like variables on a particular catalog task?
If yes, what is the way to achieve it?

 

Thanks,

Vaishali

9 REPLIES 9

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.

Could you please share the snippets of the script.

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.

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

The question wasn't mine Dhruv😂