Skip to main content
1-Visitor
November 11, 2015
Question

Released date in folder table

  • November 11, 2015
  • 4 replies
  • 2630 views

Hi all,

     Does anyone know of a way to add to a column to a folder table showing the date an object reached a certain lifecycle state. For example I would like to be able to see the date my object reached the "Released" state in the cabinets folder table. Any help would be greatly appreciated.

Thanks,

Brian

4 replies

1-Visitor
November 11, 2015

Hi!

1) Your objects should have an attribute like "Released date".

2) You should override the config builder for this table: ComponentConfigBuilder: com.ptc.windchill.enterprise.folder.mvc.builders.FolderTableBuilder.

In FolderTableBuilder.class add the column with such name like an attribute you need.

Look this for understanding how to work with the MVC components: http://support.ptc.com/WCMS/files/154113/en/10_1_M040_WindchillCustomizationGuide.pdf

bwilson-21-VisitorAuthor
1-Visitor
November 11, 2015

Having the "Released Date" attribute is really the issue. We have "Created On" and "Last Modified" OOTB. What i need is the date the state changed from "Design" to "Released". The information can be found in the items version history.

1-Visitor
November 11, 2015

So you can try to add your own column to the table and add dataUtility to this column. In the dataUlility class you can calculate the value and show it.