- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2024 04:32 PM
We have a user info section in all our catalog forms. This section is a variable set and I was using the script include way to populate all the user info in these variables. Recently I switched this to use the autopopulate. It works fine in native ui. But, when a order guide form is submitted, the user info section in RITM and SCTASK is wiped off except the Request on behalf of. Issue is only with order guide submitted through service portal. Native UI is good.
Does anyone know how to fix this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2024 08:14 AM - edited 04-04-2024 08:14 AM
So, I had to create a new variable set for the describe needs page, and some scripts/business rules adjusted. This eliminated the clearing of requester data on the choose options page (order guide used in service portal). All working as I expected it to work.
Thanks for all your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2024 03:09 PM
Issue is not that. That part is all fine.
I am clearing the "request on behalf of" variable onLoad (user fills it first time) - Describe Needs page. After form moves to Choose Options page (the onload script is again running and it is clearing the entered value in "request on behalf of". I need to stop the clearing here. How do I do that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2024 03:19 PM - edited 03-14-2024 03:22 PM
why second onLoad, seems like you are using this catalog item as individual item and with order guide.
u can update the catalog level onLoad script and apply the condition to check if field is not empty then do not clear ( reset ) value.
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2024 08:14 AM - edited 04-04-2024 08:14 AM
So, I had to create a new variable set for the describe needs page, and some scripts/business rules adjusted. This eliminated the clearing of requester data on the choose options page (order guide used in service portal). All working as I expected it to work.
Thanks for all your help.