- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2024 04:29 PM
Hello all,
I am trying to add an user/approver from an MRVS to the Catalog item Watchlist user field. The approver field gets auto populated from the user field. Should I create a Client script in the MRVS or Catalog Item?
I tried both, but did not work. Could please suggest me something?
I used the following script to auto populate a field's user to the watchlist, but unable to achieve the same for MRVS field.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2024 05:27 PM - edited 10-16-2024 07:57 PM
Hello Bowman,
Appreciate your response on that. Could you specify if I have to create the OnSubmit script inside the MRVS or as a catalog client script? I tried to modify my script using the advised "parent.g_form.getValue/.setValue to get/set". However, I am unable to achieve the goal. Could you please provide your feedback on the following script?
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2024 04:50 PM
It would probably be easier to do this on submit of the MRVS. You can use g_form.getValue for the MRVS variable name and parent.g_form.getValue/.setValue to get/set the watchlist field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2024 05:27 PM - edited 10-16-2024 07:57 PM
Hello Bowman,
Appreciate your response on that. Could you specify if I have to create the OnSubmit script inside the MRVS or as a catalog client script? I tried to modify my script using the advised "parent.g_form.getValue/.setValue to get/set". However, I am unable to achieve the goal. Could you please provide your feedback on the following script?
Thanks in advance.