Get all label fields from lookup select box to string
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2022 07:51 AM
Hi everyone,
I have a catalog item and when I choose an option, it populates another field.
The choice field is a lookup select box with 3 label fields
And I have this script to populate the other field. The problem is that in the cmdb_ci field only the first label field appears, and I need all 3 to appear.
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2022 09:28 AM
Hello,
What type of field is cmdb_ci? Is it reference field if yes then in a reference field only the display value will appear.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2022 01:15 AM
cmdb_ci its a lookup select box too. But in script i put an alert in newValue before the setValue line, and the newValue only have the first field (123456, in this case), so i think the problem is on change the newValue don't get all the 3 values to set right in cmbd_ci