Hi, I am sure this is really simple, but cannot find a similar post or entry in the help.
How do I loop through a list and access the field values in FlexScript, without pulling the items first?
In the example below i want to access the item in the list itself as well as its type label stored on the item.
Thanks
Mark
- List myList = List("ItemList1");
- int myListLength = myList.stats.content.value;
- //loop through all list entries
- for(int listEntry = 1; listEntry <=myListLength; listEntry ++)
- {
- var listItem = NULL; //How to get reference to item.
- int itemType 0;
- }