How to Display the Current Date and time Work Item  
Author Message
Pramod_SN





PostPosted: Team Foundation Server - Work Item Tracking, How to Display the Current Date and time Work Item Top

Hi All,

Presently I am customizing the Work Item template. I need to display the date and time of Work Item creation as one of the field. I tried the following code, but still I am unable to display date and time by default. Please let me know is this is the right way to do .

<Control Type="DateTimeControl" FiledName="System.CreatedDate" Label="Create Date" LabelPosition="Left" />

Thanks in Advance

Pramod



Visual Studio Team System37  
 
 
Mohammad Iqubal - MSFT





PostPosted: Team Foundation Server - Work Item Tracking, How to Display the Current Date and time Work Item Top

Please try the following:-

<Control Type="FieldControl" FiledName="System.CreatedDate" Label="Create Date" LabelPosition="Left" />

-Mohammad


 
 
Pramod_SN





PostPosted: Team Foundation Server - Work Item Tracking, How to Display the Current Date and time Work Item Top

Hi Mohammad,
I tried the above solution. When I create the WI using Visual Studio Team IDE , still "Create Date" field is empty.
But when I view the same WI using WorkItem track web interface, it displays the information.
I am not sure why it is displaying blank in Visual studio Team IDE.
Thanks
Pramod

 
 
Pramod_SN





PostPosted: Team Foundation Server - Work Item Tracking, How to Display the Current Date and time Work Item Top

Hi Mohammad,

Sorry for the previous reply. It is working fine.

Thank you very much.
Pramod