Select by URL Parameters - zoom to point?

Discussion created by Lizd711 on Feb 29, 2012
Latest reply on Mar 2, 2012 by hzhu
I'm trying to use the code sample here to use URL parameters to select one or more POINT features and zoom the map to those features. I have configured it using one of my polygon features and it works but I'm trying to use it for a point feature.
When I try passing this URL parameter the symbol appears around the point but the map does not zoom in or display the points information. Also I get this error- TypeError: query.geometry is null
Does anyone know what I need to add to my code to allow this to work properly? I've tried a few different ways but not having much luck.