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
stealth
3
Views
2
Comments
Set variable from extension
Question
XML
Hi there,
I've made an extension that allows you to serialize the data to xml and then deserialize it. For the serialization, everything looks fine, but when I try to deserialize it, everything goes ok with the code (I've test it in a console app), but it doesn't set the variable in my page action.
Any thoughts?
Thank you in advance!
stealth
Solved... like in the XMLRecords extension, you need to pass a List of Records into the extension and then add the result of the deserialization to that list...
Kilian Hekhuis
MVP
Yes. That's because there's no way to pass anything but a list by reference, and there's equally no way to convert a variable of type Object to anything else in Service Studio.
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...