3
Views
2
Comments
Set variable from extension
Question
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!
UserImage.jpg
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...
2020-09-15 13-07-23
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 GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.