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
Izak Joubert
110
Views
2
Comments
RecordList to C# DataTable
Question
Can anybody help me with an example or some guidance on how to perform a RecordList to C# DataTable conversion in Integration Studio?
We are developing an extension with Integration Studio (9.0.1.9) in which I need to convert a record list (list) to some sort of C# enumerable object, preferably a DataTable. The intention of the extension is to accept the output of any aggregate action for processing. The exact type of entity in the record list can therefore not be defined at design time.
Regards,
Izak
Ricardo Silva
Records and Record Lists don't offer much in instrospection capabilities. Their intended use is for typed record lists to be used in Extensions, not to analyse a generic record list.
That being said, there are a few extensions out there (ardoJSON, XML Records) which use reflection to instrospect the values they're given. Maybe you can inspire yourself from their code to achieve your goals.
Otherwise, I'd suggest you to create an Idea to add an introspection API to records / record lists so this use-case is better covered when programming generic extensions.
1 reply
09 Jun 2015
Show thread
Hide thread
Izak Joubert
Thanks Ricardo. The XMLRecords extension gave me enough to figure out how to proceed.
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...