I have created a calculated column Which will generate a sequence number like 1,2,3.....
I am doing this in schema.xml file.Following is my schema file.
<Field ID = "{AF301763-E1B7-46D2-BA93-6154ED2B88B6}"Name="CustomCalculatedText"
DisplayName="Calculated Text"
Group="PST"
Type="Calculated"
Description="A calculated text field based on Custom Single Line of Text."
Required="FALSE"
ResultType="Text"
ShowInNewForm="TRUE"
ShowInEditForm="TRUE">
<Formula>=[ID]</Formula>
<FieldRefs>
<FieldRef ID="{1d22ea11-1e32-424e-89ab-9fedbadb6ce1}" Name="ID"/>
</FieldRefs>
</Field>
But it is not generating the sequence number ,each case it is returning 0
Please help me for the problem.