Auto Populating not working in platform view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2025 11:44 PM
Hello All,
I've a requirement to populate a List collector variable based on a selected reference variable related list records . I wrote a script include and onChange Client script to achieve this. This is working fine in Service Portal however not working on Platform view(Using TRY IT UI Action On record producer).
Thanks in Advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2025 04:30 AM - edited 04-07-2025 10:41 PM
Hello @Ankur Bawiskar ,
The client script's UI Type is 'All'. I'm adding the screenshots for Script Include and client script.
Thanks in Avdance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2025 10:59 PM
share the scripts please and not screenshots.
Please answer these questions
1) Also did you verify if script include got called when you tested from native?
2) what debugging did you do?
3) add some logs in script include, add some alert in client script
4) Are you sure the variable software_model is visible in native view when you "Try It"?
5) onChange is written on which variable
6) does it work with admin in both the views?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader