When I select a template and click Auto-complete and try to cover a donut hole polygon . I get the following error in the component. Error #1009 (Actually the user didn't do the auto-complete in the right way ,but I would like to trap this error message and reset some of my model states. I belive this Alert error message is thrown from the FlexViewer APi and not from our code base anywhere ). I was also able to reproduce the error in the sample application that you provided. Please direct how can we get around this issue. Thanks..