cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

How can i add the affected object table of the ECR or ECN on the task page. Need to do this without configuration available in 10.2 as the taskform template is .jsp and already has some customization.

dsolat
1-Newbie

How can i add the affected object table of the ECR or ECN on the task page. Need to do this without configuration available in 10.2 as the taskform template is .jsp and already has some customization.

@

3 REPLIES 3
BhushanNehe
14-Alexandrite
(To:dsolat)

HiDhanashri Solat‌,

If you want to do this entirely via customization you can add your own action and render the required tables. If you are using TaskFormTemplate the actionmodel is defined in NetMarkets-actionModels.xml file as shown below

<model name="taskFormTemplateDetails" resourceBundle="wt.workflow.worklist.worklistResource">

     <action name="taskFormTemplate" type="workitem"/>

</model>

You can add a custom action and build a table. To fetch the data you can navigate from workitem > wfprocess > CR > Affected Objects.

Regards,

Bhushan

asingh
1-Newbie
(To:dsolat)

Hi Dhanashri,

As I understood you already have a custom Task Template. You can actually create a custom taglib, the taglib class should call a Jsp page having MVC call to custom affected item table builder and this custom tag can be included in the Task template for ECN. This will display the affected table on all the task using the custom Task template.

Please let me know incase you need help with respect to the code,

Thanks,

Aditya

dsolat
1-Newbie
(To:asingh)

I followed the same steps- created a jsp having mvc call to a custom table builder containing the affected objects. And gave a call to this JSP in my taskform template and it worked. Thanks Aditya and Bhushan.

Top Tags