SHAREPOINTSearch.com

Welcome to SHAREPOINTSearch.com Sign in | Join

in Search
Skip Navigation Links
Home
Resource CenterExpand Resource Center
Research CenterExpand Research Center
BIG Resource List
Blog Zone
Forums
RequestsExpand Requests
About Us

adding custom Date fields in in Content Query Web Parts

Last post 01-28-2009 11:31 PM by prasannak5. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 01-28-2009 11:31 PM

    adding custom Date fields in in Content Query Web Parts

    Hi ,
      Can anybody help me in adding custom Date fields in in Content Query Web Parts . I have tried following codes in .webpart file & itemstyle file  but it didnt work.

    .webpart file
            <property name="CommonViewFields" type="string">
            Start_x0020_Time, DateTime;End_x0020_Time, DateTime;Location,Text
        </property>

    Itemstlye file

            Start Date:
            <xsl:value-of select="ddwrt:FormatDateTime(string(@Start_x005F_x0020_Time) ,1033 ,'MMMM dd, yyyy ')" />
            <br></br>
            End Date:
            <xsl:value-of select="ddwrt:FormatDateTime(string(@End_x005F_x0020_Time) ,1033 ,'MMMM dd, yyyy ')" />
            <br></br>
            Location:
            <xsl:value-of select="@Location" />
Page 1 of 1 (1 items)
SHAREPOINTSearch.com is not affiliated with or endorsed by the Microsoft Corporation.See our Terms, Conditions and Privacy Statements
SharePoint is a trademark of the Microsoft Corporation.