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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CA Neeraj Kumar 783
André Arnaud de Cal... 715 Super User 2025 Season 2
Sohaib Cheema 519 User Group Leader