Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Bas Vermeulen
25
Views
1
Comments
Java code-example to retrieve structure-values from a list of structs in extension
Question
Java
Data
I do have a list of structures (list of STRUCT) with structure elements STRUCT.mytext and STRUCT.myinteger as input of a stored procedure and I like to retrieve the text- and integer-values within my Java-extension.
Does someone have a code exaple for this?
More specific, I'm able to get the values from structure elements of ONE structure. The problem is more how to retrieve individual structure-instances from the list so that I can continue the way I'm used to.
Kilian Hekhuis
MVP
Hi Bas,
You mention a "stored procedure", but from your question I figure you're talking about an Action in an Extension?
What is your current code? What does it mean that you can only get "the values from one structure"? Are you talking about different structure with unknown attributes, or always the same structure? Is looping over the list the problem you are having? Etc.
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...