Need to add catalog item to wishlist automatically

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2023 10:26 PM
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.
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:
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2023 10:34 PM
Not sure if it's just me, but those screenshots are not readable, way too small.
You might also want to take a look at these 2 posts for future questions:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2023 10:50 PM - edited 08-22-2023 12:53 AM
Hi Jim,
Its my bad that i have posted it small unknowingly.
I will paste those screenshots again in a better readable way ,pls let me know if any changes needs to be done in that code to satisfy the requirement.
Thanks