thank you for the reply, your code does the trick. I've to convert key fields to string before using in googleRead function. Is it possible to read it like getBranch.REGION.keyToString? Or better getBranch.REGION.REGION_NAME.
Best Regards. On May 14, 7:26 pm, Edward Smith <[email protected]> wrote: > This is just from memory (and not tested) so I could be wrong, but > what googleRead's looking for is the "websafe" version of the key. > > You can generate this from a datstore.Key object using the KeyFactory > class's keyToString(key) method: > > <cfscript> > keyFactory = > createObject("java","com.google.appengine.api.datastore.KeyFactory"); > keyString = keyFactory.keyToString(getBranch.REGION); > myRegion = googleRead(keyString); > </cfscript> > > -- > Open BlueDragon Public Mailing List > http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon > mailing list -http://groups.google.com/group/openbd?hl=en > > !! save a network - please trim replies before posting !! -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon mailing list - http://groups.google.com/group/openbd?hl=en !! save a network - please trim replies before posting !!
