How to create Custom Table in Custom Tab with MVC. Need really help :-)
- July 23, 2015
- 4 replies
- 12453 views
Hi Guys,
I have a question to a topic which is currently really annoying me. I tried to create a custom table with MVC at first like described in this PTC Article:
https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS113931
(I also tried the Customization Guide Windchill 10.1 M50 from page 590 to 627 and page 264 to 291. But I didn't bring a step forward.)
It sounds very simple to me, so I tried to realize it in my testing instance. Just to see how a new table integration works in Windchill. I have done that before only in Windchill 9.1 with JSP code. Point 4 and 5 are not so clear to me so I have done it like shown in the screenshots. For point 4 see screenshot3_custom-actions.xml. For point 5 I tried two options, first with the custom-actionmodel.xml and second with the PartClient-actionsmodels.xml directly (see screenshot4 and screenshot5)I. But both options don't give me a table in die relations tab in Parts. In screenshot 6 you can see the registering of the custombuilder in the /mvc/custom.xml file. All steps did not bring me success. My code can be seen in screenshot2.
My goal at the end is to create a tab manually in die system via the GUI and use the customize button to add my custom table (see screenshot1). My custom table should show WTChangeActivity2 objects which are linked to a document which I would like to realize with the method ChangeHelper2.service.getAffectingChangeActivities.
Thank you for all your help in advance. Small hints are also welcome as a detailed description 😉
Best Regards,
Daniel

