You need to sign in to do that
Don't have an account?
Shin
Flex Toolkit : DescribeSObject fields are kept in Hash style
Another flex question. I couldn't find out it is intended or not.
Unlike AJAX Toolkit, describeSObject method in flex toolkit returns "fields" field as hash object, not in array.
AJAX Toolkit:
Unlike AJAX Toolkit, describeSObject method in flex toolkit returns "fields" field as hash object, not in array.
AJAX Toolkit:
AJAX Toolkit :
Code: Flex Toolkit for Apex :
Code: A little inconsistent. Is this intended?
The associative array has the advantage that you can directly access the field if you have the name, without looping, but I doubt there was much intention put into it, just an expedient way of parsing the result object into the strongly typed Flex object.
you can re-write it as an indexed array if you like, since it's open source..