Announcements
Hi!
I'm trying to get all elements of a list, but in dexterity don't exist any methods for that, for example a foreach.
I want to know if there is anything similar to be able to achieve this result.
Hello Marcos,
Are you looking to grab the values and then do something with each one, or are you looking to just get all of them?
For example, are you looking to get the list, and do something with A, do the same thing with B, and so on and so forth?
More information on what you are looking for will help get you the best answer.
Yes, I'm trying to do that.
I want to get each of those values and then add them to a table.
I managed to do this by creating a method in my library that would return an object with these values to me, but I feel that it is not practical, so if there is a better way, I would appreciate your help.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 666 Super User 2026 Season 1
Abhilash Warrier 280 Super User 2026 Season 1
Martin Dráb 207 Most Valuable Professional