开发者

<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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜