<DefaultFormula> Tags not adding to the default formula of the column
Hi I am currently creating a date time field for sharepoint in XML
My field is created but no default formula is added. Do i need another tag to say i want to have a defaultformula
. The schema i have is
<Field <!-- Some properties here-->>
<DefaultFormula>Today +182</DefaultFormula>
<FieldRefs>
</FieldRefs>
</Field>
Cheers 开发者_Python百科 Truez
Try this:
<Field <!-- Some properties here-->>
<DefaultFormula>=[Today]+182</DefaultFormula>
<FieldRefs>
</FieldRefs>
</Field>
I've found many helpful examples here: http://office.microsoft.com/en-us/windows-sharepoint-services-help/examples-of-common-formulas-HA010105479.aspx?CTT=3
精彩评论