Select to view content in your preferred language

How add features with Editor

637
1
12-27-2012 07:20 AM
RodrigoRodríguez_Martín
New Contributor
Hi

I have some featurelayer and I can create news features with all them except with features that have Type. My code is:

<Button Command="{Binding Add}" Margin="2"   Width="25" Height="25"  ToolTipService.ToolTip="Crear">
      <Image Source="Images/pen.png"/>
      <Button.CommandParameter>
           <sys:Int32>1</sys:Int32>
      </Button.CommandParameter>
</Button>

Only difference with samples is that my service have a field esriFieldTypeSmallInteger and not esriFieldTypeInteger.
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
Did you try you Int16?
<sys:Int16>1</sys:Int16>
0 Kudos