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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

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
7-Bedrock

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

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
12-Amethyst
(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
7-Bedrock
(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.

Announcements

Top Tags