To add a catalog item automatically into wishlist in service portal

diNesh_M
Tera Contributor

Hi Team ,

I have a requirement that wants a catalog item in service portal to be automatically added into the "Wish List"  when the user selects a particular value in a drop down field .

For example if the user selects "No Idea" in a dropdown field and that should make the catalog item to move into the "Wish List" automatically.

Is it possible to achieve this?

Any idea on how to achieve this?

 

Thanks in advance

1 REPLY 1

diNesh_M
Tera Contributor

Hi ,

Hope some script should be written in the body html template and client controller of the "Add to wishlist" widget.

But not sure what script should be written in there.

Any idea ?

Will paste the screenshot below:

 

diNesh_M_0-1692649447694.png

 

diNesh_M_1-1692649504747.png