Skip to main content
Feb 3, 2017 9:32 AM UTC
Question

How to add attribute Number in Project Title

Hello,

Can anyone help on how to add the default project attribute "Number" in the Title of the Project that by default shows only the Object type and the Name?

See the picture below:

Capture.PNG

Thank you in advance.

Regards

John

4 replies

Feb 6, 2017 11:12 AM UTC

Take a look at  http://www.ptc.com/cs/help/windchill_hc/wc102_hc/index.jspx?id=WCCG_UICust_InfoPages_InfoPages&action=show

Chapter Item Identifications Customization

Basicaly, you need to create a class to extend wt.identity.DisplayIdentification

and register this new delegate, with a line like

<Option cardinality="duplicate" order="1" requestor="wt.projmgmt.admin.Project2" serviceClass="ext.custom.MyCustomDelegate"/>

take a look at codebase/service.properties.xconf to get the full syntax to use in site.xconf.

By default, the project object implements the DisplayIdentification interface. But you can easily use your own implementation.

Sélection_169.png

Feb 6, 2017 11:30 AM UTC

Thank you for your reply.

I will check it out and reply here.

I assume that in this way only the Projects and programs will be affected. Correct?

Feb 6, 2017 2:06 PM UTC

Yes, Program is a subtype of Project, so it's affected too.