Right now we have menu items under Activities menu to update status, comment and transfer. When someone wants to move an incident to someone with a note and different status, then it needs two menu actions. 1. update status, 2. transfer.
We want to create a menu item with the activities combining all three. So that with one click we could change the status, assign to another group and add a comment.
I tried creating a new menu item and a new htmpl page. But that redirects to edit incident page not to the one which I have created.
<PDM_OBJECT>
if ( factory == "cr" )
{
htmpl_str += "detail_update_incident_wb.htmpl";
}
<PDM_MACRO name=menuItemLocal label="Update_Incident..." function="JavaScript: popupActivityWithURL('\" + query_str1 + \"ST\" + htmpl_str +\"','incident')">
</PDM_OBJECT>
Where can I find more details about the PDM_MACRO attributes and how to customize them?
Hi,
You may try updating the existing HTMPL files for Update Status and Transfer (whichever preferred). Add the fields using the WSP and see if that serves the purpose. Additionally, you may make a copy of the "xfer_esc_cr.htmpl" file and modify it to add the "Status" field(s) (one read-only and one read-write). Then rename the file and create a menu option similar to the Transfer menu option.
See attached images.
Thanks,
Indrajit Banerjee.