How to auto expand form included in order guide when only 1 included item is selected.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2024 10:02 AM
Hi all,
I need help on on this. requirement is to auto expand the form when only 1 included item selected.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0821168
This KB is have steps to set the value to true , but I need some additional script to check if only 1 included item is selected and then set the value to true. any help much appreciated.
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2024 10:43 AM
Follow the instructions in the KB but on the line that says:
is-open="item.isOpen"
Make it say this:
is-open="(includedItems.length==1)"