Re: custom list definition

Tech-Archive recommends: Speed Up your PC by fixing your registry



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!
>


.



Relevant Pages

  • Re: Uploading Document Titles
    ... > Can you confirm that you are using SharePoint Team Services (the 2001 ... > product this is the newsgroup for) and not Windows SharePoint Services ... > Mike Walsh, Helsinki, Finland ... > STS FAQ at http://www.collutions.com/Lists/FAQ ...
    (microsoft.public.sharepoint.teamservices)
  • Re: Customed Column with Hyperlink
    ... This is not a CAML question. ... Nor I suspect are you using SharePoint Team Services. ... Windows SharePoint Services is at ... STS FAQ at http://www.collutions.com/Lists/FAQ ...
    (microsoft.public.sharepoint.teamservices.caml)
  • Re: Support for Office 2000
    ... You are in the wrong newsgroup. ... SharePoint Team Services does not have web parts. ... I presume you are using Windows SharePoint Services which is the current ... STS FAQ http://www.collutions.com/Lists/FAQ ...
    (microsoft.public.sharepoint.teamservices)
  • Re: *** Full-Text Search doesnt work with SQL-Cluster ***
    ... This is SharePoint Team Services ... Looks like you want SPS at microsoft.public.sharepoint.portalserver ... STS FAQ at www.collutions.com/Lists/FAQ ... Please post questions to the newsgroup only. ...
    (microsoft.public.sharepoint.teamservices)
  • Re: sbs2k3 Sharepoint srv mistake need help on
    ... This is the newsgroup for SharePoint Team Services. ... SBS 2003 contains Windows SharePoint Services. ... STS FAQ http://www.collutions.com/Lists/FAQ ...
    (microsoft.public.sharepoint.teamservices)