update in the form by client script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 09:17 PM
I need a script , when the incident form is new record. the short description field should be get automatic updated and that particular new Record should view in "test view"
how can we do this in client script

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 09:28 PM
Hi there,
What's the reason for asking Client Script here? You haven't written anything that for which Client Script would be the go to.
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
2020-2022 ServiceNow Community MVP
2020-2022 ServiceNow Developer MVP
---
LinkedIn
Community article, blog, video list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 09:29 PM
to change view
https://servicenowguru.com/scripting/client-scripts-scripting/change-form-view-client-script/
ON LOad Client script
switchView('section','incident','test view');
}