Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 2 of 2 total |
Passing Structs from RemObjects server |
Sat, Mar 12 2016 9:32 AM | Permanent Link |
Andreas Blenk | Hi all,
i am trying to pass a Struct-Object from my RemObjects server back to EWB. I also defined the struct in EWB as external. But by calling my method i always get something like this: " ... object doesn't support property or method "indexOf"...". If i try it without passing a struct it works. So my question is: Is it possible to pass structs from a RO-Server to EWB? Second question: Where can i get the most recent ROSDKUtils? I have one. But don't know if it is the current one. Thanks, Andreas |
Sat, Mar 12 2016 10:23 AM | Permanent Link |
Andreas Blenk | I found a way that works. Now i can pass structs from RO-Server.
I just need to define my struct (in my case TApiServiceResult) like this: external TIntegerValue = class public property dataType: String read write; property value: Integer read write; end; external TStringValue = class public property dataType: String read write; property value: String read write; end; external TApiServiceResult = class public property Message: TStringValue read write; property Description: TStringValue read write; property Code: TIntegerValue read write; end; |
This web page was last updated on Wednesday, October 9, 2024 at 05:37 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |