How to display selected values from an array of objects
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2022 08:44 PM
I have written a customized Util class in script include which has a function to get records depending on a filter which is passed as parameters to a function.
The resultant records are stored in arrays as objects. I want to display certain selected fields from the entire record for each array element.
For eg:- I want to display the incident numbers, state, and its value from the object for each array element.
How can I achieve this?
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2022 08:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2022 05:18 PM
Thank you Abhay Kumar. It was simple yet I was unable to figure it out. Thank you.