There are two user tags defined in TMWorkItemTemplate.html. These tags define where the user should add their JavaScript and HTML code to the viewer. The user tags are:
USER_WORKITEMVIEWER_SCRIPT
This tag contains the user’s JavaScript area. If the user requires any JavaScript in the work item viewer, it should be added here. This tag comes with several predefined JavaScript functions that you may use as needed. Use the validateForm() function if you want to add any validation to the viewer before submitting it. Use the kpress() function if you want to handle any key press events.
USER_WORKITEM_AREA
This is the user’s data area.
Note: TaskManager does not support frames, inline frames, or additional forms in this area. All HTML in the area must be well-formed HTML.