Customize Document View
- Last UpdatedJun 10, 2024
- 1 minute read
To enable or disable Take Ownership option from the Work Item detail view
-
To disable Take Ownership drop-down while viewing an item from the work item detail view, navigate to the path [AVEVA Work Tasks Installed Path]\AVEVA\Work Tasks\web\BPMUITemplates\Default\WorkItemList\UserControls\ActivityUIDropDownControl.ascx.
-
Search for asp:dropdownlist where ID="SelectCommonActionType" and then change Visible attribute to false in the drop-down and also you can hide the Go button visibility.
<asp:DropDownList runat=server CssClass="select" ID="SelectCommonActionType" Visible="false">
</asp:DropDownList>
<input type="submit" Class="button2" name="ButtonGo" value=" <%=strbtnGo%> " onclick="return Go_Submit()" style="visibility:hidden;"/>
To change the background color of the Comments section
-
To change the background color of any activity, navigate to the path [AVEVA Work Tasks Installed Path]\AVEVA\Work Tasks\WorkflowElements\Default\en-US\Activities\Activity\.
For example, Approval activity, select the ApprovalUI.htm file from the below path
[AVEVA Work Tasks Installed Path]\AVEVA\Work Tasks\WorkflowElements\Default\en-US\Activities\Activity\ApprovalUI.htm -
Change the bgcolor attribute of the TD tag to change the Comments section to the specified color.
<TD bgcolor="#ececec" VALIGN="TOP"> // Change bgcolor="Red"
To change the Custom Default View
To change the custom default view, navigate to the CustomDocViewDefault.html page.
[AVEVA Work Tasks Installed Path]\AVEVA\Work Tasks\WorkflowElements\Default\en-US\Activities\Activity\CustomDocViewDefault.html and make change based on the requirements.