Facing issue while creating feature layer with some predifiened template

Discussion created by AmitGoel_2013 on Apr 15, 2014
We are facing issuing while creating layer with predefined template.
We will get response with some invalid response output and graphic was not displayed on map.
e.g:- In "drawingInfo" JSON object get "solid" as value for "style" key instead of "esriSFSSolid" or "esriSLSSolid".
Get "simplefillsymbol" for "type" key instead on "esriSFS" etc.

This happens when we use parameter less constructor.