[mapguide-users] Base64 encoding decoding scenarios
wmedernach at rand.com
Mon Mar 2 11:42:51 EST 2009
I'm working on decoding the UIDs passed in the selection XML, and I want
to thank the group for all of the posts on decoding base 64 as I can
successfully decode a UID now!
However, when I attempt to decode a UID that is NOT made up a single
integer field, I'm running into some problems:
If the UID consists of 2 integer fields, upon decoding, only the first
value is returned.
Example, objects Key fields are:
When I decode this, only the first value, 1684, is returned.
Do I need to do something different for decoding a feature where there
are multiple key fields?
If the UID consists of a text field, the decoded value is incorrect.
Example, object UID = '1365-1684'
Decoded, the returned value is: 892744497
And I noticed if multiple objects are selected, it seems all of the
decoded values are: 892744497
Any comments, ideas, suggestions would be greatly appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mapguide-users