Re: custom list definition
- From: "Mike Walsh" <englantilainen@xxxxxxxxxxx>
- Date: Fri, 24 Jun 2005 09:50:37 +0300
Please confirm that you are using SharePoint Team Services vers 1.0 from
2001 and not Windows SharePoint Services (2003) which is at
microsoft.public.sharepoint.windowsservices
and not here.
Mike Walsh, Helsinki, Finland
STS FAQ at http://www.collutions.com/Lists/FAQ
WSS FAQ at http://wss.collutions.com
Please reply to the newsgroup
<mihaela.enache@xxxxxxxxx> wrote in message
news:1119552189.000962.211650@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I'm working on modifying an existing list definition with few custom
> requirements.
> One of the requirements is to format the ID field with something of the
> form [value of another field]-ID, where the ID has to be displayed as 3
> digits (so if the ID is smaller than 100 then it should have leading
> zeros in front of it).
>
> <Field Name="Reference" DisplayName="Reference" Type="Computed">
> <FieldRefs>
> <FieldRef Name="ID"/>
> <FieldRef Name="Prefix"/>
> </FieldRefs>
> <DisplayPattern>
> <Column Name="Prefix"/>
> <HTML><![CDATA[-]]></HTML>
> <IfEqual>
> <Expr1>
> <Gt>
> <Column Name="ID" />
> <Value Type="Integer">10</Value>
> </Gt>
> </Expr1>
> <Expr2>TRUE</Expr2>
> <Then><HTML><![CDATA[0]]></HTML></Then>
> <Else><HTML><![CDATA[00]]></HTML></Else>
> </IfEqual>
> <Column Name="ID"/>
> </DisplayPattern>
> </Field>
>
> Unfortunately it seems using <Gt>operator inside <Expr> doesn't get
> evaluated.
> Is there a way of solving this type of problem when you are not testing
> for equalities?
>
> Thanks!
>
.
- References:
- custom list definition
- From: mihaela.enache@xxxxxxxxx
- custom list definition
- Prev by Date: custom list definition
- Next by Date: Custom List: How to add column linked to item?
- Previous by thread: custom list definition
- Next by thread: Custom List: How to add column linked to item?
- Index(es):
Relevant Pages
|