When ever the GraphicsLayer is added to the map give it a name and id that way you can find it just like you would any other map layer by using map.getLayer.
When ever the GraphicsLayer is added to the map give it a name and id that way you can find it just like you would any other map layer by using map.getLayer.
Thanks alot Robert, i will give it a go. Basically i am trying to mode the save graphic code from the Draw Widget to a single save widget and i believe the code i have for saving the graphics was provided by yourself.